Author Topic: Powered Light  (Read 847 times)

The player light, modified to have x amount of power that drains at a y-per-second rate (x and y can be changed with RTB prefs) that can be charged with an 'addLightEnergy [z]' (z being the amount of energy given to the light) and when the light runs out of energy it shuts off.

I'd prefer this to not be a tool and instead a 'Server_' add-on for the sake of convienency.

tl;dr:
Light acts like a flashlight, run out of power, find more power.

Interesting idea... what are you planning on using this for? I sense a spooky Halloween treasure hunt coming up.

Be cool for RPG's and things.

It should also 'flicker' and have like 4 levels of brightness for the power level.

It should also 'flicker' and have like 4 levels of brightness for the power level.

That's taking it one step too far.

Nah, the flickering is stupid, but I agree with the power levels. It should get fainter as it gets really low. Maybe flicker before it goes out but otherwise.


I can try and get this to work, seems rather easy to script.
While I'm at it, I'll add a RTB prefs for Light Energy Regen if I can.

I'd prefer this to not be a tool and instead a 'Server_' add-on for the sake of convienency.
It doesn't matter what the name is, it matters how the script works. Names are just there for organization. ;)

/support

This should also include an RTB pref for a regeneration rate.
And maybe a pref for displaying the energy level.

Army, do you have some kinda list of things you want to do but cannot do at the moment due to being busy or something?

It would seem you would need one at this point.

Alright, the script is done. It is uploaded to RTB but you can download it here.

If you find any bugs please report them to me!
http://www.box.net/shared/j5hqbucjpys048edvtss

You can do this with VCE, although I suppose Daenth's script could also work if you're using a large amount of lights.

Redownload the script, swollow found I bug and I fixed it.

Army, do you have some kinda list of things you want to do but cannot do at the moment due to being busy or something?

It would seem you would need one at this point.

Yeah, yeah I do. I keep it all in my head atm. :[

Alright, the script is done. It is uploaded to RTB but you can download it here.

If you find any bugs please report them to me!
http://www.box.net/shared/j5hqbucjpys048edvtss

Well, that was fast.. I'll download once it's approved on RTB. And I can't wait to put this to use...  /evilface