Stop the locals names being [NULL]
Moderator: Moderators
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Stop the locals names being [NULL]
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.
Last edited by DarthHamster on Mon Nov 23, 2009 3:17 pm, edited 3 times in total.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Stop the locals names being NULL
What is the locals' team name in your LUA?
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being NULL
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)
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)
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Stop the locals names being NULL
Read near the bottom of the first post in this FAQ topic:
http://www.gametoast.com/forums/viewtop ... =27&t=6088
http://www.gametoast.com/forums/viewtop ... =27&t=6088
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being NULL
When It tells you to select your three letter map in the editlocalize.bat my level is not there.
?
?
-
Darth_Spiderpig
- Sith Master

- Posts: 2631
- Joined: Fri Mar 27, 2009 10:23 am
- Projects :: Something cool...
- xbox live or psn: Has no xbox....Yup
- Location: Does whatever a Spiderpig does
- Contact:
Re: Stop the locals names being NULL
[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.
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.
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being NULL
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.
-
Darth_Spiderpig
- Sith Master

- Posts: 2631
- Joined: Fri Mar 27, 2009 10:23 am
- Projects :: Something cool...
- xbox live or psn: Has no xbox....Yup
- Location: Does whatever a Spiderpig does
- Contact:
Re: Stop the locals names being NULL
That was for me too.
But only on my new map...
On Korriban it worked
But only on my new map...
On Korriban it worked
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being NULL
Thats odd. Maybe I should delete it out of the addon folder and munge it back in.
-
Darth_Spiderpig
- Sith Master

- Posts: 2631
- Joined: Fri Mar 27, 2009 10:23 am
- Projects :: Something cool...
- xbox live or psn: Has no xbox....Yup
- Location: Does whatever a Spiderpig does
- Contact:
Re: Stop the locals names being [NULL]
Don't know about that.
I won't do it, because I don't know if it will be munged in correctly.
I won't do it, because I don't know if it will be munged in correctly.
Hidden/Spoiler:
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being [NULL]
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.
EDIT
Didn't work.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Stop the locals names being NULL
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.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.
It should be like this:
levelto 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
- LTT (Scope)
- Jawas (Key)
- DarthHamster
- Rebel Warrant Officer

- Posts: 300
- Joined: Wed Nov 18, 2009 9:09 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Orlando, Florida
- Contact:
Re: Stop the locals names being [NULL]
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=
EDIT
Didn't work. Still says [NULL]. When I munged the world after making the changes this came up.
Hidden/Spoiler:
EDIT2
Anyone know why the localizing isn't changing [NULL]???
The munge output=
Hidden/Spoiler:
