Talk:Damaging floor

Radiation suit penetration
FYI: The code for 20% damage reads "P_Random<5" but the actual chance of this being true is 6/256 rather than 5/256. This is because the random number table has two 0's, no 1's, two 2's, one 3, and one 4 for a total of six values less than 5. radius 02:46, 7 Mar 2005 (GMT)

Is this comment about the suit penetration not occurring in vanilla doom actually correct? Examining the source to prboom 2.2.6 reveals that it still has the behavior from the original Doom source code. The call to P_Random means that any 1.9 demo featuring a player walking through slime while wearing a radiation suit should go out of sync. Prboom is renowned for its demo backwards compatibility. Fraggle 11:13, 9 Mar 2005 (GMT)

In my little test level, ZDoom behaved as expected from the source code (very occasional 20% damage), but using doom.exe and doom95.exe I never got any damage while wearing the suit. (Maybe the latter have the P_Random call but don't do the damage correctly? Just speculating...) radius 04:48, 10 Mar 2005 (GMT)

I don't want to change the article yet if everybody's getting different results, but here's what happened when I tested this again yesterday:

PrBoom 2.2.6 -complevel 1: leaky suits.

Doom95: no leaky suits. (At least, no damage through 8 times the duration of a suit. Assuming I wasted 2 seconds per suit hopping in and out of the lava, the odds are 60,000 to 1 in favor of non-leaking suits.)

Vanilla (E3M6): real suits leak, but not suits obtained with IDBEHOLD. (Note to self: don't use cheat codes when testing levels, even in vanilla. :>    So the compatibility of PrBoom is intact. Ryan W 04:25, 25 Jun 2005 (UTC)

I have now experienced leaks in both vanilla and doom95 (on E3M6, and it was a "cheat" suit!). Not sure why I couldn't see them before -- goes to show you can't prove a negative. radius 12:22, 26 Jun 2005 (UTC)


 * Well, I tried this again, and I swear I can't get the "cheat" suit to leak in vanilla. But, as you say, that doesn't prove much.  :>   If it leaks for you, the article (and Cheat code) should stay the way it is.  Ryan W 07:16, 26 Sep 2005 (UTC)

Radioactive rock vs red slime
"These include nukage, lava, blood, radioactive rock, two kinds of brown slime, and red slime." When I read "red slime", I couldn't think what it referred to. It would make more sense to refer to both flats as radioactive rock. I know the flat names are RROCK for the radioactive rock and SLIME for the red slime, but they're still practically the same thing. - DooMAD 18:50, 10 Jun 2005 (UTC)


 * OK, good suggestion. radius 02:42, 11 Jun 2005 (UTC)

Radiation suit penetration, revisited
This may be a dubious statement: Testing seems to show that a single suit rarely "leaks" more than once.  What happens if this testing is performed without monsters (so that the 60 calls to the generator are very nearly consecutive), by repeatedly reloading the same game and jumping into the same slime? radius is correct that m_random.c contains six numbers below 5, but four of them occur within a span of only 57 entries. If I avoid that span the first time, I probably avoid it every time. Thoughts? Ryan W 09:32, 2 November 2006 (UTC)

Hysteresis on "exit" floor?
''Correction about 11% exit type: Your health cannot drop below 1%, ever. while in this sector type.''  Even if you get shot during the same tic? I swear I've seen it happen on E1M8 and Plutonia 11. Ryan W 18:53, 10 November 2006 (UTC)