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 / Can you cancel ambience changing once you've build a game?

Author
Message
spex_guy
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location: coming to a forum near you!!!
Posted: 12th May 2007 22:58
I was just wondering how, or if it's even possible. I wanted to know this because in some parts of my game, it would make it a lot easier for the plr to get through mazes and and stuff like that.

Go here!
http://forum.thegamecreators.com/?m=forum_view&t=94201&b=19
Makes the sense of my location!
MikeB
17
Years of Service
User Offline
Joined: 5th Apr 2007
Location: My Computer, Shropshire, England
Posted: 13th May 2007 09:58
I believe you can change ambience through code.

Try adding this action to the plrinzone.fpi script.

ambience=25 (that's the normal)
ambience=10 (that's for dark games)

E.D.

vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 13th May 2007 11:49
It may be changed in the setuplevel.fpi once the game is built.
Steam Assassin
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: behind you...
Posted: 13th May 2007 17:25
Quote: "Can you cancel ambience changing once you've build a game?"


Not that I know of.

Your signature has been erased by a Mod, because penguins are my favorite animal.
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 13th May 2007 20:17
Here's a script I made that will do it. Place a triggerzone over the start marker, give it this script, and whala. You could modify the script to include the value you want:



spex_guy
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location: coming to a forum near you!!!
Posted: 14th May 2007 00:01 Edited at: 14th May 2007 00:01
Umm, I don't think you guys got what I meant.

I mean like when you have already build a game, with lvl's and everything, and made it into an .exe, you can stop the plr from changing the ambience while their playing the finished .exe

Go here!
http://forum.thegamecreators.com/?m=forum_view&t=94201&b=19
Makes the sense of my location!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 14th May 2007 00:43
Because the keystroke function is built into the engine, and not scripted (I'm pretty sure that ambience is just an action, and not a condition) we have no way to disable it without altering the source.

If I'm wrong and it is a condition as well (ambiencegreater=?) then you can create a global script, attached to a light or something, that watches the ambience and puts it back to 0 when it changes. Alternatively, creating multiple zones along the players path that change the ambience to 0 may work, that is if the script can override the engine.

Best.

I'm sorry, my answers are limited. You must ask the right question.

puppet
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: at my computer
Posted: 14th May 2007 21:49
using the "<" and ">" keys bumps the ambient light up or down in built games
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 16th May 2007 01:01
My script does exactly what you want - once the player has entered the zone (usually placed on the start maker) it is forced at that ambience level. The < and > keys will have no effect because it keeps resetting.

spex_guy
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location: coming to a forum near you!!!
Posted: 17th May 2007 03:17
Thank you. That was what I wanted to know.

Go here!
http://forum.thegamecreators.com/?m=forum_view&t=94201&b=19
Makes the sense of my location!

Login to post a reply

Server time is: 2024-11-26 12:30:00
Your offset time is: 2024-11-26 12:30:00