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 / How do I script music and light at a triggerzone?

Author
Message
Mr Love
18
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 24th Sep 2015 21:31
I have to ask...

How do I change ambient light, and start ambient music at a trigger zone? And how stop the music at another trigger point.
I am a 3Dgraphics designer so scripts is not for Me...
Mr Love
18
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 10th Oct 2015 02:12
What is this, 60 viewers, and not a single answer???

1. I probably can use musicoverride in My script, right?

2. Can You raise and lower the water with scripting?

Here is the sewer I want to raise the water in:

Attachments

Login to view attachments
Mr Love
18
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 10th Oct 2015 07:40
Ok! I fixed the music script, with a little help. Now I only need help with scripting higher ambient light. (Its probably easy when You find out)
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Oct 2015 14:19
I'm not home so I an't look at the docs but I think it's as simple as...



Anyway, I'm sure those commands can be verified in the community guide in your docs folder.

Brian.
I\'m sorry. My responses are limited. You must ask the right questions.
All Downloads are now HERE
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 10th Oct 2015 16:35
Hi Mr Love
Quote: " Can You raise and lower the water with scripting?"

Yes you can, do you mean like to "activate" with a trigger, or something else?
Here is a simple water trigger script. Note the "waterheight=275" which means "level-2 and 75% of that level"

And this one is just "waterinzone". The "waterheightofzone=" (any number0-100), means the water height of the zone script is placed in.

You can also just used the "pageup" and "pagedown" keys to adjust the water height during "test mode" and
hit "enter" to save.
best
My games never have bugs. They just develop random features..
Lots and lots of random features...
Mr Love
18
Years of Service
User Offline
Joined: 9th Jun 2005
Playing: MAFIA 2
Posted: 10th Oct 2015 21:07
I think I need to buy a new computer! (LOL!) When I have water in the map it lags a bit. I only have 1.50Mhz, 320Mb videocard, 4mb memory, crappy laptop! Like millions of others...

Login to post a reply

Server time is: 2024-03-28 21:53:03
Your offset time is: 2024-03-28 21:53:03