Air Capacity property for player class

Moderator: GZDoom Developers

Post Reply
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Air Capacity property for player class

Post by Ed the Bat »

Would it be possible to add a property for player classes to have custom air capacities? Sometimes I develop characters that should be able to hold their breath longer (or possibly indefinitely), and trying to manipulate it real-time with ACS is hacky and unwieldy...
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: Air Capacity property for player class

Post by NeuralStunner »

I would love this as well.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Air Capacity property for player class

Post by Graf Zahl »

Added as a multiplier for the level's air supply value. So a value of 1 means to use the level's air supply, 2 means to double it and anything <= 0 means infinite air supply for the player class.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Air Capacity property for player class

Post by Ed the Bat »

Works for me! Thanks. :)
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: Air Capacity property for player class

Post by NeuralStunner »

Awesome, thank you. :)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”