When I ran the Colosseum of Fools event a while ago, I used sounds I had locally to spice up the event and make it unique, but I ran into the issue of there being no easy way to play sounds in flexible ways while preventing people who don't want to hear them from being included.
Adds sound emitter objects, editable by admins through a handy UI, that allows them to play sounds in a variety of flexible ways. The following things can be manipulated by any admin by clicking on the sound emitter:
Label (maptext)
Sound File is chosen by navigating to the file like normal sound playing
Sound Volume is a percentage between 1 and 100
Mode dictates how the sound is played and can either be local (played at that location like a normal in-game sound) or direct (played directly to players like admin sounds)
Range dictates how far players need to be to hear the sound; this includes Radius (all players within a specified amount of tiles), Z-Level (all players on the same z-level), and Global (all players.)
Sound emitters can be examined by any ghosts (they're invisible to normal players) to see the info about them, but only admins can edit their properties and play sounds with them.
This lets admins make very flexible sound emitters that can fulfill a variety of different purposes, like music that only people within 7 tiles can hear or a distant screech of metal that an entire search party on the derelict hears.
In addition to the Play Sound button, alt-clicking the emitter activates it.
* Shuttle rotation refactor
* cleanup
* fixes the air leak bug
* Updates the turf decal component and cleans up some code
* transfercomponents and some list optimization
* Makes turf_decals cleanable in theory
* review cleanup
* final cleanup: decals work
The definition of a trap option is that you don't know its a trap option until you use it. Obviously anyone who has tried it before realizes that they're a stunted joke but that doesn't make it any worse of a addition to the game.
* https is the way to go
* changes links to https:// instead of http://
* tsk tsk byond
* Nerfs smoke machine + improves grammar
* requested changes
* i can spell
* a spooky commit
* It is too late, the skeleton is already inside you
* mexican river dolphins for halloween 2018
* Compiler warnings for halloween 2018
* Dullahan Testmerge
* Dullahan fix
* Fixes vampires not recieving bat spell
* Even less blood drain
* Higher drain
* Nevermind
* Makes things compile
* Dullahan action name, space bat flight
* Fixes buckling issues with shapeshift
* Removes excess lines
* Events take pre-game lobby time into account
* Friends don't let friends code without coffee.
It would appear that I have no friends
* i blame cyberboss