Air Capacity property for player class
Moderator: GZDoom Developers
- 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
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...
- 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
I would love this as well.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Air Capacity property for player class
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.
- 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
Works for me! Thanks. 
- 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
Awesome, thank you. 
