Leaky Radiation Suit

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Leaky Radiation Suit

Post by Xaser »

I have noticed, if you're in a sector which does 10%-20% damage and you have a radiation suit, sometimes you still get hurt. This never happened to me in the normal doom.exe/doom2.exe. It only seems to happen in Zdoom, yet this bug has been here since version 1.22! Is this a Zdoom bug, or is it just me...

[FUTURE-EDIT] This still bothers the hell out of me to this very day.
Last edited by Xaser on Sat Feb 20, 2010 2:45 pm, edited 1 time in total.
Mighty Duck X-treme
Posts: 272
Joined: Tue Jul 15, 2003 5:48 pm
Location: Chesterfield, Missouri

Post by Mighty Duck X-treme »

It's probably a bug.

Although it would make a really cool ZDoom feature...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Leaky Radiation Suit

Post by Graf Zahl »

Xaser wrote:I have noticed, if you're in a sector which does 10%-20% damage and you have a radiation suit, sometimes you still get hurt. This never happened to me in the normal doom.exe/doom2.exe. It only seems to happen in Zdoom, yet this bug has been here since version 1.22! Is this a Zdoom bug, or is it just me...

This was a feature in the original Exe. ZDoom's random number generator works differently so it is likely that the chance of this happening is higher.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

AFAIK (and some doom editor such as windeu v5.1 seem to "claim" this)
that 5% is radiation whereas 10% and 20% is some other damage (lava, etc),
and that the radiation suit only handes the -- radiation (ala 5%).
However, this is just a very bad assumption based on some very old editors.
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

doom/2.exe's random number generator isn't even really random, there's a bigass array of values and it selects one, and I believe it just starts at the beginning of the array each time the exe starts, or something rather non-random like that
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Leaky Radiation Suit

Post by Xaser »

Graf Zahl wrote:This was a feature in the original Exe.
It's not a bug, it's a feature!™

Not a very useful feature, though. Randy should fix this, and maybe put a compatibility option to turn it on or off.
Hirogen2 wrote:AFAIK (and some doom editor such as windeu v5.1 seem to "claim" this)
that 5% is radiation whereas 10% and 20% is some other damage (lava, etc),
and that the radiation suit only handes the -- radiation (ala 5%).
However, this is just a very bad assumption based on some very old editors.
Good point, but read this paragraph taken from DOOM's Manual:
Whoever made the DOOM manual wrote:Radiation Suits provide protection against radioactivity, heat, and other low-intensity forms of energy. Basically, they allow you to walk through the radioactive ooze without taking damage. While a suit holds out, your screen will have a greenish tint.
See, so the radiation suit is supposed to protect you from the lava. Obviously, the people who manufacture these things didn't test them out enough to prove that they actually work. :)

P.S: What does AFAIK stand for, anyway? Yes i'm new to forums. How'd you guess? :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Leaky Radiation Suit

Post by Graf Zahl »

Xaser wrote:
Not a very useful feature, though. Randy should fix this, and maybe put a compatibility option to turn it on or off.

There is nothing to fix! The strong damage type is simply too much for the RadSuit to handle. It's supposed to be this way and should not be altered. If Randy added strong damage types which are completely blocked by the radiation suit without changing the original sector type it would be ok.

BTW, why aren't the Heretic damage types blocked by the radiation suit? That's more likely a bug (although not a serious one.) Ok, in Heretic there isn't anything resembling a radiation suit but the behavior should at least be consistent, shouldn't it?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

This is NOT a bug and never was a bug. It has existed since the earliest versions of Doom, was well documented, and was not removed. Hence id wanted it in the game.

About the radiation vs lava thing. The suit protects you from both. That's why you don't take damage NEARLY as much while wearing it, even in the 10/20% sectors. However, it can only protect you from so much, so rarely you will get hurt (although the damage is significantly reduced) even while wearing the suit.

This is intended behavior, there is nothing to fix at all.

There is also no need for new damage types since you can just use scripting to apply an exact amount of damage to the player at any given time.

Finally, AFAIK = "As Far As I Know"

