Solid lava and slime

For all topics related to using or installing radiant
Post Reply
RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Solid lava and slime

Post 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!)
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

flajeen
Posts: 289
Joined: Wed Aug 17, 2011 7:13 pm
Location: Évora, Portugal

Re: Solid lava and slime

Post by flajeen »

Try playerclip?
Image

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: Solid lava and slime

Post by RedSnappa »

Like having surfaceparm lava and surfaceparm playerclip? OK, I'll try it.
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

flajeen
Posts: 289
Joined: Wed Aug 17, 2011 7:13 pm
Location: Évora, Portugal

Re: Solid lava and slime

Post by flajeen »

Not that, make two copies of a brush and texture one of them with playerclip.
Image

RedSnappa
Posts: 323
Joined: Sun Aug 21, 2011 12:10 pm
Location: North Carolina (USA)

Re: Solid lava and slime

Post by RedSnappa »

It is solid now but it does not burn the player...
[LCDLC]Snappa
LCDLC Mapmaking Dept.
Maps finished: Hellhouse, Sorry, Worrior 1-20
Maps modded: CubeOrigin
Maps in release candidate: Blockforts, Cannons 1, Hotzone, Icecastle
Maps in beta: Arctica, Cannons 2, Cerulean-River, Igloo, Skygarden, Spacestation
Maps in alpha: Merlin, Totem

vulture
Posts: 59
Joined: Mon Feb 27, 2012 6:57 pm

Re: Solid lava and slime

Post 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.

User avatar
DagF
Posts: 277
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:

Re: Solid lava and slime

Post 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).
Image

Post Reply