Author Topic: lava shader  (Read 9396 times)

swamp-cecil

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
lava shader
« 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.
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

A Spork

  • Spam Killer
  • *
  • Posts: 1010
  • Turrets: +37/-230
    • Spork - Unvanquished.net
Re: lava shader
« Reply #1 on: August 24, 2011, 07:43:42 pm »
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

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
Re: lava shader
« Reply #2 on: August 24, 2011, 08:06:10 pm »
No. I'll try that one.
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

swamp-cecil

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
Re: lava shader
« Reply #3 on: August 26, 2011, 03:24:39 am »
Doesn't seem to work, either. Which means I still need one.
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Re: lava shader
« Reply #4 on: August 26, 2011, 03:45:12 am »
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

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: lava shader
« Reply #5 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.
my knees by my face and my ass is being hammered

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Re: lava shader
« Reply #6 on: August 26, 2011, 05:25:39 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

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: lava shader
« Reply #7 on: August 26, 2011, 10:39:11 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

  • Posts: 3815
  • Turrets: +147/-187
Re: lava shader
« Reply #8 on: August 26, 2011, 06:37:24 pm »
So make like a good mapper and workaround.
U R A Q T

swamp-cecil

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
Re: lava shader
« Reply #9 on: August 26, 2011, 06:46:42 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.
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: lava shader
« Reply #10 on: August 26, 2011, 06:52:06 pm »
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.

Code: [Select]
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)
« Last Edit: August 26, 2011, 06:54:10 pm by Ingar »

swamp-cecil

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
Re: lava shader
« Reply #11 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?
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: lava shader
« Reply #12 on: August 26, 2011, 09:15:39 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:

Code: [Select]
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%.