Page 1 of 1

I killed [NULL]

Posted: Fri Dec 22, 2006 10:14 pm
by Galactic_Marine
ok, I have used the search function, but this so far hasn't helped me. I keep killing [NULL]. I have hit Localize when munging, but this hasn't helped. In addition, my map's name is ABC%s.%s . I don't see why this is happening. Whenever I looked at other people's topics, they simply talked about this issue happening when they created a new side, but this happens to me no matter what...

Posted: Sat Dec 23, 2006 12:03 am
by squipple
This is due to your side not being localized.
The first step is to run editlocalize.bat in your data_ABC folder.
For units, go under entity, and make a new scope by r-clicking entity and choosing "add scope"
Name it whatever your side is.
Then right click on that and "add key". Name it the last part of whatever your unit's odf is. So if your unit is war_inf_nelvaanian, name it "inf_nelvaanian".
Finally, click your new key and type what you want in place of [null].
Save (be patient, it takes a while to save..it hasn't crashed) and remunge with localize checked and EVERYTHING selected in your sides.

That should do it.

Posted: Sat Dec 23, 2006 4:42 am
by MasterSkywalker
Do you have this problem with Locals or with normal units. If it are just normal units, squipple's method works, but If it is for locals you also need to do this:
Penguin wrote: Now your pretty much done! save your .lua and munge! if you have done this correctly, you should now have jawas running around your map, but if you kill one of them, it will show up as

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 (Local team Tutorial)

so now you wil have something like this

level -> LTT,

now you need to right click on LTT and select Add Scope, once youve 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

select jawas and the boxes on the right side of the program will become ungreyed, under the level.MOD_ID.jawas type the name of the creatures that you have in the map, ours are jawas so i will type Jawa

now that that is down, click on the drop down menu below the box and select the next language, which shoudl be french, type jawa in the box again and then select a new language in the box, keep and doing this untill you've done every single language, ...