OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bored_onion on 18 Aug 2004, 16:47:49

Title: sounds in flashpoint removing titletext
Post by: bored_onion on 18 Aug 2004, 16:47:49
im putting sounds into one of my missions and everything is going well but it seems that whenever i put in the on activation section of a trigger  
Code: [Select]
unit say "sound"
it stops title text appearing on the screen which means that i can't give my sounds subtitles

is this a common problem and is there a way around it?

thx
Title: Re:sounds in flashpoint removing titletext
Post by: Dubieman on 18 Aug 2004, 18:59:09
I had this problem too.

Either makea stringtable, which was a pain in the ass for me.

OR

Replace all the titletext commands ( the commands only) with this

cuttext ["OMG we have no more toliet paper!","plain down",1]

Worked for me, you can keep the rest of the text, just change "title" to "cut"... :)
Title: Re:sounds in flashpoint removing titletext
Post by: macguba on 18 Aug 2004, 20:56:08
Make the stringtable.csv file, its not hard.   It's an excel spreadsheet on my comp but I think you can make it a text file.   Other spreadsheet programmes will probably work too.

The text you want to appear when the sound is played goes in the stringtable.    It then appears automatically.

In description.ext

class CfgSounds
{
        sounds[] =    {};

                class civvy12
   {
      name = "";
      sound[] = {"civvy12.ogg", db+60, 1.0};
      titles[] =
      {
         0, $STRM_civvy12
      };
   };
};


In stringtable.csv:-

(column1)                (column two)

STRM_civvy12   Your text here!
Title: Re:sounds in flashpoint removing titletext
Post by: Dubieman on 18 Aug 2004, 22:52:17
Lol Mac, you make it sound so easy. You shoulda guided me through it... ;D :D

Either works. I had my titletexts already so it wasn't hard to change the lettering around when my stringtable didn't work. :P
Title: Re:sounds in flashpoint removing titletext
Post by: macguba on 18 Aug 2004, 23:16:25
Lol everything in mission editing is easy once you know how to do it, except overview pics which are very, very hard.
Title: Re:sounds in flashpoint removing titletext
Post by: LCD on 18 Aug 2004, 23:42:35
rofl

ye overview pics is impoosible ? how do ppl get good 1s ? can u tell me da secret ? ;D

LCD OUT
Title: Re:sounds in flashpoint removing titletext
Post by: bored_onion on 20 Aug 2004, 11:41:03
great thanks for the help (both long and short ways :P)

btw, use a generator for overview pics it saves time even though its not very versatile

thanks again