Page 1 of 1
Stop the locals names being [NULL]
Posted: Sun Nov 22, 2009 11:42 pm
by DarthHamster
I have just added locals in my map. I did everything I'm supposed to in the scripts and zeroeditor. But when I killed a gammorean in my map the message came up DarthHamster killed [NULL]. How do I make that [NULL] become Gammorean or Geonosien or Wampu etc.
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 12:45 am
by AQT
What is the locals' team name in your LUA?
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 1:30 am
by DarthHamster
SetTeamName (3, "Gammorrean")
AddUnitClass (3, "gam_inf_gamorreanguard", 40,75)
SetUnitCount (40, 75)
AddAIGoal(3, "Deathmatch", 100)
SetTeamAsEnemy(ATT,3)
SetTeamAsEnemy(3,ATT)
SetTeamAsEnemy(DEF,3)
SetTeamAsEnemy(3,DEF)
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 11:17 am
by AceMastermind
Read near the bottom of the first post in this FAQ topic:
http://www.gametoast.com/forums/viewtop ... =27&t=6088
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 11:39 am
by DarthHamster
When It tells you to select your three letter map in the editlocalize.bat my level is not there.
?
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 11:47 am
by Darth_Spiderpig
[quote=""The How to add local sides!"Tutorial"]...blahblahblah killed [NULL],
to fix this, go into your MOD_ID folder and run "editlocalize.bat"
once its started,
right click on level and select Add key, name the key the three letter name of your map, mine is LTT
so now you will have something like this
level -> LTT,
...
[/quote]
You have to add it.

Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 11:58 am
by DarthHamster
Thanks I misunderstood that. But now I got another problem. It says "now you need to right click on (map) and select Add Scope". When I do that the only options I get are delete key and rename key.
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 12:02 pm
by Darth_Spiderpig
That was for me too.
But only on my new map...
On Korriban it worked

Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 12:05 pm
by DarthHamster
Thats odd. Maybe I should delete it out of the addon folder and munge it back in.
Re: Stop the locals names being [NULL]
Posted: Mon Nov 23, 2009 12:08 pm
by Darth_Spiderpig
Don't know about that.
I won't do it, because I don't know if it will be munged in correctly.
Re: Stop the locals names being [NULL]
Posted: Mon Nov 23, 2009 1:07 pm
by DarthHamster
Well, its not a map I plan on releasing its just practice. So I got nothing to lose. I will see if it works.
EDIT
Didn't work.
Re: Stop the locals names being NULL
Posted: Mon Nov 23, 2009 1:11 pm
by AceMastermind
DarthHamster wrote:...But now I got another problem. It says "now you need to right click on (map) and select Add Scope". When I do that the only options I get are delete key and rename key.
Looks like a typo in the tutorial, the last child in the branch should be a key and everything before it should be a scope.
It should be like this:
to fix this, go into your MOD_ID folder and run "editlocalize.bat"
once its started, right click on level and select Add Scope, name the Scope the three letter name of your map, mine is LTT (Local team Tutorial)
so now you will have something like this
level -> LTT,
now you need to right click on LTT and select Add Key, once you've done that rename it to the name that we set out local team in the .lua, remember, ours was Jawas, so set it to Jawas, it now should look something like this
level -> LTT -> Jawas
level
Re: Stop the locals names being [NULL]
Posted: Wed Dec 02, 2009 10:07 pm
by DarthHamster
I'll try it.
EDIT
Didn't work. Still says [NULL]. When I munged the world after making the changes this came up.
EDIT2
Anyone know why the localizing isn't changing [NULL]???
The munge output=