Localizing mod

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Localizing mod

Post by MasterFang1 »

Hello, I'm new to gametoast and a pretty good modder. I've been messing with the localize tool and it's pretty fun. Recently I changed the chat commands that come up when you press F5-F8 in multiplayer

common.chat.0 "Follow me!"
common.chat.1 "Defend this position!"
common.chat.2 "Fall back!"
common.chat.3 "Enemy sighted!"
common.chat.4 "Grenade!"
common.chat.5 "Pick me up!"
common.chat.6 "I need ammo!"
common.chat.7 "I need health!"

I changed all of these.

Is it possible to make it so I can use these online on any map? Not just a certain mod map.That way I could have my own personalized chat commands that everyone on my team could see? Please help me!
:runaway:
BattleBelk
Private First Class
Posts: 77
Joined: Thu Jun 28, 2007 7:08 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Russia
Contact:

Re: Localizing mod

Post by BattleBelk »

I found it long time ago :P
All custom green messages transfering to server and other pepole can see that

open file core.lvl located in Star Wars Battlefront\GameData\Data\_LVL_PC\
in hexeditor and search this text as UNICODE and try overwrite it

1 charcter in unicode contain 2 bytes
jabba have own core.lvl couse it addon

Bellow example for Freeware Hex Editor XVI32
Hidden/Spoiler:
Image

Image

Image

Image
Last edited by BattleBelk on Sun Apr 06, 2008 4:41 am, edited 5 times in total.
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Localizing mod

Post by MasterFang1 »

I still don't understand how to make it a mod that affects the whole game... :faint:
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Localizing mod

Post by PoRCH WooKIE »

MasterFang1 wrote:I still don't understand how to make it a mod that affects the whole game... :faint:
I'm not sure what you mean fang, its pretty straight forward.

Once you do what Battlebelk explained, you will have modded your whole game (the core lvl file). What you want to do (your request) has nothing to do with the mod tools. What you want to do requires hex editing. ***here is a free hex editing program***. This hex editor is easy to install and use, just make a folder and put all the files that come with the download in there; then its ready to run.

If you want to save and share your mod, just copy and send the core.lvl

hope that clears things up.
jedikiller32
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 313
Joined: Sun Apr 02, 2006 9:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Texas
Contact:

Re: Localizing mod

Post by jedikiller32 »

I'm assuming that a similar thing can be done with unit names? Replacing all instances of a name- eg. Clone trooper- would rename the clone trooper universally?
Or would something like this break online capability?
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Localizing mod

Post by PoRCH WooKIE »

The best way to find out is to try it out. All battlebelk's hex mods have worked on line, and this is the same concept, so yeah, there is no reason it shouldn't work.
jedikiller32
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 313
Joined: Sun Apr 02, 2006 9:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Texas
Contact:

Re: Localizing mod

Post by jedikiller32 »

Yay- it works!
Apparently replacing all instances of a unit's name works on this. I've made Clone Trooper Clone Recruit and Jet Trooper Sky Trooper.
Hidden/Spoiler:
Image
Online works too.
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Localizing mod

Post by PoRCH WooKIE »

Nice!! I will try this too sometime ^^. I remember BattleBelk posting something about this a long time ago, but i havent gotten around to trying it yet... that, and with a few failed projects i havent used the hex editor in a while.
PoRCH WooKIE wrote:The best way to find out is to try it out. All battlebelk's hex mods have worked on line, and this is the same concept, so yeah, there is no reason it shouldn't work.
by mods i mean, the Unit Name and F-key Command Changing thing, the Freecam mod, and the BF2 shell... dont go thinking all hex edit mods will work on line... b/c they wont :D
jedikiller32
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 313
Joined: Sun Apr 02, 2006 9:26 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Texas
Contact:

Re: Localizing mod

Post by jedikiller32 »

Online testing proves changing weapon names works too :D I was on NJO's server and this all worked perfectly fine.
Hidden/Spoiler:
Image
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Localizing mod

Post by PoRCH WooKIE »

Nice work. All shell modifications will/should work online...

But long ago there were some guys who did some pretty insane hex editing, and from what i gather they were able to change weapons values with hex editing, and those didn't work online (thats what i meant by weapons changes (values), not name changes :wink: )
But those guys were into it for a while (srs), good to see your starting to figured it out. There is much to be discovered in the world of hexing editing :D .
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Localizing mod

Post by redgroupclan »

Ahh...Im doing this right now. So once i find the right string or w/e, I select Overwrite and when the overwrite window comes up I type in the new command in the text string?


EDIT: Uh oh-I tried that and now every button, or basically any words, were changed.
e.g. the menu title was change to ifs.main.title. Wtf did i do wrong?? And the commands still didnt change -.-
Last edited by redgroupclan on Mon Apr 07, 2008 9:04 pm, edited 2 times in total.
PoRCH WooKIE
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Fri Oct 19, 2007 6:07 pm

Re: Localizing mod

Post by PoRCH WooKIE »

yeah just take out the old text and replace it the same way with your new saying, or name, or w/e. Most things have more than one instance, so once you change "FOLLOW ME!" for example, search FOLLOW ME again, again, until you replace all instances of whatever you want to change.
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Localizing mod

Post by MasterFang1 »

Yaya! I changed all the F commands and they all work, I'll upload it to filefront and let all the RLcT use em. :music:
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Localizing mod

Post by redgroupclan »

So they all work, no crashing, no getting parts of the previous statement in the new statement?
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Localizing mod

Post by MasterFang1 »

as far as I know there totally good :lol:
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Localizing mod

Post by redgroupclan »

You're gonna have to teach me how to do it. I tried it a second time and the text of everything didnt mess up-the game just crashed when I tried to use the command.
toenailcheeseman

Re: Localizing mod

Post by toenailcheeseman »

k i know this is the wrong thred, but i need to be heard...... can someone repost the freecam in a zip or rar fomat.
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

Re: Localizing mod

Post by giftheck »

Any chance you could 'copy' the localization of addons (IE I have more units in my mod so more localization is needed) into the shipped core.lvl?
Post Reply