I killed [NULL]

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
User avatar
Galactic_Marine
Command Sergeant Major
Command Sergeant Major
Posts: 297
Joined: Sat Oct 14, 2006 8:47 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

I killed [NULL]

Post 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...
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post 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.
MasterSkywalker
Major
Major
Posts: 501
Joined: Mon Apr 17, 2006 1:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

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