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.
Damage resistances
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.
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.
- Demolisher
- Posts: 1749
- Joined: Mon Aug 11, 2008 12:59 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Winchester, VA
- Contact:
Re: Damage resistances
+NoBlood
but then the bosses will never bleed...
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.
but then the bosses will never bleed...
Code: Select all
damagefactor "DamageType", 0.0
painchance "DamageType", 0
replace DamageType with your custom damagetype.
Edit: damage types are probably the way to go.
Re: Damage resistances
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.