OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: T3kNiCkeL on 28 Sep 2002, 00:56:25
-
I'm looking to make a dramtic cutscene, it features slo mo and a nice touch i thought would be to add, or rather detract the regular sfx from the game, since its just cool and the sfx in slo mo ofp don't exactly fit in with the actions that are happening, the other thing i also need is to still have custom music playing in the background, so the sound won't be off completely on the sfx, I would be very grateful if any could tell me any information on this.
-
Welcome to the forums, T3kNiCkeL
A couple of commands you might be interested in:
time fadesound volume
time fademusic volume
So if you wanted to make your sound volume fade to almost inaudible for your cutscene, you could use:
0 fadesound 0.1
That would fade the sound to 10% volume (default volume is 1.0) over a period of 0 seconds (instantly).
Fademusic is used in exaclty the same way ;)
-
thanks for the kind words, and of course for the snippet thx man cya
-
where in the script do you put this. I tried it and nothing happened. So I figure I did it wrong (like usual) anyone have an example of how it's supposed to look in the script????? :-X
-
You just need to put - 0 fadesound 0.1. Why? What are you doing with it? :o
8)PEACE
-
To fade the sound to 10% instantaneously. (big word, eh? :D)
And to play music at 100% volume, paste this at the start of your script.
Intro.sqs
--------
0 fadeSound 0.1
0 fadeMusic 1.0
-
cool ill try it. will this take out the sounds of helo engines and explosions and things like that, or just small arms fire and voices?