Legion TD style trigger help

xxartanisxx

New Member
Reaction score
2
im remaking Legion TD for sc2 and i have absolutely no idea where to begin with that main trigger. For those of you who dont know what legion td is it starts as a regular td and every round your buildings come to life as units and fight then return after the round. Thanks :D.
 

Severon

New Member
Reaction score
7
When you say the main trigger I assume you are refering to making the building units and then making the units uncommandable. As for that its alot harder than what it looks, I've been working on a map that copies the idea of Legion TD, but has different terrain and making my own custom races, and I still haven't been able to perfect it, but I haven't give the units over to a computer player as in hopes I could just make the units uncommandable, but to answer your question its going to be a series of triggers(Some of these could be taken care of others, but these are just ideas to think on).
  1. Spawning the wave and making the towers into units
  2. Storing the dying units owned by player to be restored later
  3. detect when waves are over and restore units to building and replace dead units at location the unit's building was built
  4. turn off bounty when units reach middle
In my map it didn't like the indexing for some reason so I tried switching to adding behaviors to make units uncontrollable, but I'm having some problems with that as well, but if I figure it out I'll post you the triggers to look at.

You will also need some others like when an upgrade for the main person is researched give the upgrade to that player, detect level of upgrade, and refund/remove upgrade is upgrade is max level

Then there is cosmetic triggers and things like fog of war or no fog of war, maybe an intro, and if you want to get advance a tech tree for each team with detailed unit cards.

I am also planning on putting a rematch system in my map so if all the players want to they don't have to rehost it.

Anyway I'm getting long winded, I hope I gave you some general idea on where to start and if you need any help just let me/this forum know they are generally pretty good about helping on things they know about.
 

Arkless

New Member
Reaction score
31
  1. Spawning the wave and making the towers into units
    just save the units that have to be created (for each specific towertype) in the data table, using the stringname (with gamelink to string) of the tower as index
    now, when the wave starts, create 1 unit for every tower using the "unit type from string", load the string from the data table with the index value "gamelink to string" and "unittype of unit" as the gamelink
  2. Storing the dying units owned by player to be restored later
    hide the towers when the wave starts, thats enough
  3. detect when waves are over and restore units to building and replace dead units at location the unit's building was built
    use an integer counter that counts down for every creepkill
    unhide all the towers (you should save them in a unitgroup)
  4. turn off bounty when units reach middle
    you can do this in the data editor, just add a behavior when they enter a certain region (where they should stop giving bounty)
    your bounty behavior should have a validator wich checks for that specific buff

I hope that helps :)
 

Severon

New Member
Reaction score
7
I hope that helps :)

I think I just had a V8 moment....How did I forget about data tables:banghead: lol now I feel dumb, I definately made this a little harder than it needed to be when doing my triggers, though I did almost have them fully working if that counts -.-..
 

Severon

New Member
Reaction score
7
You'll need to disable the buildings weapon(if you give it one) when you hide it or they will still attack. Kinda funny to have molotovs come from nowhereXD
 

xxartanisxx

New Member
Reaction score
2
Haha lol thanks guys ill try playing with that. My next question is how do i make units faster lol... It seems to take forever to make a unit compared to the w3 editor haha.
 

Arkless

New Member
Reaction score
31
Create one unit with everything you want it to have.
Then duplicate it and just change the values needed for the new unit (doesn't take longer then creating units in wc3, except if you create a new attacktype [for those you already got, you can duplicate those as well and just change the values])
 

Gilbadon

New Member
Reaction score
1
I registered this account just so I can give you a thumbs up. Legion TD was the best warcraft 3 game and I would make it for sc2 myself if I wasn't bad at triggers and stuff. Thank you for your duty to the community!
 

Arkless

New Member
Reaction score
31
I registered this account just so I can give you a thumbs up. Legion TD was the best warcraft 3 game and I would make it for sc2 myself if I wasn't bad at triggers and stuff. Thank you for your duty to the community!

thx :p
 

xxartanisxx

New Member
Reaction score
2
I like having all the stats for a unit in one list lol. I dont wanna be changing all these weapon values then giving these units those weapons and booooo! lol. Anyways Severon how far along are you i may just let you make it or i can always help you make as well. No need for 2 people to make 1 game :/.

Edit: That is funny he made an account to say thanks :D.
 

Severon

New Member
Reaction score
7
I'm not extremely far far along and I'm not making an exact Legion TD map, but I am using the idea of the game, my terrain is a little different, though I might change it to the original if I think it affects the balance any. Also I six playable teams in development, (2 terrain,2 zerg,2protoss) atm, might add more later. As far as complete I have maybe 8 levels done and have of one of the playable teams done. If you want to help I would be interested, but so far this map is just something i've been working on my free time to enjoy myself. I have things planned out, but the prodcution of it slows if a friend hops in vent and wants to playXD
 

xxartanisxx

New Member
Reaction score
2
You seem to be much farther than me ahah i basically just got the original terrain almost finished and started on my first race but dont have anything started as far as triggers. So if you would like help I would love to as im not very intense on making it right now either and have no idea how long it would take me to finish haha. Send me a PM of an easier way to contact you if you'd like.
 

Steel

Software Engineer
Reaction score
109
Just two quick things:
  1. Do you have Lisk's consent?
  2. Lisk is working on Legion TD for StarCraft II
 

xxartanisxx

New Member
Reaction score
2
nope never heard of him.

Edit:err was he the original maker on w3?. If so i used to co-lead a clan for LTD and had access to all the versions before they came out haha.

I didnt know he was remaking it if so ill leave it to him.
 

Severon

New Member
Reaction score
7
Just two quick things:
  1. Do you have Lisk's consent?
  2. Lisk is working on Legion TD for StarCraft II


1) No I don't have his consent, but I'm not remaking Legion TD only using the concept(none of the original unit stats or terrain), and I started the project as a way to learn the editor, not to be the next big map, so I'll probably continue to work on it till it is finished giving credit of the concept to Lisk and giving out information on where to find the SC2 Version of it, but if he contacts me and really doesn't want me to publish the map then I would keep from doing so.

2) Great hope it is as enjoyable as it was in WC3.



You seem to be much farther than me ahah i basically just got the original terrain almost finished and started on my first race but dont have anything started as far as triggers. So if you would like help I would love to as im not very intense on making it right now either and have no idea how long it would take me to finish haha. Send me a PM of an easier way to contact you if you'd like.


If your still interested in helping me I would have to organize some of my ideas and get them into a legible state, but I can make a conposition of the teams I have in mind and you can start work on them if you wish.

As I said before, I'm not out there to directly compete with Lisk, but just to learn the editor and have fun
 

Arkless

New Member
Reaction score
31
but if he contacts me and really doesn't want me to publish the map then I would keep from doing so.

Nah, it's fine, as long as you create the map yourself and don't compy his. Or would you say that every td should be removed because it's only a copied idea? And every aos style map? If your map gets popular he can be proud that his concept created a new maptype (as it does not exactly fit in any I know).
 

Steel

Software Engineer
Reaction score
109
Replication is a form of flattery. I'm sure Lisk will not have any objections to what you're doing, I just find it would be considerate and polite if you speak with him. You can come by TDG's forums and talk with him whenever. Maybe you two can talk with one another about concepts and future ideas for maps.
 

Severon

New Member
Reaction score
7
Replication is a form of flattery. I'm sure Lisk will not have any objections to what you're doing, I just find it would be considerate and polite if you speak with him. You can come by TDG's forums and talk with him whenever. Maybe you two can talk with one another about concepts and future ideas for maps.

Ahh okay, I ofc agree with you, but I didn't know where to find him so. Thanks
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top