Page 1 of 1

Solid lava and slime

Posted: Fri Mar 02, 2012 7:33 pm
by RedSnappa
I tried to give the surfaceparms lava and slime to solid objects, and it doesn't seem to work. It just makes the objects nonsolid and does not give them a damaging effect. So why would I do this instead of just having a trigger_hurt? I set up a func_pendulum and wanted to have a swinging axe made out of molten rock that must be avoided, and AFAIK a trigger_hurt can't move. It looks cool like it should but it just passes through a player rather than stabbing and killing a player like it is supposed to. (The damage key on func_pendulum also appears to be broken. FS really needs to fix all of these entities!)

Re: Solid lava and slime

Posted: Fri Mar 02, 2012 10:13 pm
by flajeen
Try playerclip?

Re: Solid lava and slime

Posted: Sat Mar 03, 2012 2:53 am
by RedSnappa
Like having surfaceparm lava and surfaceparm playerclip? OK, I'll try it.

Re: Solid lava and slime

Posted: Sun Mar 04, 2012 8:26 pm
by flajeen
Not that, make two copies of a brush and texture one of them with playerclip.

Re: Solid lava and slime

Posted: Sun Mar 04, 2012 9:02 pm
by RedSnappa
It is solid now but it does not burn the player...

Re: Solid lava and slime

Posted: Sun Mar 04, 2012 10:55 pm
by vulture
Make a solid brush with the lava that you won't go through, then maybe a 1 size tall invisible brush immediately above it that does burn the player.

edit: did not see original question, but, I'm pretty sure it's not possible to have a moving brush that does damage :P I did this in my map "sort of" by adding a damaging brush BELOW the floor, where when my moving brush started "pushing" the player, they would actually get shoved down into the ground a little bit, effectively touching that damage brush and take damage. I dont know if your axe would do the same thing, but it's worth a try.

Re: Solid lava and slime

Posted: Mon Mar 05, 2012 8:09 am
by DagF
I think you can do it if you make it out of 3 brushes.

1. In the middle an origo.
2. Then make a playerclip brush.
3. Then make a lava or slime shader and add it to the 3th and final one.
this one have to be a few units bigger then the playerclip. so that it's not covered by the playerclip.
enough to let the player get hurt not enough to let the player get "suck into it"(i guess 1 to max 4 units would work).