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 / music fade

Author
Message
Lil Goldn Boi
16
Years of Service
User Offline
Joined: 29th Jun 2008
Location:
Posted: 11th Jul 2008 19:53
i searched and did not receive an answer.

does anyone have a script for fading in the music when you are fighting and it fades out when the enemy is dead?

like in resident evil 4.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 12th Jul 2008 00:18
I made a method to do this in another thread.

I'm not sure where that thread is right now, but you may want to do a search through this board to find it.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 12th Jul 2008 03:54
This is what I have so far. It worked ONCE, and now I cannot figure out what is wrong. Anyhow, this is the direction I think that you want to go in.

Assign this to a trigger zone with no $0 sound assigned.



Then give this as the destroy script to the cheracter that you want to kill and make the music fade.


Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Jul 2008 00:13
I think the one I made needed Plys Mod V1.06 in order to work.

I made it so that when the player took damage, the music would cue in, and after a certain amount of time of NOT taking damage, the music would fade back out.

It worked pretty well and was a rather small script, but the draw back was that it was reliant on my Mod in order to work.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Lil Goldn Boi
16
Years of Service
User Offline
Joined: 29th Jun 2008
Location:
Posted: 13th Jul 2008 05:25
i'm using the efx mod so is there another script i can use that will work 4 this mod?
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 22nd Jul 2008 21:43
Use Ply's mod, it rules.

Can you even get variables with EFX?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 23rd Jul 2008 00:56
To my knowledge, Ply's Mod is the only Mod that has variables.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.

Login to post a reply

Server time is: 2024-11-24 11:31:31
Your offset time is: 2024-11-24 11:31:31