Hi,
I've searched for the answer to my question, but I didn't find it ; so if there already was a topic about this I missed, please let me know
I've created a map :
http://www.gametoast.com/index.php?name ... pic&t=4956
and I'd like to change the heroes ?
I opened the file "my map's 3 letters"g_con.lua with notepad
I've replaced SetHeroClass(ALL, "all_hero_hansolo_tat") with SetHeroClass(ALL, "all_hero_luke_pilot")
and then when I run the map, I can't get any heroes with the alliance ?
what should I do to make it work ?
thanks
John
change heroes on a ground map
Moderator: Moderators
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: change heroes on a ground map
You need to also change it in the ReadDataFile("SIDE\\ALL.lvl section. The ReadDataFile tells the game to load him into memory, the SetHeroClass makes him playable.