dooom Posted January 19, 2011 Posted January 19, 2011 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
104th_Crunch Posted January 19, 2011 Posted January 19, 2011 Make sure you test as a player within the cockpit.
104th_Crunch Posted January 19, 2011 Posted January 19, 2011 (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 January 20, 2011 by Crunch
Case Posted January 19, 2011 Posted January 19, 2011 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.
dooom Posted January 20, 2011 Author Posted January 20, 2011 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
Recommended Posts