• 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.

Rage's TD Under Development

Status
Not open for further replies.
Level 2
Joined
May 20, 2005
Messages
12
Hi, I've been working on this map for bout a week now. I have very low knowledge of the trigger stuff and I guess I still managed to get some to work. I really need help on understanding how the unit system works (the one with the action set and thing with all the variables. I just don't quite get how it all works. Anyone have any tutorials or could explane to me how all this works.
 
Level 2
Joined
May 20, 2005
Messages
12
All i want is to learn that unit system. all the other stuff i can handle it. I can put your name on the map loading screen as helper if you do help me!
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
Hmm. When I started I didn't know anything about the unit system. I used the unit system from wintermaul. WH40k TD is made of wintermaul :). but I kinda personalized it a bit. I'd recommend you starting with wintermaul and see how it's made and then maybe make your own when you're beginning to understand it.
I could also copy the triggers from my TD to a blank map and let you see them.
 
Level 2
Joined
May 20, 2005
Messages
12
I've already looked at an other map with the unit system (Night elf ARK TD)

and i dont understand it at all... i think wintermaul was made from that unit system right?

I've got some Variables (never understood em) On NE ARK TD i see the unit system i think i can get it to work too actualy, the other problem is that i cant spawn em eh! the spawn trigger on NE ark TD is just not there! i've looked at some basic TD's too (like blizzardTD) and they are just WAY to long to code. thats why i want to learn how to proprely use the unit system!
 
Level 2
Joined
May 20, 2005
Messages
12
Sure

Code:
-------- Coded by Arkguil. (2002) --------
Set Monsters[i] = Corrupt Wisp (Level 1)
Set Monster_Amount[i] = 25
Set Orders[i] = move
Set i = (i + 1)
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
OK.
i is a variable, integer which is the levelnumber
Monsters is a variable, unit-type variable which is the unit-type of the different levels, it is also array which means that you can have many of the same variables,
example:
Code:
Set Monsters[1] = blah blah
Set Monsters[2] = lgraegae
Set Monsters[3] = nbbvcnbnbbv
Set Monsters[4] = utr657er

Monster_Amount is a variable, integer which tells you something about the amount of monsters. This is also array.

Orders is defining an order, an order could be attack, an ability or in this case move. This is also array.

so Monsters[levelnumber] = Corrupt Wisp (level 1)

Monster_Amount[levelnumber] = 25

I don't really understand that he can have more than one order. Maybe the monsters attack in some of the levels I dont know.
Orders[levelnumber] = move

Now it's time for setting the next level:
i = i + 1 means that if we say that i is 40 then it sets 40 to 40+1 = 41 so it changes the levelnumber and by that, it changes all the other variables if you understand.

OK hope that was helpful :)
 
Level 21
Joined
Jan 5, 2005
Messages
3,515
if you dont understand variable of triggers at a basic level then i could help! after i lost my last project somewhere (still looking it was 98% finished) i need something new to get into, so if u wanna make the unit and spells and art and sound i will do the triggers, because doing the entire thing over the forums isnt easy....
 
Level 2
Joined
May 20, 2005
Messages
12
Does any of you have aim or msn so we talk about this further and more directly.

i know this question might sound newby but could you give me an example of a spawn trigger for that unit system. Thanks
 
Status
Not open for further replies.
Top