New version (1.3.9) now available
http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System
or
https://github.com/Terraxz/TerraxLighting
Someone asked for some help on creating a bioluminescent area. I think the result is rather nice, you can find it in the demo.. I had
to created a number of extra features to get it right.. so here we go, the extra features.
Added: New type of tile/region tag for swampy bioluminscent waters.
TileGlow and RegionGlow work the same as TileLight and RegionLight, but with a slow pulsing effect.
Added: A large number of features to effects.
defintion:
effect_on_xy x y radius #color duration EffectName effectduration .
effect_on_xy 560 500 50 #FFAAAA 500 FADEIN 200 -> Will start dark and slowly fade in for 200 frames and will be visible for 500 frames
effect_on_xy 560 500 50 #FFAAAA 500 FADEOUT 200 -> Will start light and at frame 300 slowly fade out for 200 frames (usefull for torches?)
effect_on_xy 560 500 50 #FFAAAA 500 FADEINOUT 200 -> Will fade in for 200 frames, and after that fade out for 200 frames
effect_on_xy 560 500 50 #FFAAAA 500 GROW 200 -> Will start with 0 radius and slowly grow over 200 frames to full radius
effect_on_xy 560 500 50 #FFAAAA 500 SHRINK 200 -> Will shrink the radius at the end
effect_on_xy 560 500 50 #FFAAAA 500 GROWSHRINK 200 -> Will grow to full radius and then shrink.
effect_on_xy 560 500 50 #FFAAAA 500 BIO 200 -> Combines FADEIN,GROW and FADEOUT to create a slowly forming and then fading sphere.
Aside from fixed values variables can also be used while scripting
effect_on_xy #0001 #0002 #0003 #FFAAAA 500 will create a lightglobe on the coordinates in gamevariables 1 and 2,
and the radius from gamevariable 3.
See the swamp area in the demo for an example.
Terrax.