ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "CSF"

From ModEnc
Jump to: navigation, search
m (Reverted edit of 81.240.110.181, changed back to last version by Renegade)
(Rewrite)
Line 1: Line 1:
ra2.csf is the [[string file]] of [[RA2]] (ra2md.csf for [[YR]]), in which all on-screen text is saved. It is edited either with the [[XCC String Table Editor]] (by [[Olaf van der Spek]]) or with [[RA2StrEdit]] (by [[TheMatze]]).
+
CSF files contain all the ingame texts of RA2 (ra2.csf) and YR (ra2md.csf). They can be edited either with [[XCC String Table Editor]] (by [[Olaf van der Spek]]) or with [[RA2StrEdit]] (by [[TheMatze]]).
 +
 
 +
== Editing CSF files in XCC String Table Editor ==
 +
 
 +
Let's say you are following a tutorial for adding a new unit... and the tutorial tells you to "add an entry {{Tt|Name:NewTank}} to the CSF file and set it to 'My New Tank'".
 +
 
 +
* Open [[XCC Mixer]].
 +
* Launch > String Table Editor > select the game.
 +
* In the left panel, select the "NAME" section.
 +
** You can actually select any section you wish, it will still get saved properly.
 +
* Click "Insert" at the bottom.
 +
* Type in {{Tt|Name:NewTank}} and hit Enter.
 +
** These strings are ''case-insensitive'', you can type in {{Tt|naME:NEWTANk}} and it would still work.
 +
* Double click on the new entry.
 +
** Alternatively, click on it and hit "Edit" at the bottom, your choice.
 +
* Type in {{Tt|My New Tank}} in the big box, and leave the bottom box empty.
 +
** These strings are ''case-sensitive'', and the text you type in here will be displayed in the same case as you entered it.
 +
* Hit "OK".
 +
* Hit "OK" at the bottom.
 +
 
 +
There you go, now your tank will be named "My New Tank" when you move your mouse over it. (This doesn't effect the cameo.)
  
== Missing:Name:BLAHBLAH (Modifying ra2(md).csf files) (by Kravvitz)==
 
In XCC Mixer go to Launch --> XCC String Table Editor --> Red Alert 2 or Red Alert 2 YR, whether you are modding RA2 or YR. XCC String Table Editor is used to modify the ra2.csf and ra2md.csf files. First in the left column click on whichever stringtype you want to add, usually this is "NAME" because that controls the names of all units, superweapons, and buildings next click on "insert", then making sure that the string you just created is still selected, click on "edit" and in the big text box in the middle of the window that pops-up add whatever text you want displayed in game. Don't mess with the bottom text box, as far as I know it is unused. Apparently if you switch string type sections before saving, then it will delete all changes to the strings in that section. XCC String Editor only edits the RA2.CSF and RA2MD.CSF files that are in the directory in which you most recently installed RA2/YR.
 
 
[[Category:General_Editing_Information]]
 
[[Category:General_Editing_Information]]
 +
[[Category:Tutorials]]

Revision as of 08:45, 25 June 2006

CSF files contain all the ingame texts of RA2 (ra2.csf) and YR (ra2md.csf). They can be edited either with XCC String Table Editor (by Olaf van der Spek) or with RA2StrEdit (by TheMatze).

Editing CSF files in XCC String Table Editor

Let's say you are following a tutorial for adding a new unit... and the tutorial tells you to "add an entry Name:NewTank to the CSF file and set it to 'My New Tank'".

  • Open XCC Mixer.
  • Launch > String Table Editor > select the game.
  • In the left panel, select the "NAME" section.
    • You can actually select any section you wish, it will still get saved properly.
  • Click "Insert" at the bottom.
  • Type in Name:NewTank and hit Enter.
    • These strings are case-insensitive, you can type in naME:NEWTANk and it would still work.
  • Double click on the new entry.
    • Alternatively, click on it and hit "Edit" at the bottom, your choice.
  • Type in My New Tank in the big box, and leave the bottom box empty.
    • These strings are case-sensitive, and the text you type in here will be displayed in the same case as you entered it.
  • Hit "OK".
  • Hit "OK" at the bottom.

There you go, now your tank will be named "My New Tank" when you move your mouse over it. (This doesn't effect the cameo.)