OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik on 25 Apr 2003, 17:20:51
-
Okay people. I have a problem that inclues the "StringTable.csv" file..
I know how to add Id's and sutch, but when I add text that needs commas, like : "Hi, I'm Joe" I just gets the text "Hi" in the screen! >:(
Is there a way to solve this, or have BIS not included any commas!
-
YOu need to put quotes around the text in your stringtable file. THe game sees the comma and things it's the end of the line.
"LANGUAGE","English","Comment",
"STRM_hello","Hello, my name is bob.","bob talking",
-
Thanks a LOT toadlife !! :D ;)
You are the best :-*
*Topic opened again*
Unfourtanly I can't get it to work. When I create quotes arround, nothing appeares!
First my description.ext file :
class CfgSounds
{
   sounds[] =
   {
Officer1,Officer2,Officer3
   };
   class Officer1
   {
      name = "Officer1";
      sound[] = {"Officer1.ogg", db-0, 1.0};
      titles[] =
      {
         0, $STRM_Officer1,
      };
   };
   class Officer2
   {
      name = "Officer2";
      sound[] = {"Officer2.ogg", db-0, 1.0};
      titles[] =
      {
         0, $STRM_Officer2,
      };
   };
   class Officer3
   {
      name = "Officer3";
      sound[] = {"Officer3.ogg", db-0, 1.0};
      titles[] =
      {
         0, $STRM_Officer3,
      };
   };
};
And then my stringtable.csv file :
LANGUAGE,English,Comment,
STRM_Officer1,"Okay, Joe. This day could get pritty hot. We're going to strike four Russian bases",
STRM_Officer2,"The base in Le Port, two docks and a small outpost.",
STRM_Officer3,"But, let's get down to the mission spesific shall we?",
-
Strange..everything looks good. ??? ??? ??? ???
Are you editing your strintable file with a text editor or excell type program?
-
Exel...
-
try opening it up with a text editor instead of excell. Excewll type programs can be good for editing stringtables, but they can screw them up too.
I used openoffice calc (free version of Excel) to do large stringtables for Operation Lojack (70 lines and 5 languages!).
-
Will do !
Thanks for your help so far :D
-
I MADE IT WOOOOOOOORK!!! WORK WORK WOOOOORK!!!
;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
Had to edit it in notepad exept of exel...
Thank for your help toadlife. I know I couldn't have done it with out you!
Topic solved and locked for the second time, but now for good (HopeFully)