Tremulous Forum
Media => Mapping Center => Topic started by: swamp-cecil on August 24, 2011, 06:31:12 pm
-
Can someone please make me a lava shader? I tried using the one from ancient remains andit didn't work (Ingar helped me, but he couldn't find out why, it didn't work either). Once I get the shader, I can (literaly) release my map.
-
Did you try the one from thermal?
-
No. I'll try that one.
-
Doesn't seem to work, either. Which means I still need one.
-
i'll give you a shader. ::/dev/humancontroller grabs a lava shader from Thermal.::
instead of asking for a shader, which will most likely not work for whatever reason anyway, you should state what exactly don't you like about the shaders you've already tested.
-
IIRC from IRC, they don't kill things, but i got the impression, from mappers who tried to help him, that they don't on their own anyway.
-
IIRC from IRC, they don't kill things, but i got the impression, from mappers who tried to help him, that they don't on their own anyway.
which means someone forgot to put a trigger_hurt in some lava area.
swampy: note that shaders are graphics rendering programs, and they have no influence on the game logic whatsoever.
-
...
swampy: note that shaders are graphics rendering programs, and they have no influence on the game logic whatsoever.
Surfaceparms influence game logic. Slime and lava should do damage.
-
So make like a good mapper and workaround.
-
So make like a good mapper and workaround.
My map is allready done. I just need the lava and it can litteraly be released.
I tried AR lava and geothermal lava. The thing with geo lava is that I see the texture ingame, but there is absolutely no shader code visible (morphing, glowing etc). Tecnicaly it means that I somehow don't have the .scripts or I used the wrong texture/shader in the editor.
-
swamp-cecil,
the shader from ancient_remains works fine.
I made a small box map with a lava pit.
I pasted the shader from ancient remains into lavabox.shader and edited it.
textures/lavabox/lava
{
q3map_globaltexture
surfaceparm trans
surfaceparm noimpact
surfaceparm lava
surfaceparm nolightmap
q3map_surfacelight 600
cull disable
tesssize 128
cull disable
deformVertexes wave 100 sin 3 2 .1 0.1
{
map textures/lavabox/lava.tga
tcMod turb 0 .2 0 .1
}
}
(The original is textures/ancient_remains/lavahell on line 47 of ancient-remains.shader)
I added a line with lavabox to my shaderlist.txt.
I made the entire brush out of lava, no caulk or nodraw.
Compile, run, screenshot.
* (Credits to Dasprid for Ancient Remains)
-
Weird...I did everything you said -except- for the shaderlist.txt. Thats in the netradiant folder, right?
-
Weird...I did everything you said -except- for the shaderlist.txt. Thats in the netradiant folder, right?
base/scripts/shaderlist.txt
If you don't have it, you can make one. By default it contains:
arachnid2
atcs
karith
nexus6
niveus
transit
tremor
uncreation
common
common-trem
titan
displays
misc
plant_life
water
In the example, I added another line with lavabox.
Note that it needs to be in S:\omewhere\Tremulous\base\scripts
and not in %APPDATA%.