The Empire has captured "the" CP
Moderator: Moderators
-
Rippentuck
The Empire has captured "the" CP
Hi everyone,
Does anyone know if it's possible to remove the word "the" when the game refers to a CP? Like say, if I have a CP called "Echo Point" and the Imperials capture it, I want the sentence "The Empire has captured Echo Point" to appear on the screen, instead of "The Empire has captured _the_ Echo Point."
Is this possible, or it hopelessly buried somewhere deep inside the game's code? I'd like to know if I could have a little more flexibility in the use of names for CPs.
Rip
Does anyone know if it's possible to remove the word "the" when the game refers to a CP? Like say, if I have a CP called "Echo Point" and the Imperials capture it, I want the sentence "The Empire has captured Echo Point" to appear on the screen, instead of "The Empire has captured _the_ Echo Point."
Is this possible, or it hopelessly buried somewhere deep inside the game's code? I'd like to know if I could have a little more flexibility in the use of names for CPs.
Rip
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: The Empire has captured "the" CP
If you want to remove the term "the" before a command post's name, you must modify a file named "core.lvl" with an hex-editor. This Level file contains all texts appearing in SWBF's menus, etc...
But once you'll delete this word, all command posts' labels won't have it before their names... But I need to check out that before giving you more informations...
But once you'll delete this word, all command posts' labels won't have it before their names... But I need to check out that before giving you more informations...
-
CGArtist
RE: The Empire has captured "the" CP
I think it might be possible through localization... I was able to change every entry in the menu which pops up when you hit escape. Check the "Tips and Tricks" thread, where PsychoFred has posted a very helpful list of localization strings.
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: The Empire has captured "the" CP
Yes... After all, "core.lvl" is created from Localization's files...I think it might be possible through localization...
-
Rippentuck
Re: RE: The Empire has captured "the" CP
CGArtist wrote:I think it might be possible through localization... I was able to change every entry in the menu which pops up when you hit escape. Check the "Tips and Tricks" thread, where PsychoFred has posted a very helpful list of localization strings.
Hey CG,
I did look through that list, and I THINK I found what might have been the CP strings, but how do you actually get into the localization strings to edit them? Can you explain what you did to change your menu entries?
It may be moot for me, since my map is experiencing bizarre technical problems (with 3.5 months of work possibly destroyed), but it would still be good to know.
Rip
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Re: RE: The Empire has captured "the" CP
Check this paths : "BFBuilder\Data\Localize" and "BFBuilder\Data\_SOURCE_PC\Common\Localize". They contain language files used by Localization Tool. You just need to open them with it or with Note-pad if you know writing in binary...
-
CGArtist
RE: Re: RE: The Empire has captured "the" CP
It is very dangerous to open those with a text editor... you must open them with the Localization tool, located on the main bar in BFBuilder.
-
Rippentuck
RE: Re: RE: The Empire has captured "the" CP
Hi Fred,
When you place a CP and name it something like "Echo Point," the game will refer to it (when it has been captured or lost) as "the Echo Point." That is, unless there's something I don't know. If it can be done in Localization, how? Obviously I've tried simply naming it the way I wanted it, but that's why I posted the question about it, because that apparently doesn't work.
Rip
When you place a CP and name it something like "Echo Point," the game will refer to it (when it has been captured or lost) as "the Echo Point." That is, unless there's something I don't know. If it can be done in Localization, how? Obviously I've tried simply naming it the way I wanted it, but that's why I posted the question about it, because that apparently doesn't work.
Rip
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Not dangerous, just tiring...It is very dangerous to open those with a text editor...
I've used hex-editing to change some menus' labels in SWBF's main menu. In effect, Pandemic forgot to place accents and punctuations to certain words and expressions...Why would open the file the localization tool creates rather than just using the localization tool? That's what it's for. Same with editing core.lvl, why would hack that when all you want to do is affect your level?
-
Rippentuck
-
Rippentuck
Fred,
Looking at your localization strings list, I found the lines that need to be edited. Here's a cut out of the section where it is, relevant lines in red:
game.attractmode.title "Press any button to exit"
game.infomsg.captured "%s captured The %s"
game.infomsg.died "%s died"
game.infomsg.diedkillerwpn "%s killed %s (%s)"
game.infomsg.killed "%s killed %s"
game.infomsg.lost "%s lost The %s"
game.infomsg.suicide "%s killed himself"
game.infomsg.teamkill "%s killed teammate %s"
My only question, then, is where do I find this list in BFBuilder, so that I can delete the word "The" from it? And please give a low-tech answer for us laypersons here.
And thanks again for rescuing my map from oblivion (see your forum).
Rip
Looking at your localization strings list, I found the lines that need to be edited. Here's a cut out of the section where it is, relevant lines in red:
game.attractmode.title "Press any button to exit"
game.infomsg.captured "%s captured The %s"
game.infomsg.died "%s died"
game.infomsg.diedkillerwpn "%s killed %s (%s)"
game.infomsg.killed "%s killed %s"
game.infomsg.lost "%s lost The %s"
game.infomsg.suicide "%s killed himself"
game.infomsg.teamkill "%s killed teammate %s"
My only question, then, is where do I find this list in BFBuilder, so that I can delete the word "The" from it? And please give a low-tech answer for us laypersons here.
And thanks again for rescuing my map from oblivion (see your forum).
Rip
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Yes, that's right... I've the French SWBF version...I assume you are not in the US since I don't know of any punctuation or grammer on the menus and shell, so you must be referring to something foreign language specific.
That's also right... I've corrected some of these mistakes using hex-editing but never Localization tool...From what I understand they don't always choose the right words for locations and objects as well.
Do you know where are stored era names ?Some things are hardcoded, such as era names in some places.
-
Leviathan
- Missing Jedi Admin
- Posts: 3277
- Joined: Fri Nov 12, 2004 2:54 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
