Jump to content

Recommended Posts

Posted

Hi - I am trying to get a .wav of the russian anthem to play in a mission at mission start.

 

The wav is available at link below - scroll to bottom to download - its the second .wav with lyrics

http://www.angelfire.com/sc/usmclan/anthem2.html

is there a limit on the sound file size for it to play?

 

the trigger i am attempting is simple:

 

Mission start/no conditions/action=Play sound/sound=SNALyrics.wav

 

no go when i test with the fly button.

 

:helpsmilie:

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted (edited)

Also, I could be wrong, but you might not hear the sound unless you are in the cockpit the moment it starts which I think is impossible. Use a "time since" flag and start the sound a minute after mission start.

Edited by Crunch
Posted
Also, I could be wrong, but you might not hear the sound unless you are in the cockpit the moment it starts which I think is in possible.

This does not matter. the SOUND action works regardless if you are in or outside the cockpit. The COALITION SND action obviously only works if you are on that coalition.

 

Use a "time since" flag and start the sound a minute after mission start.

Crunch is right here. For some reason you can't play a sound from the MISSION START trigger. Instead you have to use something like:

ONCE(Play Anthem) // TIME MORE(1) // SOUND(SovNatlAnthem.wav)

 

I tested this and it works flawlessly.

 

I would advise you though to convert the wav file to ogg format, as that is compressed and makes the size of the mission smaller.

There are only 10 types of people in the world: Those who understand binary, and those who don't.

Posted

cc will try and report back

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...