OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: T3kNiCkeL on 28 Sep 2002, 00:56:25

Title: Cutscene w/o SFX
Post 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.
Title: Re:Cutscene w/o SFX
Post by: Sui on 28 Sep 2002, 05:20:37
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 ;)
Title: Re:Cutscene w/o SFX
Post by: T3kNiCkeL on 28 Sep 2002, 15:50:33
thanks for the kind words, and of course for the snippet thx man cya
Title: Re:Cutscene w/o SFX
Post by: ProP-JunKie on 02 Oct 2002, 17:29:52
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
Title: Re:Cutscene w/o SFX
Post by: Gameer_77 on 02 Oct 2002, 21:20:46
You just need to put - 0 fadesound 0.1. Why? What are you doing with it?  :o

 8)PEACE
Title: Re:Cutscene w/o SFX
Post by: Chudley on 03 Oct 2002, 01:43:58
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

Title: Re:Cutscene w/o SFX
Post by: ProP-JunKie on 07 Oct 2002, 02:21:45
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?