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 / Light switch

Author
Message
Mr Flowerkohl
19
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 6th Apr 2006 15:50
Hi there !

I`ve got a big big problem with light switches. They just dont seem to work. Ive read all topics about this in the whole forum but i found absolutely nothing which helped me.

i placed a light in a dark room , set it to static. the lights name is "Light". then i placed a switch in the level and set at IF USED = Light. If i turn the swich on and off , nothing happens except the switch is bright or dark.

i also tried to load lightoff.fpi to the lights startscript so youve to turn on the light before you can see anything. doesnt work either.

ive never seen working dynamic light switches in any fpsc game. so....tell me please if you know it. how is it possible ?

Thanks

yeah...thats the ticket !
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 6th Apr 2006 16:00
The light should be dynamic, not static.

Tom

Support your local Riker 9 Chapter.
Mr Flowerkohl
19
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 6th Apr 2006 16:48
o.O

...

I know ! But it didnt work either!

suggestions ?

yeah...thats the ticket !
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 6th Apr 2006 18:18
The "if use" name on the switch has to match the name of the dynamic light you are trying to turn on/off.

FLA
Mr Flowerkohl
19
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 6th Apr 2006 23:15
i know. it matches the name exactly. does still not work !

WHY ?

yeah...thats the ticket !
Mr Flowerkohl
19
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 6th Apr 2006 23:49
i tried to play the dynamic lights tutorial level , but the lightswitches dont work there, too !!! anybody has a good answer to this?

it gets me angry

yeah...thats the ticket !
Mr Flowerkohl
19
Years of Service
User Offline
Joined: 19th Jan 2005
Location: Deutschland - Germany
Posted: 6th Apr 2006 23:57
Ok i got it !!!!

Dynamic lights are not possible when you want to have shader effects.

THATS A BIG BIG BIG BIG BIG PROBLEM !!!!
i dont want to make a game without shader effects. every game today
uses shader effects. and why the hell is it not possible to use dynamic lights with shaders ?????

yeah...thats the ticket !
Spawn
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location: On a chair in front of the computor
Posted: 21st Apr 2006 02:45
Change the if used script to lighton.fpi

I hate everything and everyone (exept for the people and things that I like.)

Login to post a reply

Server time is: 2024-04-25 12:14:43
Your offset time is: 2024-04-25 12:14:43