Home   Help Search Login Register  

Author Topic: What wrong?  (Read 1162 times)

0 Members and 2 Guests are viewing this topic.

Jasper

  • Guest
What wrong?
« 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!
« Last Edit: 08 Jul 2004, 08:45:52 by Jasper »

Jasper

  • Guest
Re:What wrong?
« Reply #1 on: 08 Jul 2004, 20:53:35 »
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!
« Last Edit: 08 Jul 2004, 20:55:05 by Jasper »

ponq

  • Guest
Re:What wrong?
« Reply #2 on: 08 Jul 2004, 21:34:55 »
try this (removed the "" and the , (comma) from the stringtable):
Code: [Select]

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.,

Jasper

  • Guest
Re:What wrong?
« Reply #3 on: 08 Jul 2004, 21:47:15 »
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?

 >:( >:( >:( >:( >:( >:(

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:What wrong?
« Reply #4 on: 08 Jul 2004, 22:08:11 »
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
I know a little about a lot, and a lot about a little.

Jasper

  • Guest
Re:What wrong?
« Reply #5 on: 08 Jul 2004, 22:13:33 »
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!

ponq

  • Guest
Re:What wrong?
« Reply #6 on: 08 Jul 2004, 22:25:10 »
if your mission is small then attach it here, so we can have a look.


Jasper

  • Guest
Re:What wrong?
« Reply #7 on: 08 Jul 2004, 22:31:37 »
It zips down to 108k what bits do you want?

ponq

  • Guest
Re:What wrong?
« Reply #8 on: 09 Jul 2004, 13:29:43 »
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?

Jasper

  • Guest
Re:What wrong?
« Reply #9 on: 09 Jul 2004, 17:20:07 »
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!!