[Solved] PowerUp protecting from custom damge type?
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.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
[Solved] PowerUp protecting from custom damge type?
Hey guys, currently having some trouble to find out how to make a powerup that protects against custom damage types, e.g. a custom protective suite that only protects against "CustomDamage". How can I do that?
Last edited by Tormentor667 on Fri Dec 16, 2016 2:38 pm, edited 1 time in total.
-
- Posts: 5046
- Joined: Sun Nov 14, 2010 12:59 am
Re: [HowTo?] PowerUp protecting from custom damge type?
You use [wiki=Classes:PowerProtection]PowerProtection[/wiki]:
Code: Select all
actor PowerSpecProtection : PowerProtection
{
DamageFactor "CustomDamage", 0
}
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: [HowTo?] PowerUp protecting from custom damge type?
Thanks kindly Blue Shadow