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 / Flashlight v2. any way to make the light stop at a distance?

Author
Message
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 1st Dec 2008 03:40
Ok so im using s4real's Flashlight V2 script



and wanted to know if there was a way to make it so you can only see so far with the flash light instead of lighting up everything no matter how far in the circle of light?

any help
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Dec 2008 05:10
Put black fog in your level at the distance the light should "stop" at?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 1st Dec 2008 05:30
Quote: "Put black fog in your level at the distance the light should "stop" at?"


ok your going to hate me but

how exactly to i put black fog in the distance? lol sorry
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Dec 2008 06:11


Change "X" to the distance from the camera you want the fog to be. 1 segment is 100 units wide, so 4 segments away would be 400.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 1st Dec 2008 06:26
ok

uhm that didnt work
The floor and ceiling just turned black at a distance



but the walls and entities stayed visible and bright
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Dec 2008 09:29
Can you tell me exactly what that line is supposed to be doing?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
meteorite
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: The Capital Wasteland
Posted: 1st Dec 2008 22:58
To be a little more constructive, (while I dont know the exact solution to the problem) if you want it to always happen, then get rid of the state=0 bit at the beginning, or the other way around.... but then again, it doesnt leave state=0, so it really doesnt matter.

As for your use of fogblue, you didnt apply a value.

And with the extra state=0 bit at the end, you don't want the third colon behind it, you only want two (one signaling beginning of conditions, one signaling beginning of actions and end of conditions). Also, you don't even really need the state=0 at the end, because you are already in state=0. I hope that you figure out how to solve your problem.


Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 1st Dec 2008 23:15
yeah i know i thought it was stupid to have the 3rd colon but the fog tutorial in the Community guide had it so i said what the heck

but ok

@ply- its supposed to be making the fog black and close up to me at a distance but all it does is make the floors and ceilings black at that disntance
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 2nd Dec 2008 05:53
ALRIGHT!

MY FOG SCRIPT WORKS!

I realised everything it wasnt working on was everything from the scifi area of entites and segments

But WW2 works just fine

so... how do i make scifi work eh?
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 2nd Dec 2008 09:04
Is Full Shader Effects turned on? If it is, try turning that off to see if it makes a difference.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
Crusader2
16
Years of Service
User Offline
Joined: 8th Aug 2008
Location: Somewhere...
Posted: 3rd Dec 2008 03:16
Shaders = bad. They don't work on some objects and I don't know how to turn them on or off. Hehe, I don't need em though.

Must... help... bunny... achieve... world... domination... all... hail... bunny...
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 3rd Dec 2008 17:17
yeah i dont know how to turn them on or off either
Gsph719
16
Years of Service
User Offline
Joined: 23rd Nov 2008
Location:
Posted: 4th Dec 2008 03:06
haha nevermind i knew how to turn them off but i didnt think thats what they were talking about by shaders
To turn them off
Go to File
Prefences
Then Theres a button for No Shader Effects

Graphics Drop but eh

Login to post a reply

Server time is: 2025-05-23 07:04:05
Your offset time is: 2025-05-23 07:04:05