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 / Dynamic light strength (Just a quick tip for those who doent know)

Author
Message
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 7th May 2009 02:40 Edited at: 18th May 2009 03:42
MOD: could you fix my typo "doent" to "dont". Thanks.

I have seen a lot of games that use dynamic lights that look "dull".

For an example, you may have noticed that if you place a dynamic light and a static light down, and test the game, you will notice that the dynamic light seems less bright compared to the static one.

To "fix" this, simply add something like this to the light's script:
"lightintensity=500" (This is an "action")

Here is an example:

Quote: ";Artificial Intelligence Script

;Header

desc = Light Toggle (On By Default)

;Triggers

:state=0:lightintensity=500,state=1
:state=1,activated=0:state=2,lighton
:state=2,activated=1:state=1,lightoff

;End of Script"




Many senior Fpsc users know this, but there are a lot of people who dont.

So now you do.

john schwarcz
User Banned
Posted: 7th May 2009 06:12
very useful which script is this editing ?

shadow666
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 7th May 2009 07:43 Edited at: 18th May 2009 03:42
Light1.fpi

john schwarcz
User Banned
Posted: 7th May 2009 14:19
thougt so. thanks

shadow666
General Jackson
User Banned
Posted: 8th May 2009 00:03
Oh, thanks, I didnt know that!

He stood like a stone wall, not only in battle, but also for the Lord
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 8th May 2009 00:55 Edited at: 18th May 2009 03:42
Glad it helps guys!

Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 9th May 2009 05:37 Edited at: 18th May 2009 03:42
One last bump.

jeffhuys
19
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 22nd May 2009 18:08
Nice, thanks



You're the 'th to view this signature!
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 22nd May 2009 18:33
You are welcome.

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 22nd May 2009 20:07
It is already integrated in our guide: you wantes to be updatedofftopic) lens flare work in fpsc see more in thread

Login to post a reply

Server time is: 2025-05-24 19:29:41
Your offset time is: 2025-05-24 19:29:41