Home   Help Search Login Register  

Author Topic: stringtable trouble  (Read 576 times)

0 Members and 1 Guest are viewing this topic.

Dubieman

  • Guest
stringtable trouble
« on: 11 Aug 2004, 23:39:21 »
After a long time of changing and checking, I've now decided to ask what's wrong.

I've gotten rid of all titletext commands for my intro. I've got my sound "File1" in the sound folder. My .ext doc looks like this for File1

Code: [Select]
class File1
   {
      // Name to display in mission editor
      name = "File1";
      // Sound path, volume, pitch
      sound[] = {\sound\File1.ogg, db + 0, 1.0};
      //
      titles[] =
{
0, $STRM_File1
};
   };



Now my stringtable looks like this:

Code: [Select]
LANGUAGE,English,Comment

STRM_File1,"All units get ready, the target is approaching.",police talk


But when I preview it in the intro part, I get the sound but only this much text...

All units get ready

Now I want the whole thing up. I tried no "" marks in my stringtable and that didn't work. I suspected the comma and removing that too did nothing.
 :P
Help appreciated. ;)


EDIT: well I went and downloaded a .ext/stringtable wizard and when it spit out my stuff. The finished .csv was EXACTLY the same or I've already tried that. Once again help is appreciated. Just this one thing and I can get my mission finished. :P :P



« Last Edit: 12 Aug 2004, 03:06:49 by GuiltyRoachKillar »

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:stringtable trouble
« Reply #1 on: 12 Aug 2004, 09:10:45 »
Hey GRK...

Stringtables can be tricky beasts at the best of times...

My thinking is that you've got either an end line (ie, hitting return) or a comma in the wrong spot.

Try moving right to the end of your line and inserting a comma. Then press return.
Save the .csv file, go into the editor and save the mission and see if that solves it ;)

Oh by the way, what program are you using to edit your .csv?

Dubieman

  • Guest
Re:stringtable trouble
« Reply #2 on: 12 Aug 2004, 16:27:06 »
I'll see about putting commas and return and that.

BTW I'm using CHOFPSE to edit the stringtable.csv but I heard something about using Microsof Excel... :-\

Gooner861

  • Guest
Re:stringtable trouble
« Reply #3 on: 12 Aug 2004, 18:54:27 »
Not really an expert in this but most of the stringtables i've seen have been dun in Excel. De -PBO a mission, i think Macs Un- Impossible mission has one if i remember correctly.
Dont know if it will help but it might show u sumthing ur not doing.  ;D

Good luck

Gooner

Dubieman

  • Guest
Re:stringtable trouble
« Reply #4 on: 12 Aug 2004, 22:27:30 »
Lol, my mission is very picky. Got cuttext to work. No need for a stringtable now...

But I'll look at others in case I need one in the future...

Thanks everyone. :)

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:stringtable trouble
« Reply #5 on: 19 Aug 2004, 02:17:43 »
okay, i've had this problm 2

try checkin the space betwen the comma and the next word. u might have 2 spaces and that f***s it up alot.

also, its just as easy 2 make a .csv in notepad. thats what BIS did w all their missions

if u have any mor probs let me know, i might be able 2 help

cheers :)
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Sentinel

  • Contributing Member
  • **
  • World is tough and I'm tougher!!
Re:stringtable trouble
« Reply #6 on: 15 Nov 2004, 11:52:50 »
Quote
Now my stringtable looks like this:

STRM_File1,"All units get ready, the target is approaching.",police talk

You don't need quotations marks in stringtable. Comma end the line, so if you use comma in the middle of sentence, it will be cut there. You need to use some else way to 'express' the 'comma'

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:stringtable trouble
« Reply #7 on: 15 Nov 2004, 18:46:57 »
Actually mate, quotes work fine. They are used when your voice file needs a comma.  ;)

-Tyger
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08