Also, the Heretic thing is rather surprising. IMHO, it should be made to behave like Doom, where you don't take damage at all with the suit unless you're in the highest-damage sector (which, to my knowledge is still 10/20%) by default. Of course, we can already use scripting to get around this, but still it would be nice to not have to use scripting.
Mighty Duck X-treme
Posts: 272
Joined: Tue Jul 15, 2003 5:48 pm
Location: Chesterfield, Missouri

Post by Mighty Duck X-treme »

Image

You know what guys? I never even knew whether it was a bug or not at all until you said it wasn't EVEN a bug

Thanks for correcting me :-)
User avatar
SargeBaldy
Posts: 366
Joined: Tue Jul 15, 2003 3:49 pm
Location: Oregon
Contact:

Post by SargeBaldy »

yeah, i've witnessed that a few times myself, it's rather annoying.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Re: Leaky Radiation Suit

Post by Hirogen2 »

Whoever made the DOOM manual wrote:Radiation Suits provide protection against radioactivity, heat, and other low-intensity forms of energy. Basically, they allow you to walk through the radioactive ooze without taking damage. While a suit holds out, your screen will have a greenish tint.
"LOW"-intensity... not 20%
User avatar
Maverick
Posts: 9
Joined: Wed Jul 16, 2003 8:46 pm

Rad suit a feature!

Post by Maverick »

:idea: So if this isn't a bug, then why not use it? Has anyone ever done that?

One obvious use I could see is use Rad Suits in an RPGish manner by having different classes.

ie:
Red suit = protection against lava
Blue suit = protection against water/drowning
Green suit = protection against ooze
Gold suit = protection against all
etc..

Then you could have different levels of protection from hardly any protection to complete protection. Obviously you'd need to be able to differentiate between environments... and suits.. but I don't see how that could be too difficult.

Regards,

Maverick 8-)
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Sounds like the hard-coded approach SUCKS. Use ACS to set up your own custom damaging sectors. Have one of those Things you place that acts when the player enters/is in/leaves the sector, have it check to see if you've set a variable for whether the player has one of your special suits, deal damage accordingly, then loop the script.

You could even maybe set this up to operate using a single function (but one sector-Thing for each damage sector). Hell, I haven't been keeping up with ACS well enough to know right now. Nanami would probably be enthusiastic/zealous enough to mess with it until she gets it right.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Even with the little I know of ACS, I can guarantee you this is possible.

Add decoration item(s) for custom suit(s), setup script to run when the player enters a given sector, check whatever number of variables you want, including one that stores the status of the player's suit. Another script could draw an icon on the screen to show what suit is being worn and how much time it has left. You could even bind a button to toggle using the suit or change suits and thus save them for when you need them. (An oxygen mask with limited oxygen for example) This would be even better if Randy would add the ability for decoration pickups to show up in the inventory (hint, hint) and execute a script on usage, but that's not really necessary since it can all be scripted.

And how is the hard-coded method sucky? You have your low-damage sectors, like radiation or whatever, and maybe you setup the map so the player HAS to run through it without a suit or whatever. Then you have your standard-damaging radioactive ooze/acidic blood/whatever sectors, and finally your high-damage even-the-suit-doesn't-protect-you-fully sectors where you REALLY encourage the player to stay the heck out/move quickly through the area even with a suit. That gives alot of options while still letting newbies off easy with the low-damage versions of each and doesn't restrict the map designer very much at all. Not as nice as scripting, obviously, but I doubt scripting could have been achieved on a 386...
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

from the editing ref:

Damage amount below 20 will only hurt the player if he doesn't have an environment suit. Damages between 20-49 will occasionally hurt the player even with an environment suit on. Damages of 50 and above will always hurt the player unless he is in god mode.

all that is set with sector_setdamage() so you wouldn't even need to do much wacky acs fun (which wouldn't even be really that complex anyway, what steve described could be done in prolly around 20 lines or less).

re: the inventory, randy has said with the way inventory is currently coded in it doesn't leave much (or any) room for expansion with decorate items.
Post Reply

Return to “Closed Bugs [GZDoom]”