[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > WarCraft III Tutorials > General Mapping Tutorials


General Mapping Tutorials This board contains tutorials that provide generic mapping information.
Read the Rules before posting.

Reply
 
Thread Tools
Old 03-02-2006, 03:53 PM   #1 (permalink)
Registered User ragingspeedhorn
Unpopular by popular vote
 
ragingspeedhorn's Avatar
 
Join Date: Apr 2005
Posts: 6,536
ragingspeedhorn is a splendid one to behold (949)ragingspeedhorn is a splendid one to behold (949)ragingspeedhorn is a splendid one to behold (949)ragingspeedhorn is a splendid one to behold (949)
PayPal Donor: This user has donated to The Hive. Former Staff Member: This user used to be on the Hive Workshop staff. Paired Mapping Contest #4 - Winner: Fallen Angel - Lucifer's Keep Paired Mapping Contest #3 - Winner: Warcraft Arena Paired Mapping Contest #2 - Winner: Hell Scream's Party Cinematic Mini-Contest #1 - Winner: The Escape & The Premonition Mini-Game Contest #1 - Winner: Pirate Tag! 
Basics of a Tower Defense

Note: This tutorial will explain you the very basics of making a TD. This is in no way geared towards experienced modders but is made for the beginners within Warcraft III modding.


What is a TD?

TD stands for Tower Defense and is a genre of maps developed for the Warcraft III engine. In a TD your goal is to build towers to prevent creeps of reaching a certain destination.


So.. How do I create one?

A good way of starting on a TD is to firstly make the terrain you find fitting for your map and then determine the lanes and setting up the pathing system (the creeps movement).


Uhh right, so how do I do that?

To get the creeps to move from 1 place to another you will need to make regions at the desired locations and then trigger the movement like this (the Trigger Editor is located inbetween the Terrain Editor and the Sound Editor):


Movement Region 1
Events
Unit - A unit enters Spawn Region
Conditions
None
Actions
Unit - Order (Entering unit) to Move To (Center of Region1)

Movement Region 2
Events
Unit - A unit enters Region1
Conditions
None
Actions
Unit - Order (Entering unit) to Move To (Center of Region2)

Movement Region 3
Events
Unit - A unit enters Region2
Conditions
None
Actions
Unit - Order (Entering unit) to Move To (Center of Region3)

Movement Region 4
Events
Unit - A unit enters Region3
Conditions
None
Actions
Unit - Order (Entering unit) to Move To (Center of Region4)

Movement Region 5
Events
Unit - A unit enters Region4
Conditions
None
Actions
Unit - Order (Entering unit) to Move To (Center of End Region)

pathing3gp.jpg


Ok done, now what?

Next is the actual trigger that spawns the "waves" as the levels of units is often called. It can be done like this:


Wave 1
Events
Time - Elapsed game time is 30.00 seconds
Conditions
None
Actions
Unit - Create 40 Footman for Player 12 (Brown) at (Center of Spawn Region) facing 0.00 degrees)



Right, so the regions and spawning is made, now what's next?

Next on the list should be finding out what to make of builders, towers and making the creeps, this is done within the Object Editor which is located inbetwen the Sound Editor and the Campaign Editor. You can also make triggered abilities for the towers but if you need help from this tutorial I suggest you wait with that untill a later time.


Right-o, I have made some towers, a builder and all the creeps, now what?

Adding the "lives" function is something that almost every td has, atleast it is only a few which doesent, so that is also included in here. Now I will show how you create the basic Leaderboard and putting in the lives function. Before you make the actual Leaderboard you have to make a variable like this one shown below to set the lives initial value.


lives8vi.jpg

Now when that is done you can move on to creating the Leaderboard and setting up everything that has to with lives and updating the Leaderboard.


Setup Leaderboard
Events
Time - Elapsed game time is 0.10 seconds
Conditions
None
Actions
Leaderboard - Create a leaderboard for (All players) titled Lives
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Lives and value Lives
Leaderboard - Change the color of all labels for (Last created leaderboard) to (0.00%, 100.00%, 0.00%) with 0.00% transparency
Leaderboard - Show (Last created leaderboard)

Life Lost
Events
Unit - A unit enters End Region
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Set Lives = (Lives - 1)
Unit - Remove (Entering unit) from the game Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Game - Display to Lives the text: (( + ((Name of (Entering unit)) + has reached the end! )) + ((String(Lives)) + chances left))
Trigger - Run Defeat (checking conditions)

Defeat Trigger
Events
None (it is a trigger that is run by the 'Life Lost' trigger)
Conditions
Lives Less than or equal to 0
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Remove (Picked unit) from the game)
Game - Defeat Player 1 (Red) with the message: Defeat!


Leaderboard made, is there anything more?

Most td maps (atleast the decent ones) has it so you are able to sell your towers so here I will show a way it can be done.


Tower Selling
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Sell Tower
Actions
Player - Add ((Point-value of (Casting unit)) / xxx) to (Owner of (Casting unit)) Current gold
Unit - Remove (Casting unit) from the game


Ability done, what's next?

Once you have succesfully made the Tower Selling ability I think you are covered in with the basic triggers, now you only need to make so you win once last wave of units have been defeated. Good luck with your td map! :)

Last edited by Ralle; 06-05-2007 at 10:56 AM.
ragingspeedhorn is offline   Reply With Quote
Old 03-03-2006, 07:03 AM   #2 (permalink)
Webmaster Ralle
Bsc. Computer Science
 
Ralle's Avatar
Chieftain
 
