Source SDK

Source SDK

Valon Apr 29, 2016 @ 4:52pm
TF2: Disintegration Death Effect?
So I'm new to the Hammer editor, I understand the basics and all, but I'm wondering if there is a way to have a trigger_hurt use the disintegration effect (Phlog, Bison, Etc.) if it kills you?
< >
Showing 1-2 of 2 comments
Luctaris Apr 29, 2016 @ 9:38pm 
look into using env_entity_dissolver ( https://developer.valvesoftware.com/wiki/Env_entity_dissolver ) with your trigger_hurt filtering for tf_ragdoll. Not sure if it has options in TF2 for specific dissolve types, but it does have the hl2 one.
Last edited by Luctaris; Apr 29, 2016 @ 9:39pm
Rectus Apr 30, 2016 @ 3:43am 
I'd imagine it's done by setting a damage type flag. There is a one called DMG_DISSOLVE[github.com] in the base SDK code that might be it. If it is, setting the damage type to 67108864 ( the value of 2 << 26 ) should trigger it.

Note that the damage types are bit flags, so you can use multple ones by adding them together.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Apr 29, 2016 @ 4:52pm
Posts: 2