Home   Help Search Login Register  

Author Topic: StringTable.csv  (Read 648 times)

0 Members and 1 Guest are viewing this topic.

Knut Erik

  • Guest
StringTable.csv
« 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!

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:StringTable.csv
« Reply #1 on: 25 Apr 2003, 22:29:31 »
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.

Code: [Select]
"LANGUAGE","English","Comment",
"STRM_hello","Hello, my name is bob.","bob talking",
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Knut Erik

  • Guest
Re:StringTable.csv
« Reply #2 on: 26 Apr 2003, 01:11:29 »
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 :

Code: [Select]
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 :

Code: [Select]
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?",
« Last Edit: 26 Apr 2003, 01:53:20 by Knut Erik »

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:StringTable.csv
« Reply #3 on: 26 Apr 2003, 02:41:07 »
Strange..everything looks good.   ??? ??? ??? ???

Are you editing your strintable file with a text editor or excell type program?
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Knut Erik

  • Guest
Re:StringTable.csv
« Reply #4 on: 26 Apr 2003, 11:52:08 »
Exel...

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:StringTable.csv
« Reply #5 on: 26 Apr 2003, 12:15:17 »
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!).
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Knut Erik

  • Guest
Re:StringTable.csv
« Reply #6 on: 26 Apr 2003, 13:15:22 »
Will do !
Thanks for your help so far  :D

Knut Erik

  • Guest
Re:StringTable.csv
« Reply #7 on: 26 Apr 2003, 23:48:46 »
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)