Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Doom Marine

ELIP: Damaging Sector delay question

Recommended Posts

"When a player steps onto a damaging floor, there is a very short delay before the player starts to receive damage."

https://doom.fandom.com/wiki/Damaging_floor

 

Question: Specifically, what amount of time (e.g. tics, seconds) will have to pass before the player stars to receive damage?

 

I'm a programmer, but can't read Doom's source code for shit :(

Share this post


Link to post

Here's a better source: https://doomwiki.org/wiki/Damaging_floor

 

Quote

Damage is applied periodically, on every 32nd gametic (approximately 0.91 seconds). The check is performed against the global level time; thus it is equally possible to receive damage immediately upon touching the sector's floor, or to cross whole sectors completely unscathed. Because of their strict periodicity, the damaging effects can be avoided by continuous jumping in those engines that employ it (such as Hexen or some source ports).

 

Share this post


Link to post

Someone also recently discovered that the moment you receive damage is aligned to the sway animation of the weapon when the player runs.  You receive damage at the moment the weapon reaches the "top" of the sway.  So a canny player can minimize (or even avoid) damage by only stepping onto damaging floors when their weapon is mid-way through a swing.

 

Edit: Ok, it wasn't recently at all, it was 2005!  How time flies.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×