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 Product Chat / n00b alert - soundtracks and background questions...

Author
Message
the artful regster
15
Years of Service
User Offline
Joined: 24th Sep 2010
Location:
Posted: 24th Sep 2010 20:56
Hi

I am having a bit a trouble with Sound Zone markers. I want one background music track playing in the Sound Zone 1 (SZ1) grid and another playing when the player moves into another (call it Sound Zone 2 (SZ2)).

The problem is that the SZ1 track continues playing when I move into SZ2, even though the (apparently) correct script (disappear1.fpi) is triggered on exit.

On the soundtrack subject too, is there anyway of the user altering the balance between the in game FX and Music? I know about altering the musicvolume=100 in the setuplevel.fpi, but was wondering if there was any jiggery-pokery that could do this more flexibly.

Finally, how do I set a background/sky up in the way that the C++ example does using the skybox2.x file?

Oh, and how do I set up entities so that a head-shot kills them instantly?

Thanks for any advice!

TAR
Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 24th Sep 2010 22:54
1.Doesn't work like that.You have to add a line to the first sound zone's script to determine wether the player is in x distance radius or not,and stop the sound.

Something like this

:plrdistwithin=1000:soundloop=path to mp3
:plrdistfurther=1000:stopsound


Same goes for zone 2

3.in each entity's appear script add as a first line

:state=0:headshot=60,headshotdamage=100

you can change the amount of damage from 100 to whatever you like . 60 is the height where the head of a normal character is.

the artful regster
15
Years of Service
User Offline
Joined: 24th Sep 2010
Location:
Posted: 25th Sep 2010 02:36
Thanks for the helpful reply Gencheff.

That audio logic will be useful when applying sounds to proximity to entities, but after having a more thorough look at the script list, the script I want is....

musicchangeinzone.fpi //different backing track for specific zones

The head shot advice works really well!!

Thanks

TAR`

ps, anybody, how do you apply a sky background?
the artful regster
15
Years of Service
User Offline
Joined: 24th Sep 2010
Location:
Posted: 25th Sep 2010 22:22
Apologies everyone, after R(ing)TFM I found out about the sky thing.

Login to post a reply

Server time is: 2026-07-03 15:31:12
Your offset time is: 2026-07-03 15:31:12