Disabling Sound When Map Starts?

Disabling Sound When Map Starts?

Re: Disabling Sound When Map Starts? Posted by Deux on Sun Aug 21st 2005 at 8:21pm
Deux
11 posts
Posted 2005-08-21 8:21pm
Deux
member
11 posts 1 snarkmarks Registered: Aug 5th 2005 Location: England, UK
Hi all

Not sure if this is possible..

In my map, I want to start the game with a corpse lying on the floor. However, to get it in the position I want, I have to drop the prop_ragdoll from a small height. Now while visuals aren't a problem (it's out of sight), I can still hear it hitting the floor. I don't want to hear it, so is it possible to disable it's sound effect or all sound for about 2 secs?

Any ideas? Thanks,

Deux
Re: Disabling Sound When Map Starts? Posted by Andrei on Sun Aug 21st 2005 at 9:08pm
Andrei
2455 posts
Posted 2005-08-21 9:08pm
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
Well, I doubt you can turn-off ingame sounds using an entity. But, I
think you might be able to use an env_fade that activates on worldspawn
(the fade-in flag under map properties might do the trick, though). The
player could actually spawn in a box far away from the ragdoll and
then, while the screen is still black, be teleported to the starting
point right after the corpse had hit the ground.
Re: Disabling Sound When Map Starts? Posted by Deux on Sun Aug 21st 2005 at 10:02pm
Deux
11 posts
Posted 2005-08-21 10:02pm
Deux
member
11 posts 1 snarkmarks Registered: Aug 5th 2005 Location: England, UK
Ooh.. sounds like a plan. I'll give this a shot, thanks!

Deux