SS1984 - Modules - TypesDefine Details

code/__DEFINES/sound.dm

SOUND_RANGEDefault range of a sound.
SHORT_RANGE_SOUND_EXTRARANGEdefault extra range for sounds considered to be quieter
SILENCED_SOUND_EXTRARANGEThe range deducted from sound range for things that are considered silent / sneaky
SOUND_DEFAULT_FALLOFF_DISTANCEPercentage of sound's range where no falloff is applied
SOUND_FALLOFF_EXPONENTThe default exponent of sound falloff
CALCULATE_SOUND_VOLUME_RATIOCalculates the volume of a sound based on distance
ANNOUNCER_AIMALFAnnouncer audio keys
SFX_PATCHPACKList of all of our sound keys. Used with /datum/sound_effect as the key. See code\game\sound_keys\sound_keys.dm

Define Details

ANNOUNCER_AIMALF

Announcer audio keys

CALCULATE_SOUND_VOLUME_RATIO

Calculates the volume of a sound based on distance

Update this when changed please! https://www.desmos.com/calculator/ing6lxgd0m

Arguments:

SFX_PATCHPACK

List of all of our sound keys. Used with /datum/sound_effect as the key. See code\game\sound_keys\sound_keys.dm

SHORT_RANGE_SOUND_EXTRARANGE

default extra range for sounds considered to be quieter

SILENCED_SOUND_EXTRARANGE

The range deducted from sound range for things that are considered silent / sneaky

SOUND_DEFAULT_FALLOFF_DISTANCE

Percentage of sound's range where no falloff is applied

SOUND_FALLOFF_EXPONENT

The default exponent of sound falloff

SOUND_RANGE

Default range of a sound.