Join Date: Oct 2004
Posts: 8,175
Ralle has been here far too long (3234)Ralle has been here far too long (3234)Ralle has been here far too long (3234)Ralle has been here far too long (3234)Ralle has been here far too long (3234)Ralle has been here far too long (3234)
Merit Badge - Level 1: Grand Designer: This user is contributing in the technical aspect of the Hiveworkshop, offering additional utility to its users. 
Tower Defence Tips

by Darkdraak

Invulnerable Towers
Can towers receive damage? if not make the towers invulnerable.

Screwed Up Moving
Remember that blocked units that dont have an order or a target for an attack will automatically try to return to their creation point, most problems can be avoided by changing collision size and disabling the units ability to flee.

Helpful Terrain
It's also helpful for players if you use the terrain to mark points and paths for the creaps.

Varying Towers
Its good to make a huge variaty of towers, make some aura towers, towers that can slow etc.

Make a New Terrain
Think up an innovative system or terrain, don't make another wintermaul rip-off.


BALLANCE!
When the map is working test many times to balance things out, and dont forget a tower can be to expensive at the cost of 11 and to cheap at 10, in this case make it 10 and tune down the attack.

Humor
Make some jokes in the map or "cheats" (cheats dont give advantage (never make real cheats they waste the game) but do some fun thing like, make cows fly over the map)

Play Modes
Add some different modes (advanced) it makes a game better replayable, add different difficulties (making the hardest one impossible) and some modes like rush (no interval between spawns) normal or chaos (towers tend to break down randomly) in case of different teams, make a all work together mode and a versus modus.

Ask for Help
Also important, never be afraid to ask for help, but dont ask before trying everything.

Last edited by Wolverabid; 03-31-2007 at 02:05 AM.
Ralle is offline   Reply With Quote
Old 02-25-2014, 12:26 AM   #3 (permalink)
Registered User DUTY OF RS
The Legions Defence
 
DUTY OF RS's Avatar
 
Join Date: Mar 2013
Posts: 359
DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)
*suck*

Didnt understand so much of this sort of ''basic td''
Like when the Life Lost trigger
Game display ........... How can any beginner find that sort of trigger? all those numbers...

And at the last one Sell tower

Is it a Unit, item or ability????
You need to say that like: Now create for example an item and do that and that because it is gonna be in the triggers.
__________________
DUTY OF RS is offline   Reply With Quote
Old 02-25-2014, 05:38 AM   #4 (permalink)
Registered User Adiktuz
Engr. Shana, ChE
 
Adiktuz's Avatar
 
Join Date: Oct 2008
Posts: 10,034
Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)
if you're a beginner, your first step should be to familiarize yourself with the basics of the editor... reading out these genre tutorials come after you already know the basic how-to of the editor... and possibly practice on yourself first before trying out an actual project

Quote:
Like when the Life Lost trigger
Game display ........... How can any beginner find that sort of trigger?
Uhm, all of those are on the drop down boxes for action selection...

Quote:
And at the last one Sell tower

Is it a Unit, item or ability????
Really? If you read the trigger he posted it uses Begins Casting an Ability

Seriously, do everyone a favor and familiarize yourself first with the editor...
Adiktuz is offline   Reply With Quote
Old 02-26-2014, 12:15 AM   #5 (permalink)
Registered User DUTY OF RS
The Legions Defence
 
DUTY OF RS's Avatar
 
Join Date: Mar 2013
Posts: 359
DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)
iv'e familar with the editor for years, so i know quite enought of the basics.
And the ''unit, item or ability . i saw it some minuts after, but i was about to change that when the internett just jumped out as normaly...
But still, he didnt write about what ability to choose and how to edit the ability to make it an sell ability...
Seriously, im not gonna do you a favor to familarize about the editor, when i know enough of it... And its the some trigger problems i got you probly talk about the whole editor.....
__________________
DUTY OF RS is offline   Reply With Quote
Old 02-26-2014, 12:48 AM   #6 (permalink)
Registered User Adiktuz
Engr. Shana, ChE
 
Adiktuz's Avatar
 
Join Date: Oct 2008
Posts: 10,034
Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)
You can use anything, it's just a dummy that you will use so that the trigger can run... if you know enough as you claim, you'd easily know what abilities you can actually use for it...
Adiktuz is offline   Reply With Quote
Old 02-26-2014, 01:43 AM   #7 (permalink)
Registered User DUTY OF RS
The Legions Defence
 
DUTY OF RS's Avatar
 
Join Date: Mar 2013
Posts: 359
DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)DUTY OF RS has little to show at this moment (28)
Yeah, sorry if i havent created a dummy before then...
__________________
DUTY OF RS is offline   Reply With Quote
Old 02-26-2014, 01:46 AM   #8 (permalink)
Registered User Adiktuz
Engr. Shana, ChE
 
Adiktuz's Avatar
 
Join Date: Oct 2008
Posts: 10,034
Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)Adiktuz has a brilliant future (1350)
as a general practice, Channel is the best base to use for dummy abilities
Adiktuz is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another Tower defense ... Forsoki Idea Factory 0 10-27-2007 09:52 PM
Tower Defense Help PalidinMaster3 Map Development 2 05-19-2005 07:52 AM
Need easy tower defense or castle defense caglarus Map Development 4 05-17-2005 02:45 PM
Tower Defense?!? Anonymous World Editor Help Zone 11 04-21-2005 08:49 PM
Tower Defense (2-3 pl) P1-Snake Map Development 1 06-19-2004 08:58 PM

All times are GMT. The time now is 03:05 AM.




Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle