News:

Come Chat with us live! Learn how HERE!

Main Menu

lava shader

Started by swamp-cecil, August 24, 2011, 06:31:12 PM

swamp-cecil

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.
Quote from: DraZiLoX on December 28, 2010, 11:31:28 AM
Quote from: Repatition on December 28, 2010, 02:30:30 AM
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

A Spork

Did you try the one from thermal?
Don't shoot friend :basilisk:! Friend :basilisk: only wants to give you hugz and to be your hat

Proud Member of the S.O.B.F.O.B.S.A.D: The Society Of Basilisks For Other Basilisks Safety and Dominance
:basilisk:    :basilisk:    :basilisk:

swamp-cecil

No. I'll try that one.
Quote from: DraZiLoX on December 28, 2010, 11:31:28 AM
Quote from: Repatition on December 28, 2010, 02:30:30 AM
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

swamp-cecil

Doesn't seem to work, either. Which means I still need one.
Quote from: DraZiLoX on December 28, 2010, 11:31:28 AM
Quote from: Repatition on December 28, 2010, 02:30:30 AM
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

/dev/humancontroller

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.

Tremulant

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.
Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

/dev/humancontroller

Quote from: Tremulant on August 26, 2011, 04:00:40 AM
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.

UniqPhoeniX

Quote from: /dev/humancontroller on August 26, 2011, 05:25:39 AM
...
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.

Plague Bringer

So make like a good mapper and workaround.
U R A Q T

swamp-cecil

Quote from: Plague Bringer on August 26, 2011, 06:37:24 PM
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.
Quote from: DraZiLoX on December 28, 2010, 11:31:28 AM
Quote from: Repatition on December 28, 2010, 02:30:30 AM
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

Ingar

#10
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)

swamp-cecil

Weird...I did everything you said -except- for the shaderlist.txt. Thats in the netradiant folder, right?
Quote from: DraZiLoX on December 28, 2010, 11:31:28 AM
Quote from: Repatition on December 28, 2010, 02:30:30 AM
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

Ingar

Quote from: swamp-cecil on August 26, 2011, 07:34:20 PM
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%.