Page 1 of 1
Race shows up as [NULL] in team select screen! (solved)
Posted: Sun Jun 25, 2006 5:00 am
by busterkinkade
Firstly I am making a Gungan side for a map, however, as the titles say in the team select screen they show up as a side called [NULL] I have fixed the problem when the Gungans die, and they show up as Gungan when they are killed, any help greatly appreciated!
Posted: Sun Jun 25, 2006 5:34 am
by Rekubot
Can you not use the editlocalize.bat file in your data_??? folder? I'm pretty sure that's how you change the name of the side.
I've tried.
Posted: Sun Jun 25, 2006 6:07 am
by busterkinkade
I've tried all of the logical things I can think of, but I wonder if anyone knows a definate way.
Sorry for the double post
Posted: Sun Jun 25, 2006 6:28 am
by busterkinkade
Sorry for the double post but something odd has occurred, I can change the name of the CIS to trade federation but I can't change the name of the Gungans side, perhaps the game thinkss the Gungan side should still have rep as its name, hmm.. confusing.
I fixed the problem, first in the localise tool I went under common then sides and changed all of the names under the CIS to Trade Federation, I then deleted all of the contents of my rep side folder and copied the contents of my Gungan side and pasted them in my rep side folder (all in my maps directory of course) then I modified my lua so it loaded up the Gungan units which were now in my rep side, and simply did what I did with the CIS, but with the republic, and changed all the name under rep in the localise tool to Gungans.
RE: Sorry for the double post
Posted: Sun Jun 25, 2006 7:32 am
by danrosen
Wouldn't it have been much easier to add
SetTeamName(1, "Gungans")
in the Mission Lua under the team setup, where 1 is the team
Strange...
Posted: Sun Jun 25, 2006 7:48 am
by busterkinkade
What is the precise name of the .lua file where that line is?
RE: Strange...
Posted: Sun Jun 25, 2006 10:14 am
by danrosen
XXXc_con (if it is clone wars conquest)
Just stick the line with the SetHeroClass lines. I don't know if this works for all sides and any name though.