OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Nico [BOS] on 25 Sep 2009, 23:55:27
-
Hello,
(A French trying to write in english ^^)
Here my goal :
I would like to create a fade sound (from 0 to normal level) at the beginning of a SP mission.
In the story, at the beginning the player is in cargo of a UH-1 flying.
I would like the sound of turbines gradually come (from 0 to normal level) to the ears of the player.
I tried with :
- file init.sqf :
0 fadesound 0;
[] execVM "volume.sqf";
if (true) exitWith {};
- file volume.sqf :
sleep 1;
10 fadesound 1;
if (true) exitWith {};
When I launch the mission there is no sound, so the first step is reached.
But after less than 2 second the sound comes directly, there is no fade sound : the second step is failed.
So, do you have an idea or an other way for me to reach my goal ?
Thank you.
-
Yes, that is a bug with the sound of the vehicle itself.
You have an option, record the sound of the chopper and configure it in the description.ext.
Start the mission with your fade command and just after that command execute a chopper say3D your chopper engine sound resource name. Make sure the recorded sound time is the same as the time to fade the sound. So, when your custom sound ends the sound volume is max and the real chopper engine sound will be there.
-
I'm late to answer (HDD down) :)
Unfortunately I expected this response ^^
Thank you.