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 / gasmask script ambient light help

Author
Message
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 13th May 2016 11:57
Hi, I'm using this great free gasmask pack and all works fine .. only issue is that after I use the gasmask the ambient light of my level dont return to its initial state

e.g if my ambicne level is set to "0" after i use the gasmask the ambient become lighter even if the value continue to remain setted to "0" in my level

this is the script pack link thread
https://forum.thegamecreators.com/thread/196008

and this is the gasmask_main script



i think a "reset ambient" effect must be added to the "state=3" line of code but dot know how to accomplish that...


any help is appreciated..
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 14th May 2016 01:43
JC LEON
Quote: "after I use the gasmask the ambient light of my level dont return"

Quote: "ambicne level is set to "0" after i use the gasmask "

Easy fix, open the script and look at line "state=1". See where it reads "ambience=95" (actually I see ambience=95 twice? Dont know why. Delte one of those)
That sets the ambience to 95, so now just put "ambience =0" right before or after "hudunshow=goggles" on line "state=3"
That should fix the problem
best
My games never have bugs. They just develop random features..
Lots and lots of random features...
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 14th May 2016 18:17
got it ..works fine now...
many thanks...

as you know..has someone made a gasmask script or pack that include the air refill too?

e.g., gasmask air drain and after a tot of time we requires an air bottle to refill the gasmask reserve..
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 14th May 2016 22:07
JC LEON
I recall Tax78 making something very close to this. Here's a link to it...
https://forum.thegamecreators.com/thread/199271
It doesn't use a "goggle" hud, but that's easy to add.
My games never have bugs. They just develop random features..
Lots and lots of random features...
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 15th May 2016 17:31
Thanks i'll take a look and try to undestrand how it works
TMoney Moterbike Dude
8
Years of Service
User Offline
Joined: 15th May 2016
Location:
Posted: 26th May 2016 00:33
Ok I know that this is the wrong place to ask this, but will the gas mask work for FPSC x10?

Login to post a reply

Server time is: 2024-11-23 08:22:37
Your offset time is: 2024-11-23 08:22:37