Garry's Mod Wiki

Revision Difference

Enums/SNDLVL#516115

<cat>enum</cat> <enumeration> <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> <fields>{{EnumField|SNDLVL_NONE|0|Sound plays everywhere</fields>⤶ <fields>⤶ <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">⤶ </fields>⤶ </enumeration> {{EnumField|SNDLVL_20dB|20|Rustling leaves}}⤶ {{EnumField|SNDLVL_25dB|25|Whispering}}⤶ {{EnumField|SNDLVL_30dB|30|Library}}⤶ {{EnumField|SNDLVL_35dB|35|}}⤶ {{EnumField|SNDLVL_40dB|40|}}⤶ {{EnumField|SNDLVL_45dB|45|Refrigerator}}⤶ {{EnumField|SNDLVL_50dB|50|Average home}}⤶ {{EnumField|SNDLVL_55dB|55|Stop the sound}} {{EnumField|SNDLVL_60dB⤶ ⤶ SNDLVL_IDLE|60|Normal conversation, clothes dryer}}⤶ {{EnumField|SNDLVL_65dB|65|Washing machine, dishwasher}}⤶ {{EnumField|SNDLVL_STATIC|66|}}⤶ {{EnumField|SNDLVL_70dB|70|Car, vacuum cleaner, mixer, electric sewing machine}}⤶ {{EnumField|SNDLVL_75dB⤶ ⤶ SNDLVL_NORM|75|Busy traffic}}⤶ {{EnumField|SNDLVL_80dB⤶ ⤶ SNDLVL_TALKING|80|Mini-bike, alarm clock, noisy restaurant, office tabulator, outboard motor, passing snowmobile}}⤶ {{EnumField|SNDLVL_85dB|85|Average factory, electric shaver}}⤶ {{EnumField|SNDLVL_90dB|90|Screaming child, passing motorcycle, convertible ride on freeway}}⤶ {{EnumField|SNDLVL_95dB|95|}}⤶ {{EnumField|SNDLVL_100dB|100|Subway train, diesel truck, woodworking shop, pneumatic drill, boiler shop, jackhammer}}⤶ {{EnumField|SNDLVL_105dB|105|Helicopter, power mower}}⤶ {{EnumField|SNDLVL_110dB|110|Snowmobile (drivers seat), inboard motorboat, sandblasting}}⤶ {{EnumField|SNDLVL_120dB|120|Car horn, propeller aircraft}} {{EnumField|SNDLVL_130dB|130|Air raid siren}}⤶ {{EnumField|SNDLVL_140dB⤶ ⤶ SNDLVL_GUNFIRE|140|Threshold of pain, gunshot, jet engine}}⤶ {{EnumField|SNDLVL_150dB|150|}}⤶ {{EnumField|SNDLVL_180dB|180|Rocket launching}}⤶ {{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_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>⤶ <item key="SNDLVL_75dB⤶ ⤶ SNDLVL_NORM" value="75">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>⤶ <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>⤶ }}