Home   Help Search Login Register  

Author Topic: wagner doesnt work  (Read 604 times)

0 Members and 3 Guests are viewing this topic.

Stinky Nut Rappa

  • Guest
wagner doesnt work
« on: 31 Jul 2005, 17:09:19 »
i'm trying to make a mission just for me and my mates based on the helicopter flight scene from apocalypse now. im using the seb ia trang map and the nam pack 1 soldiers (well i think they are. its hard to download pack 2 with 56k) anyway i have evrything set up. Shogun's napalm script, ronaldcargorope for when the boat is flwon in. the only problem is "RIDE OF THE VALKYRIES DOES NOT WORK". I think its just the file which originally wasnt wav but i just changed its name to have ".wav" at the end. but now that i have found a really bad wav file on the internet, the OFP sound lab doesnt want to convert it or any other files to .ogg. it converts them to .wss but they don't seem to work in the mission. neither does .wav. i've tried ogg drop as well but that doesnt do anything when i "drop" a wav file on it. if anyone knows of any other sound converters (dbpoweramp doesn't work either) or where i can get a good music wav file that would be much apreciatted.
oh and a link to a cowboy model for the colonel would be nice

Offline Blanco

  • Former Staff
  • ****
Re:wagner doesnt work
« Reply #1 on: 31 Jul 2005, 17:15:23 »
Quote
I think its just the file which originally wasnt wav but i just changed its name to have ".wav" at the end.

I'm sure thats the problem, you can't just rename a file extension...
What's the extension of the original file?
Search or search or search before you ask.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:wagner doesnt work
« Reply #2 on: 31 Jul 2005, 19:34:19 »
Get Goldwave.

If you want to know how to put sound into your mission here's a short tute,

Get Goldwave from here,

http://www.goldwave.com/release.html

Then record your voice using Goldwave and a mic or select a music file and convert it in Goldwave. .ogg is at the bottom of the "save as" list I think.

Next create a new folder in the folder where your mission is. Call it sound. It will be created in the Flashpoint folder summit like this,

C:\Program Files\Codemasters\Operation Flashpoint\Users\yourname\missions\yourmissionname

Next you must create a Description file using the notepad or wordpad.
Save it as Description.ext. Where it says save as type: set it to All Files

In this notepad file put this,




class CfgSounds
{
sounds[] = {Yoursoundfilename };
class Yoursoundfilename
{
name = "Yoursoundfilename";
sound[] = {"Yoursoundfilename.ogg", db+20, 1.0};
titles[] =
{
0, $STRM_Yoursoundfilename
};
};




You can cut and paste that bit up there.
Save it.

If you've put everything in the right place then the file should appear in the editor. Just make a trigger and in the second page you can call it up from the same place as the BIS default sounds. Obviously you can also call it from a script with the playsound command or the say command etc.

I'm probably telling you stuff you already know. If not then post back with any problems and we'll help you get through them.
« Last Edit: 31 Jul 2005, 19:38:56 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

daedalao

  • Guest
Re:wagner doesnt work
« Reply #3 on: 01 Aug 2005, 22:29:57 »
I use Audacity for recording, converting and creating all sorts of different music/sound effects.  It's free and you can get it here http://audacity.sourceforge.net

Anyways, it's really simple, you just open up your .wav or your .mp3 and export it as a .ogg :) (all of this can be done from the File menu)

Stinky Nut Rappa

  • Guest
Re:wagner doesnt work
« Reply #4 on: 03 Aug 2005, 18:26:18 »
Quote
What's the extension of the original file?
it was a wma file but dont know what that means.

that goldwave is amazing. it starts off crackly but the sound that comes out is great
does anyone know how to set the trigger so it only goes off once the helicopters have taken off?
« Last Edit: 03 Aug 2005, 18:39:15 by Stinky Nut Rappa »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:wagner doesnt work
« Reply #5 on: 04 Aug 2005, 03:17:11 »
wma is a windows media player sound file, compressed to about half the size of an mp3
anyway, i suggets you get a wma converter, or a sound editor that can import it (then save as different type) like audacity (posted above, its quite good

as for the trigger, set the activation to:
((getpos chopper1 select 2) >= 10) && ((getpos chopper2 select 2) >= 10) && ... etc etc

or you could change the height if you want