Can someone help me to code this, please?
Darth_rexor;4881143Can someone help me to code this, please?
Hmm... Well, I hat explaining these things, but I'll give you a good example of something similar:
Download this mini-mod and look at the coding for the Republic Commandos (Delta Squad). Boss is the "hero" whilst the other three are the "generic heroes". Hope that helps! :)
Well you need to learn how to use one of the string editors like dateditor to change the names after that it should be pretty easy. Really you can pretty much do this all through variants so you don't have to code all that much.
So all you need to do is add in the proper string to mastertextfile_english.dat with dateditor and presto AT-AT walker named Blizzard 2.
Then repeat for Blizzard 3 thru 6.
After that I guess you could just add in the individual units into Veers' company under . Should be General_Veers_Team in Herocompanies.xml. Either that or you could have Veers spawn them, but that would probably look a little weird. There's other ways of doing this, but this is probably one of the quicker ones.
I Did it!! This is what i did: 1-In GENERICHEROUNITS.XML i added: YesAT_AT_WalkerTEXT_UNIT_BLIZZARD_2YesAT_AT_WalkerTEXT_UNIT_BLIZZARD_3YesAT_AT_WalkerTEXT_UNIT_BLIZZARD_4YesAT_AT_WalkerTEXT_UNIT_BLIZZARD_5 2-And then in Herocompanies.XML i added: General_Veers, Blizzard_2, Blizzard_3, Blizzard_4, Blizzard_5 And it works fine! I post this just in case some one wants to use this idea