Author Topic: Creating Enterable Lava  (Read 3790 times)

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Creating Enterable Lava
« on: August 11, 2007, 11:01:30 pm »
How do you create lava that you can enter? Like in atcs3 and thermal you can go in it but when I try it I just get a solid version. :(

Here two screenshots if you want to see:





btw if anyone wants more screenshots of the map just ask. :)
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Thorn

  • Guest
Creating Enterable Lava
« Reply #1 on: August 11, 2007, 11:16:49 pm »
The shader you are using is borked.
Edit the shader, and add nonsolid to it ( I think that was the surfaceparm)

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Creating Enterable Lava
« Reply #2 on: August 11, 2007, 11:43:36 pm »
I am not using a shader but should I?
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Thorn

  • Guest
Creating Enterable Lava
« Reply #3 on: August 12, 2007, 12:19:43 am »
Duh? A texture is only an image, it holds no properties such as see through, nonsolid, transparency , animation. Just steal the one from Sokolov :)

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Creating Enterable Lava
« Reply #4 on: August 12, 2007, 01:50:17 am »
I know this will sound a very noobish question  :oops:  but how exactly can i do it?(make the shader and all) i have tried looking here but it doesn't explain very well: http://tremmapping.pbwiki.com/Starting+Tremulous+Mapping#Shaders
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Creating Enterable Lava
« Reply #5 on: August 12, 2007, 02:04:56 am »
Knick a lava shader from somewhere, change "surfaceparm lava" to "surfaceparm water", then texture the visible surfaces your volcanic swimming pool with it, and the invisible surfaces with the nodraw shader. Here's the modified lava shader from Sokolov:
Code: [Select]
textures/[yourmapname]/lava_enterable
{
qer_editorimage textures/sokolov/lava1.tga
qer_trans .5
                q3map_lightimage textures/sokolov/lava1.tga
q3map_globaltexture

surfaceparm noimpact
surfaceparm water
surfaceparm nolightmap
surfaceparm nobuildsurface

                q3map_surfacelight 500
q3map_tessSize 64
cull disable

deformVertexes wave 200 sin 0 1 .5 .5

{
map textures/sokolov/lava1c.tga
rgbGen const ( 0.6 0.6 0.6 )
blendfunc add
tcMod turb .3 .2 1 .05
tcMod scroll .01 .02
}

{
map textures/sokolov/lava1.tga
rgbGen const ( 0.9 0.9 0.9  )
blendfunc add
tcMod turb .2 .1 1 .05
tcMod scale .5 .5
tcMod scroll .02 .01
}
}

Put it in tremulous/base/map-yourmapname.pk3/scripts/yourmapname.shader, and remember to put your map name into your shaderlist.txt else radiant won't find it.

Lava Croft

  • Guest
Creating Enterable Lava
« Reply #6 on: August 16, 2007, 09:22:00 am »
The Sokolov lava shader being a modified version of the slim shader used on Nexus6 :)

Please add me to your map.