[Resources] Generals.str file - EDIT: Revi...
Jordan 08 Dec 2006
Just found this in one of my folders, and decided to make it public, since I couldn't find a download location for it anywhere else.
The generals.str file is a much better change from the stone age of .csf file editing.
--------------------------------
Great things about .str files:
1. Can be edited in notepad or similar programs
2. Can be used inside a .big file, instead of manually copying a generals.csf file into the Data/English directory.
3. It is a lot easier to edit. You don't have to bother with the file/add string functions in the CSF Editor.
---------
Download here.
The Generals.str file goes into your Command & Conquer Generals Zero Hour\Data folder.
Special Notes
----------------
The most recent update fixed the quotation marks problem, which had caused the descriptions of the generals in the skirmish menu to not appear correctly.
To Use:
---------
The string's title is the first line.
The string's text is the second line, ALWAYS surrounded by quotation marks. It's what shows up in-game.
END on the third line closes that particular string entry. Don't forget it.
To enter operators, such as quotation marks, put a backslash (\) in front of them. Otherwise it will cause problems, such as closing a string early, or breaking numerous strings.
To drop down a line, use the command \n separated from any other text with a space.
If the game and/or worldbuilder refuses to start without generating an error, check the very last entry of the .str file. You may have forgotten to enter the last END at the bottom of that particular string, which causes that strange problem.
-Jordan
Edited by Bob, 12 October 2013 - 18:01.
The generals.str file is a much better change from the stone age of .csf file editing.
--------------------------------
Great things about .str files:
1. Can be edited in notepad or similar programs
2. Can be used inside a .big file, instead of manually copying a generals.csf file into the Data/English directory.
3. It is a lot easier to edit. You don't have to bother with the file/add string functions in the CSF Editor.
---------
Download here.
The Generals.str file goes into your Command & Conquer Generals Zero Hour\Data folder.
Special Notes
----------------
The most recent update fixed the quotation marks problem, which had caused the descriptions of the generals in the skirmish menu to not appear correctly.
To Use:
---------
The string's title is the first line.
The string's text is the second line, ALWAYS surrounded by quotation marks. It's what shows up in-game.
END on the third line closes that particular string entry. Don't forget it.
To enter operators, such as quotation marks, put a backslash (\) in front of them. Otherwise it will cause problems, such as closing a string early, or breaking numerous strings.
To drop down a line, use the command \n separated from any other text with a space.
If the game and/or worldbuilder refuses to start without generating an error, check the very last entry of the .str file. You may have forgotten to enter the last END at the bottom of that particular string, which causes that strange problem.
-Jordan
Edited by Bob, 12 October 2013 - 18:01.
Kris 09 Dec 2006
sweet but now its too late i have so many string files to remake just to use this in my mod
Jordan 10 Dec 2006
I found a major bug in the original generals.str file.
Because the nicknames for the generals had quotes around them, it caused script errors where only part of it was visible, since quotation marks end a script.
For example:
This: General Malcolm "Ace" Granger...
Became: General Malcolm
A quick fix solved this problem, where you had to put a backslash in front of those quotation marks to keep them from closing the script.
Download the attachment above.
Edited by Jordan, 08 April 2008 - 20:53.
Because the nicknames for the generals had quotes around them, it caused script errors where only part of it was visible, since quotation marks end a script.
For example:
This: General Malcolm "Ace" Granger...
Became: General Malcolm
A quick fix solved this problem, where you had to put a backslash in front of those quotation marks to keep them from closing the script.
Download the attachment above.
Edited by Jordan, 08 April 2008 - 20:53.
The_Hunter 15 Jan 2007
an other thing that's nice to know about this btw is that you can use your own STR file online without getting any errors.
so basicly you can make your own hotkeys for buttons and units if you want to
so basicly you can make your own hotkeys for buttons and units if you want to
CodeCat 15 Jan 2007
Wait, so the game doesn't check for the STR file when it sees if your versions are compatible?
pirate 20 Jan 2008
Mere_Mortal 28 Jan 2008
Err, in respect of a year-old post...if you need to use operators in the text, I think a single backslash before the character should suffice.
Example...
"General Malcolm \"Ace\" Granger"
Example...
"General Malcolm \"Ace\" Granger"
dlpcruzer 08 Nov 2008
Jordan,
Just want to say THANK YOU for sharing the string file.
It works GREAT. A lot of tedious work went into creating this.
None of the CSF editors I tried worked properly.
One editor cut off strngs, another changed strings around
and caused the game to crash when loading.
I have spent hours searching for and downloading CSF editors that failed the tests.
Now I can easily update the control bars and tooltips for tbe
ICBM Silo, and Tomahawk Storm, which I finally got to work.
I used the map.ni file from beng's TomahawkStorm map, but created new
objects instead of using other objects in the game. Now both work great on all maps.
I can also add the things EA left out for the Cruise Missile and get it working.
Anyways, mostly wanted to say thanks for doing this work and making it availble to the world.
Just want to say THANK YOU for sharing the string file.
It works GREAT. A lot of tedious work went into creating this.
None of the CSF editors I tried worked properly.
One editor cut off strngs, another changed strings around
and caused the game to crash when loading.
I have spent hours searching for and downloading CSF editors that failed the tests.
Now I can easily update the control bars and tooltips for tbe
ICBM Silo, and Tomahawk Storm, which I finally got to work.
I used the map.ni file from beng's TomahawkStorm map, but created new
objects instead of using other objects in the game. Now both work great on all maps.
I can also add the things EA left out for the Cruise Missile and get it working.
Anyways, mostly wanted to say thanks for doing this work and making it availble to the world.
cccdfern 17 Sep 2009
Sorry for a major necro, but it doesn't work for me.
Thats right isn't it?
OBJECT:LAZR_AmericaPopupPatriotBattery "Popup Laser" END CONTROLBAR:ConstructLAZR_AmericaPopupPatriotBattery "Popup Laser" END CONTROLBAR:ToolTipUSABuildPatriotBattery "Laser from the Earth" END
Thats right isn't it?
GuardianTempest 19 Jul 2010
Can you use semicolons ( to make comments there? I'm making a line to distinguish the stock from my pile of strings.
More like a yarnball.
More like a yarnball.
R3ven 19 Jul 2010
You can, but it has to be on an empty line and has to start with // which is how you comment an STR file.