/tg/ Station 13 - Modules - TypesDefine Details

code/controllers/subsystem/explosions.dm

/proc/dyn_explosion Using default dyn_ex scale:
/proc/explosion Makes a given atom explode.
QUAKE_CREAK_PROBThe probability that a quaking explosion will make the station creak per unit. Maths!
ECHO_CREAK_PROBThe probability that an echoing explosion will make the station creak per unit.
CREAK_DELAYTime taken for the hull to begin to creak after an explosion, if applicable.
FAR_LOWERLower limit for far explosion SFX volume.
FAR_UPPERUpper limit for far explosion SFX volume.
FAR_SOUND_PROBThe probability that a distant explosion SFX will be a far explosion sound rather than an echo. (0-100)
NEAR_SHAKE_CAPThe upper limit on screenshake amplitude for nearby explosions.
FAR_SHAKE_CAPThe upper limit on screenshake amplifude for distant explosions.
NEAR_SHAKE_DURATIONThe duration of the screenshake for nearby explosions.
FAR_SHAKE_DURATIONThe duration of the screenshake for distant explosions.
FREQ_LOWERThe lower limit for the randomly selected hull creaking frequency.
FREQ_UPPERThe upper limit for the randomly selected hull creaking frequency.

Define Details

CREAK_DELAY

Time taken for the hull to begin to creak after an explosion, if applicable.

ECHO_CREAK_PROB

The probability that an echoing explosion will make the station creak per unit.

FAR_LOWER

Lower limit for far explosion SFX volume.

FAR_SHAKE_CAP

The upper limit on screenshake amplifude for distant explosions.

FAR_SHAKE_DURATION

The duration of the screenshake for distant explosions.

FAR_SOUND_PROB

The probability that a distant explosion SFX will be a far explosion sound rather than an echo. (0-100)

FAR_UPPER

Upper limit for far explosion SFX volume.

FREQ_LOWER

The lower limit for the randomly selected hull creaking frequency.

FREQ_UPPER

The upper limit for the randomly selected hull creaking frequency.

NEAR_SHAKE_CAP

The upper limit on screenshake amplitude for nearby explosions.

NEAR_SHAKE_DURATION

The duration of the screenshake for nearby explosions.

QUAKE_CREAK_PROB

The probability that a quaking explosion will make the station creak per unit. Maths!