Damage resistances

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Hasuak
Posts: 204
Joined: Sun Jul 15, 2007 9:44 pm
Location: Raahe, Finland

Damage resistances

Post by Hasuak »

Okay, I'm right now creating a weapon that's altfire shoots a projectile that's supposed to be an insta-kill for anything except bosses. This projectile will have unique damage type for different death animation. Just wondering, how can I make the projectile not to affect the bosses at all? Like, they won't make them 'pain', thrust or react at all. Not even bleed. Just that the particle disappears when hit.

I know there is a simple command(s) for this, but I dunno really. I don't want to use the usual damagetype resistance thing either, because it still makes the person bleed.
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Damage resistances

Post by Demolisher »

+NoBlood
but then the bosses will never bleed...

Code: Select all

damagefactor "DamageType", 0.0
painchance "DamageType", 0
Will take care of the pain anim and the no damage.
replace DamageType with your custom damagetype.
Edit: damage types are probably the way to go.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Damage resistances

Post by Gez »

If your projectile inherits from [wiki=Classes:PoisonBolt]PoisonBolt[/wiki], it'll do nothing to non-bleeding enemies, deal 50 damages to bleeding bosses, and insta-kill anything else.
Locked

Return to “Editing (Archive)”