Race shows up as [NULL] in team select screen! (solved)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
busterkinkade

Race shows up as [NULL] in team select screen! (solved)

Post 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!
Last edited by busterkinkade on Sun Jun 25, 2006 7:28 am, edited 1 time in total.
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Post 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.
busterkinkade

I've tried.

Post by busterkinkade »

I've tried all of the logical things I can think of, but I wonder if anyone knows a definate way.
busterkinkade

Sorry for the double post

Post 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.
danrosen

RE: Sorry for the double post

Post 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
busterkinkade

Strange...

Post by busterkinkade »

What is the precise name of the .lua file where that line is?
danrosen

RE: Strange...

Post 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.
Post Reply