Open jarangmandi opened 5 years ago
Need to communicate current position - through setting CLIENT_META_DATA string. Ideally, this will work with other plugins - so tag our data, append it if it isn't there, or replace it if it is.
Range effects - need to continually iterate through clients in current channel and "setClientVolumeModifier" on each based on range from self.
Need option to set current position to be that of the tuned station if available so that people can work ATC even when they're not at the airfield.
White noise... There's a "ts3_functions.playWaveFileHandle" function that looks like it returns a file handle that can be started and stopped with "pauseWaveFileHandle", and destroyed by "closeWaveFileHandle". Needs to be started and stopped when someone starts and stops talking - which can be discovered through the "onTalkStatusChangeEvent". Need to source a suitable file.
Needs to be optional...
SIMCOMX can do it so it's achievable.
Will need to have client update TS connection with current position so that range can be calculated and attenuation applied by other clients. ATC may be a problem if the "controller" isn't physically present at the airfield - unless we include an override that adopts the position of the station as the position of the client...