OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NightJay0044 on 10 Sep 2008, 01:47:05

Title: TroubleShooting Sound Files
Post by: NightJay0044 on 10 Sep 2008, 01:47:05
Hi all well it looks like I'm doing some walking in the forums. Anyways, I have a couple of questions for editing sounds in OFP.

I'm using the "Audacity" sound program to record voices from via the internet. The voices are great it's just when they play during the game.

ISSUE 1:
For using the blue text radio command such as "SideChat" which creates the blue text mainly for tank missions and helicopter missions.  When I type in the command
Quote
p2 sidechat "A1".
Which p2 is the player and A1 is the sound file .ogg file.

It always says error "file doesn't exist".  But then when I use the
Quote
"p2 say "A1"
it works, but the text from the stringtable.file appears.

So how do I make it work with using the "SideChat" button so you can see the text and hear the sound all using that command?

ISSUE 2:
The second issue I have is the mission is a chopper mission. So the sound is to quiet when it plays. You can't hear it over the chopper, the chopper is to loud. So how do I make it so you can hear it good while your playing?


Thanks for the help.
 :D
Title: Re: TroubleShooting Sound Files
Post by: schuler on 10 Sep 2008, 08:13:56
Quote
p2 sidechat "A1".
should work,,,, but i see a typo in it you have a (period)  ( . ) there
maybe it is interfering try removing that typo

Quote
The second issue I have is the mission is a chopper mission. So the sound is to quiet when it plays. You can't hear it over the chopper, the chopper is to loud. So how do I make it so you can hear it good while your playing?

just ad the text with the voice  :good:
Audacity is a good progy!
cheers schuler
Title: Re: TroubleShooting Sound Files
Post by: NightJay0044 on 11 Sep 2008, 10:45:41
Yeah the code
Quote
p2 sidechat A1.
which the period (.) was actually part of the end of my setence in the post, oops..But it doesn't work when I add the command.

The sound doesn't nor the text. When I type the command in all that comes up is "A1".

So the problem still is, the voice isn't loud enough to hear over the chopper. So how do I get it so I can clearly hear what the voice is saying? Do you get what I mean?
Title: Re: TroubleShooting Sound Files
Post by: schuler on 11 Sep 2008, 11:06:24
thats for text
p2 sidechat "Bravo4 to base."
if your sound file is called A1.
use this
Quote
p2 say "A1."
i would still remove the  .

cheers schuler
Title: Re: TroubleShooting Sound Files
Post by: eegore on 11 Sep 2008, 11:12:06

  I would check if whatever program you are using to record the custom sounds will allow you to increase the final volume after the recording is complete. 
 
  When I have sound issues regarding volume I use Goldwave.  I often times find that custom sounds/music are lower in volume than the default ones in the game.  All I do is increase the sound 200% in Goldwave and then save it as an .oog in Flashpoint. 
 
  Works great when I play ZZ-Top while firing out of a jeep tearing across the map. 
Title: Re: TroubleShooting Sound Files
Post by: Kendo J on 11 Sep 2008, 12:09:22
I am pretty sure your problem lies with your description.ext these are tricky and this is the sort of error you get when that is not quite right.

Also you are using "SideChat" in conjunction with "Say" for a radio message, you don't need to use SideChat and say if you have a stringtable.

For this you use SideRadio - this will give text if there is a corresponding Sting, if no string exists you have to use chat and radio together.

See below, you don't need a string.. but can use one if you need to

Quote
class CfgRadio
{
     sounds[] = {};

     class ONE
{
      name = "";
      sound[] = {"ONE.ogg", db-40, 1.0};
      title = ;
   };
class TWO
{
      name = "";
      sound[] = {"two.ogg", db-40, 1.0};
      title = ;
   };
class Contact
   {
      name = "";
      sound[] = {"Contact.ogg", db-40, 1.0};
      title = $STRM_Contact;
   };
};


Regards
Kendo

p.s. am i right in assuming that you are using Say to play a radio messege?... you don't get the  radio static/squeal with this...
Also you can change the decible level (db) here for more volume ( sound[] = {"Contact.ogg", db-40, 1.0}; )
Title: Re: TroubleShooting Sound Files
Post by: NightJay0044 on 12 Sep 2008, 04:19:00
okay thanks guys for the help, I did change the dc (decible level) it helps I brought it down from 40 to 1, lol. You can hear it over the chopper atleast now but not very good.

Also what does the (1.0) mean next to the (descilble Level)?  Can you change that and it will raise the sound or something.

Thanks again.
Title: Re: TroubleShooting Sound Files
Post by: Kendo J on 12 Sep 2008, 14:26:33
Quote
Also what does the (1.0) mean next to the (descilble Level)?  Can you change that and it will raise the sound or something.

that is the pitch (not musical here if I am wrong) i.e. 0.9 would be lower and deeper and slower, 1.1 faster and squeakier

kendo