OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jasper on 08 Jul 2004, 08:44:05
-
This is my first time at adding sounds and stuff and what I want is the player calling for a heli and stuff as he reaches triggers in the mission
I've got the ogg files they are in the sound folder etc etc.
But in the drop down boxes I've only got "evac" and not the other two.
I can get "evac" to play just not the other two
Here is my description.ext, also the stringtable doesn't show the text?
class CfgSounds
{
   sounds[] =
      {
         evac, h1enroute, cp1clear
      };
   class evac
   {
      name = "evac";
      sound[] = {"\sounds\evac.ogg", db+40, 1.0};
      titles[] =
   {
      0, $STRM_radiosample
   };
   class h1enroute
   {
      name = "h1enroute";
      sound[] = {"\sounds\h1enroute.ogg", DB+40, 1.0};
      titles[] =
   {
      0, $STRM_h1enroute
   };
   class cp1clear
   {
      name = "cp1clear";
      sound[] = {"\sounds\cp1clear.0gg", db+40, 1.0};
      titles[] =
   {
      0, $STRM_cp1clear
   };
};
};
class CfgRadio
{
   sounds[] =
      {
         evac, h1enroute, cp1clear
      };
   class evac
   {
      name = "evac";
      sound[] = {"evac.ogg", db+40, 1.0};
      title = $STRM_radiosample;
   };
   class h1enroute
   {  ÂÂ
      name = "h1enroute";
      sound[] = {"h1enroute.ogg", db+40, 1.0};
      title = $STRM_H1enroute;
   };
   class cp1clear
   {
      name = "cp1clear";
      sound[] = {"cp1clear.ogg", db+40, 1.0};
      title = $STRM_cp1clear;
   };
};
};
stringtable ==>
LANGUAGE   English   Comment
     ÂÂ
STRM_radiosample   radiosample  ÂÂ
STRM_h1enroute   h1enroute  ÂÂ
STRM_cp1clear   cp1clear  ÂÂ
I just cant see what is wrong, please help!
-
I've got the description.ext file sorted (well I was helped but there ya go ;))
But I still cant get the text in the stringtable to show on screen.
My new description.ext file looks like this:
class CfgRadio
{
sounds[]={ Radio1,Radio2,Radio3};
class Radio1
{
name="Radio1";
sound[]={"\sound\cp1clear.ogg",db+20,1.0};
title=$STRM_Radio1;
};
class Radio2
{
name="Radio2";
sound[]={"\sound\evac.ogg",db+20,1.0};
title=$STRM_Radio2;
};
class Radio3
{
name="Radio3";
sound[]={"\sound\h1enroute.ogg",db+20,1.0};
title=$STRM_Radio3;
};
};
class CfgMusic
{
tracks[]={};
};
class CfgSounds
{
sounds[]={ cp1clear,evac,h1enroute};
class cp1clear
{
name="cp1clear";
sound[]={"\sound\cp1clear.ogg",db+20,1.0};
titles[]= {};
};
class evac
{
name="evac";
sound[]={"\sound\evac.ogg",db+20,1.0};
titles[]= {};
};
class h1enroute
{
name="h1enroute";
sound[]={"\sound\h1enroute.ogg",db+20,1.0};
titles[]= {};
};
};
and the stringtable is like this:
LANGUAGE,English,Comment
STRM_Radio1,"0 This is D42 The checkpoint is clear, repeat the checkpoint is clear, moving on to the next objective. Out.",
STRM_Radio2,"H1 This is D42 requesting immediate Evac. Over.",
STRM_Radio3,"D42 this is H1 on route to your location. Out.",
Everything seems fine to me but it just wont put the text on screen - PLEASE PLEASE help me!
-
try this (removed the "" and the , (comma) from the stringtable):
STRM_Radio1,0 This is D42 The checkpoint is clear! repeat the checkpoint is clear! moving on to the next objective. Out.,
STRM_Radio2,H1 This is D42 requesting immediate Evac. Over.,
STRM_Radio3,D42 this is H1 on route to your location. Out.,
-
Nope, that doesnt work either!!
The file I have is called stringtable.csv - that is correct isnt it?
I can not think why it aint working?
>:( >:( >:( >:( >:( >:(
-
What did you use to save your stringtable.csv.
If you used Notepad and didn't change the file save type as All Files instead of Text, then Notepad would have saved it as ....stringtable.csv.txt.
Do you have 'Hide file extensions for known file types' ticked in your folder options?
Planck
-
Nope they are all showing their extensions it is definitely just .csv
Should it be StringTable.csv instead of stringtable.csv?
Does it not work with triggers or waypoints?
I really can't work it out!
-
if your mission is small then attach it here, so we can have a look.
-
It zips down to 108k what bits do you want?
-
I've received your mission...but no clue what's wrong.
I've recreated the descritption.ext and stringtable.csv with the dialogg-program. No luck.
I've replaced your sound file with mine, I resampled your sound....al no luck.
Could it be related to BAS?
-
I will just add everything in the textfield of the triggers and leave it at that.
Cheers for all your help any way ponq, its greatly appreciated!!