Updated soundhandler with mirror performance for Red and Blue Clients… (#575)

This commit is contained in:
Taco 2025-11-09 22:21:04 -05:00 committed by GitHub
parent 67183c31da
commit 9520b76246
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 713 additions and 779 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
-- configuration file for Soundhandler Plugin
--
-- This configuration is tailored for a mission generated by DCS Retribution
-- see https://github.com/dcs-retribution/dcs-retribution
-------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Autolase plugin - configuration
if dcsRetribution then
-- retrieve specific options values
if dcsRetribution.plugins then
if dcsRetribution.plugins.Soundhandler then
env.info("------DCSRetribution|Soundhandler plugin - Setting Up------")
Soundhandler_options.SoundsToGroupOnly = dcsRetribution.plugins.Soundhandler.SoundsToGroupOnly
Soundhandler_options.ShipSamSounds = dcsRetribution.plugins.Soundhandler.ShipSamSounds
Soundhandler_options.RedShootingSounds = dcsRetribution.plugins.Soundhandler.RedShootingSounds
Soundhandler_options.Debug = dcsRetribution.plugins.Soundhandler.Debug
end
end
end

View File

@ -1,10 +1,10 @@
{ {
"nameInUI": "Soundhandler", "nameInUI": "Moose Soundhandler",
"defaultValue": false, "defaultValue": false,
"specificOptions": [ "specificOptions": [
{ {
"nameInUI": "Play Sounds to Involved Group Only", "nameInUI": "Play Sounds to Involved Group Only",
"mnemonic": "SoundsToGroupOnly", "mnemonic": "SoundToGroupOnly",
"defaultValue": true "defaultValue": true
}, },
{ {
@ -13,26 +13,21 @@
"defaultValue": true "defaultValue": true
}, },
{ {
"nameInUI": "Play Sounds for Red Jet Cannons", "nameInUI": "Play Sounds for Own Jet Cannons",
"mnemonic": "RedShootingSounds", "mnemonic": "PlayOwnShootingGuns",
"defaultValue": true "defaultValue": true
}, },
{ {
"nameInUI": "Debug Mode", "nameInUI": "Debug Mode",
"mnemonic": "Debug", "mnemonic": "SoundDebug",
"defaultValue": false "defaultValue": false
} }
], ],
"scriptsWorkOrders": [ "scriptsWorkOrders": [],
{
"file": "Plugin_Soundhandler.lua",
"mnemonic": "Soundhandler"
}
],
"configurationWorkOrders": [ "configurationWorkOrders": [
{ {
"file": "Soundhandler-config.lua", "file": "Plugin_Soundhandler.lua",
"mnemonic": "Soundhandler-config" "mnemonic": "MooseSoundhandler-config"
} }
], ],
"otherResourceFiles": [ "otherResourceFiles": [
@ -116,6 +111,7 @@
"SoundFiles/S2G_Tomahawk1.ogg", "SoundFiles/S2G_Tomahawk1.ogg",
"SoundFiles/FriendlyFire1.ogg", "SoundFiles/FriendlyFire1.ogg",
"SoundFiles/FriendlyFire2.ogg", "SoundFiles/FriendlyFire2.ogg",
"SoundFiles/BirdsAway.ogg" "SoundFiles/BirdsAway.ogg",
"SoundFiles/StartFindingMeBoys.ogg"
] ]
} }