Drowning?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: Drowning?
Or a float. If the MAPINFO specifies 16 second drowning times, and the player class has 2.0, then that player class would last 32 seconds before he started to drown.
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Drowning?
Yes, that would also work.
- Chris
- Posts: 2971
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Drowning?
What about per-sector? For instance if you have a level that you want to have normal airsupply, but also have a "magic" pool that doesn't hurt you at all, or one that allows you to stay under twice as long, or one that starts hurting you sooner..
So you could have:
So you could have:
Code: Select all
effective_airsupply = mapinfo_airsupply * actor_airsupply_modifier * sector_airsupply_modifier
- DoomRater
- Posts: 8270
- Joined: Wed Jul 28, 2004 8:21 am
- Preferred Pronouns: He/Him
- Location: WATR HQ
- Contact:
Re: Drowning?
Not to mention ways to refill one's air supply without surfacing. It's very infelxible in the MAPINFO and I suspect it was stuck in there because custom classes were not completed yet.