OpenArena Message Boards

OpenArena Contributions => Maps => Topic started by: kronix on September 02, 2007, 11:31:44 PM



Title: oa-shouse lava modification
Post by: kronix on September 02, 2007, 11:31:44 PM
One of my favorite maps to use in oa0.6 was mc-oa-dm03 from the map-canter map pack.  I was very excited to see it's inclusion into OA0.7 with several improvements as oa-shouse.  I loved all of the graphical changes except for the new lava.  To me it was bright, repetitive, and pretty much just sat there with barely any movement.

Originally I was gonna just post and see if anyone could change it to look a little better, then I decided to look into it on my own a bit.  I only ended up adding about 4 lines to the liquids-lava shader file.  I really like how it came out, and was just wanting to see if anyone else was interested:

before:(http://img489.imageshack.us/img489/7139/lavabeforezw2.th.jpg) (http://img489.imageshack.us/my.php?image=lavabeforezw2.jpg) after: (http://img505.imageshack.us/img505/7386/lavaafterkf8.th.jpg) (http://img505.imageshack.us/my.php?image=lavaafterkf8.jpg)
click thumbnails to view larger image

I've attached the .pk3 file for the modification.  just unzip it into your baseoa folder.


Title: Re: oa-shouse lava modification
Post by: dmn_clown on September 03, 2007, 12:12:34 AM
Code:
textures/liquids/lavahelldark
{
qer_editorimage textures/liquids/lavahell3.tga
q3map_lightimage textures/liquids/lavahell.tga
surfaceparm lava
surfaceparm nolightmap
surfaceparm nomarks
surfaceparm noimpact
surfaceparm trans
q3map_surfacelight 100
cull none
deformvertexes wave 1 sin .01 .03 0 0.2
{
map textures/liquids/lavahell3.tga
tcmod scroll -.005 .001
tcMod turb .2 -0.03 0 0.1
                tcMod scale 0.25 0.25
}
}

You were mapping the texture twice without any blend function, essentially just wasting resources.


Title: Re: oa-shouse lava modification
Post by: kronix on September 03, 2007, 12:26:27 AM
yeah.. pretty obvious it's my first attempt at messing with this stuff, huh...

I've uploaded a newer .pk3 in my first post with a more resource efficient version.


Title: Re: oa-shouse lava modification
Post by: Euwe on September 04, 2007, 02:49:25 AM
Looks better, it's less repetitive that way. Nice