Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Sound Zone Question

Author
Message
OoBlazeoO
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 15th Jun 2008 02:21
Is there some sort of script that
keeps the sound zone alive after getting
out of it?

If anyone has played Silent Hill they'd
know what I'm talking about.. Like, when you
leave out of a room that was playing a certain
sound, then you go back in it, it plays the sound
again and it loops until you leave the room or that
zone..

If there is a script for this can someone please
point it out to me, or if there isn't, does anyone
feel like doing a good gesture? I think it would benefit
us all. =]
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Jun 2008 05:21
There are two scripts that come with FPSC made for sound zones. They are "soundinzone.fpi" and "soundloopinzone.fpi". The first will play a sound when the player goes into the sound zone and never play it again. The second will loop the sound while the player is within the zone. When the player exits the zone, it will stop playing, but will re-play the sound when the player goes back into the zone.

It sounds like the second script is the one you're looking for so put that into your sound zone's Main AI field in its properties.


The one and only,


OoBlazeoO
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 16th Jun 2008 11:59
Thanks a bunch!
Unfortunately, the only problem is that
I have to fill up the area with the same zone
and when done so the sound kind of sounds a bit...skippy :S
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Jun 2008 22:41
You can stretch zones in the editor so that a single zone can extend over a wide area.

Hold Shift, then click and drag the zone to stretch it.


The one and only,


Silver Eye Productions
User Banned
Posted: 4th Jul 2008 16:39
Quote: "Hold Shift, then click and drag the zone to stretch it."


That's what i do in my fpsc games.

http://www.geocities.com/saturnjupiter28

Login to post a reply

Server time is: 2024-11-24 11:05:48
Your offset time is: 2024-11-24 11:05:48