
http://springfiles.com/spring/lua-scrip ... op-package
Now on github: https://github.com/The-Yak/lavashader
2.3:
-added new lavatex by qray
-fixed lavalevel errorspam with some games
-renamed lava2.1.lua to lava.lua (for easy overwriting for future updates)
2.2 changes:
-extended lava beyond map edges
-removed foam.tga (unused)
-optimized lavasplosions (thanks nixtux)
2.1 Changes:
-fixed messed up partially see through units if /luashaders off
-added readme
----------------------------------------
For example usage see map Violence_3
----------------------------------------
Includes:
-Lava gadget (GPL)
-hover playable lava
-working GLSL shader
-dynamic edge glow
-several different seamless lava textures (default seen above)
-improved lavasplosions (thanks [BoS]nixtux)
-hover damage workaround
-lava ambiance widget
How do I use this shit in my map?
Just extract the .7z into your map folder. That's all, works out of the box. Set voidwater=0 in your mapconfig or you will see water flicker above lava on some settings.
How do I change the lavatexture?
Find all instances of lavacolor3.png in lava.lua and change to desired image (make sure it's in /LuaRules/images/). One changes texture for GLSL shader and one for fallback mode.
Can I change the height of the lavaplane?
Yes, just change lavaLevel, but this will break hover playability. Right now it is set equal to waterlevel.
Can this extend beyond map edges/onto an infinite plane?
As of version 2.2 somewhat, not an infinite plane but a large one
Who is behind this?
Assembled by The_Yak
Knorke, Beherith, Anarchid, The_Yak - Lava gadget
Audionautics, e__ - Lava SFX from freesound.org
lava textures - yhughes, mavrosh, sadronmeldir, qray
Kloot - Hover waterdamage workaround
[BoS]nixtux - Improved lavasplosions