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)

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)