Custom damage types for melee attacks
Moderator: GZDoom Developers
- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
Custom damage types for melee attacks
Would it be possible to add a parameter for A_CustomPunch/Melee/ComboAttack that takes a damage type? Useful for making melee attacks do eg. fire/ice damage or special effects such as drain life and knockbacks.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Custom damage types for melee attacks
I'd say this is already in. For player weapon punches/hitscans, DamageType is specified in the Puff (which can be selected in the parameters). For monster attacks, damage type is already included in the parameters directly.
- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
Re: Custom damage types for melee attacks
So that's how they're done...ok ty, thread finished.