Randome time gadget
Posted: 05 Aug 2016, 18:38
Here is a little gadget that changes map lightning dynamically with the new callouts that are available since 100.
It fluctuates the light with randomness, with extremes being less possible as time passes.
This gives maps a subtile but noticable change in lightning.
It also has a slight fog applied that is constant, as i had been unable so far to get the hang of it.
I want to improve in the future with dynamic fog and rain too, but so far so good.
Just stick it into LuaGaia/Gadgets folder and youre all good.
Note though you cant see it at pregame because math.random is not avaialbe there.
http://paste.springfiles.com/view/b9bdd60a
It fluctuates the light with randomness, with extremes being less possible as time passes.
This gives maps a subtile but noticable change in lightning.
It also has a slight fog applied that is constant, as i had been unable so far to get the hang of it.
I want to improve in the future with dynamic fog and rain too, but so far so good.
Just stick it into LuaGaia/Gadgets folder and youre all good.
Note though you cant see it at pregame because math.random is not avaialbe there.
http://paste.springfiles.com/view/b9bdd60a