Garry's Mod

Garry's Mod

EnduringStockpile - Realistic nuclear weapons and radiation
The Snow Frog  [developer] 7 Jun, 2019 @ 3:43pm
Radiation shielding update
This is extremely important for realism, now all radiation sources (debris, radioactive waste, bombs, prompt radiation; not fallout) now take into consideration the shielding between you and them. For simplicity, i only consider gamma radiation. This is not perfect, but it will consider the thickness of whatever is between you and it and find out by how much it attenuates your dose. This means you can now build shielding to protect yourself from radiation. Water and air also act as shielding.

This also means that radiation sources now have infinite range, you will always be exposed to some level of radiation. However, this will not harm you, it usually is not even detectable; it would take one real week to lose 1 HP from 100 milirads/min. This reflects how radiation behaves in real life. Props will shield you more than World (buildings, ect), which will shield you more than water, which is better than air. I not only consider inverse-square law for sources, but also how much air itself absorbs radiation. All things considered is a HUGE improvement.

For reference, 1 Rad is 1000 milirads, and 1 miliRad is 1000 microRads; this means 1 microrad (average background radiation in game is 1.5 microrads/min) is 1/1000000th of a Rad; so don't panic if you see those levels. Microrads = basically nothing, Milirads = not too bad, Rads = dangerous. You can wire the geiger counter entity to multiply gates (x1000 for milirads, x1,000,000 for microrads) to see low levels.