More DamageMobj Flags

Like feature suggestions, but you've actually written code to make it happen. More likely to make it into the game than some random request in feature suggestions.

Moderator: GZDoom Developers

Forum rules
Please see Code submission guidelines

GZDoom Status:
Image

Legacy Status:
Image Image

QZDoom Status:
Image

More DamageMobj Flags

Postby Major Cooke » Sat Jan 16, 2021 3:05 pm

Pull Request

I had completely forgotten to host this here, oops. Anyway...

  • DMG_NO_SKILL - Damage received is not modified by skill damage factor.
  • DMG_NO_CVAR - The various damage scaling server cvars are ignored.
  • DMG_SECTOR - Informational flag. The primary purpose of this flag is used to indicate that damage is coming from a sector. There are times where I'm trying to differentiate between when a sector is dealing damage and when a script is. There are times when the player could be on a damaging floor and they may receive damage both from the floor or from a script at the same time, possibly with the same damage type as slime, fire, or whatever. This helps differentiate when it's coming from an actual sector or from something else.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Return to Code Submissions

Who is online

Users browsing this forum: No registered users and 0 guests