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.
 
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.
 
  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 :)
 
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 -.-..
 
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
 
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.
 
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])
 
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!
 
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
 
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.
 
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
 
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.
 
Just two quick things:
  1. Do you have Lisk's consent?
  2. Lisk is working on Legion TD for StarCraft II
 
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.
 
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
 
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).
 
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.
 
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 The Helper:
    It is weird seeing a way more realistic users online number
  • The Helper The Helper:
    Happy Tuesday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top