• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

TD help

Status
Not open for further replies.
Level 2
Joined
Jul 21, 2005
Messages
19
hi, ive just started working on a td and figuring out how to do the unit spawns and movement but i dont understand how to make towers and have a unit able to build them, also, i have the set amount of lives to 30, but i can make it so u can loose lives, any help would be nice, thanks
 
Level 18
Joined
Jan 24, 2006
Messages
1,938
Walk before you run, my friend. If you are learning to trigger but do not know how to do one of the most basic things in the WE, namely making units build other units, then I suggest you stop with the triggers and read a begginer's tutorial on the Object Editor.

In any case, to make one unit build another all you have to do is open the object editor, select your builder unit and scroll down to the field called "Techtree - Structures Built", double-click on it and simply add/remove the units/buildings you want to build, but note their command buttons have to be in the right place.

For help with command button placement here's a snippet from my upcoming Object Editor guide:

Code:
(Integer Value) Art – Button Position (X): Sets which column in the lower-right command button area the unit’s button is in, ranges from 0-3 (left to right) (Also see: [url=http://www.forums.hiveworkshop.com/showthread.php?t=6260]Hero Skill Grid Tutorial[/url].)
(Integer Value) Art – Button Position (Y): Sets which row in the lower-right command button area the unit’s button is in, ranges from 0-2 (top to bottom) (Also see: [url=http://www.forums.hiveworkshop.com/showthread.php?t=6260]Hero Skill Grid Tutorial[/url].)
 
Level 24
Joined
Jun 14, 2005
Messages
2,506
Shados said:
Lol, good idea. How about you write a detailed GUI trigger guide listing what each and every GUI function does + general help?

ohh can I do that. Something else thats completly pointless to take up all of my time:)

Ok well that is actualy a pretty good idea I supose, probably will actualy make something like that, and maybe I could also do the WEU Advanced Triggers as well.
 
Level 5
Joined
Mar 11, 2006
Messages
195
Bob, our clan already has started working on it some time ago, you can help us if you wish, or completely start it on your own.
anyways take a look here:
Triggers
Other stuff
Our database of advanced tutorials

Please take a look and maybe its an idea to share this project with the hive. Any suggestions are welcome and you can add parts if you wish.
Note: Ignore the shoutbox its still under construction (or just spam in there thats why it is there).
 
Last edited:
Level 2
Joined
Jul 21, 2005
Messages
19
ok, thanks, i will work on it when i get home, i'm at work right now, it seams pretty simple, but for the triggers i was using a turorial by...someone....cant find name now, but if i do i will put it in so you know where i am getting my basic info from
 
Level 2
Joined
Jul 21, 2005
Messages
19
and what about the loosing lives part, if it helps you any, i got my basic info from a tutorial called Basics of a TD by ragingspeedhorn
 
Last edited:
Level 18
Joined
Jan 24, 2006
Messages
1,938
That doesn't tell us much, please in future post the entire trigger, to do this just right-click on your trigger and select "Copy as Text" and post it using the trigger tags (as in, [triggerD]your copied trigger[/triggerD], without the D's, of course).
 
Level 2
Joined
Jul 21, 2005
Messages
19
Ok, this is what i got......


Untitled Trigger 002
Events
Unit - A unit enters Region 001 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Remove (Triggering unit) from the game
Set Lives = (Lives - 1.00)
Game - Display to (All players) the text: Life Lost
 
Level 2
Joined
Jul 21, 2005
Messages
19
ok, well, it sill doest work when i change that, is there a way i can put the file here so one of u can take a look at it for me, other than the life thing i'm ok, but my spawn trigger isnt working right, it keeps spawing the second wave over and over again, i know why but dont know how to make it right, if one of you look at it, thatd be cool, but other-wise, thanks for your help so-far
 
Level 2
Joined
Jul 21, 2005
Messages
19
ok, i put it in, allthough i cant find it..i tried to put it in again but it said it all ready exists so it is here somewhere, i just guessed it needed to be approved or checked for viruses or something, but if u cant find it just tell me, it is the only map i have on the site
 
Level 2
Joined
Jul 21, 2005
Messages
19
ok, well since no one is helping, i have a new question, i figured out a spawning that works,not what i want, but o-well, ok, new question, it is prob easy but i cant figure it out, i need to know how to size down a tower, i know it is in the art section of the object editor but can figure it out, i want the ancient protector the size of guard tower,
 
Status
Not open for further replies.
Top