Custom damage types for melee attacks

Moderator: GZDoom Developers

Post Reply
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Custom damage types for melee attacks

Post by The Ultimate DooMer »

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.
User avatar
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

Post by NeuralStunner »

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.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: Custom damage types for melee attacks

Post by The Ultimate DooMer »

So that's how they're done...ok ty, thread finished.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”