Drowning?

Archive of the old editing forum
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.
Wagi
Posts: 98
Joined: Sat Mar 01, 2008 2:12 pm

Re: Drowning?

Post by Wagi »

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.
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: Drowning?

Post by esselfortium »

Yes, that would also work.
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Drowning?

Post by Chris »

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:

Code: Select all

effective_airsupply = mapinfo_airsupply * actor_airsupply_modifier * sector_airsupply_modifier
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Re: Drowning?

Post by DoomRater »

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.
Locked

Return to “Editing (Archive)”