Garry's Mod Wiki

Revision Difference

Enums/SNDLVL#516310

<cat>enum</cat> <enum> <description> The sound's attenuation; how fast it drops away, enumerations used by <page>Global.EmitSound</page> and <page>Entity:EmitSound</page>. The engine starts running into trouble below 60dB. <warning>These enumerations do not exist in the game and are listed here purely for reference purposes only.</warning> </description> <items> <item key="SNDLVL_NONE" value="0">Sound plays everywhere</item> <item key="SNDLVL_20dB" value="20">Rustling leaves</item> <item key="SNDLVL_25dB" value="25">Whispering</item>⤶ <item key="SNDLVL_30dB" value="30">Library</item>⤶ <item key="SNDLVL_35dB" value="35">⤶ </items>⤶ ⤶ </enum>⤶ ⤶ ⤶ {{EnumField|SNDLVL_40dB|40|</item>⤶ ⤶ <item key="SNDLVL_45dB" value="45">Refrigerator</item>⤶ ⤶ <item key="SNDLVL_50dB" value="50">Average home</item>⤶ ⤶ <item key="SNDLVL_55dB" value="55">Stop the sound</item>⤶ <item key="SNDLVL_20dB" value="2">0|Rustling leaves</item> <item key="SNDLVL_25dB" value="2">5|Whispering</item>⤶ <item key="SNDLVL_30dB" value="3">0|Library</item>⤶ <item key="SNDLVL_35dB" value="3">5|</item>⤶ ⤶ <item key="SNDLVL_40dB" value="4">0|</item>⤶ ⤶ <item key="SNDLVL_45dB" value="4">5|Refrigerator</item>⤶ ⤶ <item key="SNDLVL_50dB" value="5">0|Average home</item>⤶ ⤶ <item key="SNDLVL_55dB" value="5">5|Stop the sound</item>⤶ <item key="SNDLVL_60dB SNDLVL_IDLE" value="60">Normal conversation, clothes dryer</item> <item key="SNDLVL_65dB" value="65">Washing machine, dishwasher</item> <item key="SNDLVL_STATIC" value="66">}}⤶ {{EnumField|SNDLVL_70dB|70|Car, vacuum cleaner, mixer, electric sewing machine</item> SNDLVL_IDLE" value="6">0|Normal conversation, clothes dryer</item> <item key="SNDLVL_65dB" value="6">5|Washing machine, dishwasher</item> <item key="SNDLVL_STATIC" value="6">6|</item>⤶ ⤶ <item key="SNDLVL_70dB" value="7">0|Car, vacuum cleaner, mixer, electric sewing machine</item> <item key="SNDLVL_75dB SNDLVL_NORM" value="75">Busy traffic</item> SNDLVL_NORM" value="7">5|Busy traffic</item> <item key="SNDLVL_80dB SNDLVL_TALKING" value="80">Mini-bike, alarm clock, noisy restaurant, office tabulator, outboard motor, passing snowmobile</item> <item key="SNDLVL_85dB" value="85">Average factory, electric shaver</item> <item key="SNDLVL_90dB" value="90">Screaming child, passing motorcycle, convertible ride on freeway</item> <item key="SNDLVL_95dB" value="95">}}⤶ {{EnumField|SNDLVL_100dB|100|Subway train, diesel truck, woodworking shop, pneumatic drill, boiler shop, jackhammer</item> <item key="SNDLVL_105dB" value="105">Helicopter, power mower</item> <item key="SNDLVL_110dB" value="110">Snowmobile (drivers seat), inboard motorboat, sandblasting</item> <item key="SNDLVL_120dB" value="120">Car horn, propeller aircraft</item> <item key="SNDLVL_130dB" value="130">Air raid siren</item> SNDLVL_TALKING" value="8">0|Mini-bike, alarm clock, noisy restaurant, office tabulator, outboard motor, passing snowmobile</item> <item key="SNDLVL_85dB" value="8">5|Average factory, electric shaver</item> <item key="SNDLVL_90dB" value="9">0|Screaming child, passing motorcycle, convertible ride on freeway</item> <item key="SNDLVL_95dB" value="9">5|</item>⤶ ⤶ <item key="SNDLVL_100dB" value="1">00|Subway train, diesel truck, woodworking shop, pneumatic drill, boiler shop, jackhammer</item> <item key="SNDLVL_105dB" value="1">05|Helicopter, power mower</item> <item key="SNDLVL_110dB" value="1">10|Snowmobile (drivers seat), inboard motorboat, sandblasting</item> <item key="SNDLVL_120dB" value="1">20|Car horn, propeller aircraft</item> <item key="SNDLVL_130dB" value="1">30|Air raid siren</item> <item key="SNDLVL_140dB SNDLVL_GUNFIRE" value="140">Threshold of pain, gunshot, jet engine</item> <item key="SNDLVL_150dB" value="150">}}⤶ {{EnumField|SNDLVL_180dB|180|Rocket launching</item> ⤶ }} SNDLVL_GUNFIRE" value="1">40|Threshold of pain, gunshot, jet engine</item> <item key="SNDLVL_150dB" value="1">50|</item>⤶ ⤶ <item key="SNDLVL_180dB" value="1">80|Rocket launching</item> </items>⤶ ⤶ </enum>⤶ ⤶