Update Splash Damage Plugin to 3.4.2 (#601)

Co-authored-by: Druss99 <42724070+Druss99@users.noreply.github.com>
This commit is contained in:
Drexyl
2025-11-09 01:35:17 +11:00
committed by GitHub
parent eae5e1af30
commit 1ad27e27ea
8 changed files with 7910 additions and 983 deletions

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 wheelyjoe
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,125 @@
{
"nameInUI": "Splash Damage 3.4.2",
"defaultValue": false,
"specificOptions": [
{
"nameInUI": "Enable game messages",
"mnemonic": "game_messages",
"defaultValue": false
},
{
"nameInUI": "Enable Debug Messages",
"mnemonic": "debug",
"defaultValue": false
},
{
"nameInUI": "Enable Weapon Missing Messages",
"mnemonic": "weapon_missing_message",
"defaultValue": false
},
{
"nameInUI": "Enable F10 Radio Menu",
"mnemonic": "enable_radio_menu",
"defaultValue": false
},
{
"nameInUI": "Enable Wave Explosions",
"mnemonic": "wave_explosions",
"defaultValue": true
},
{
"nameInUI": "Enable Larger Explosions",
"mnemonic": "larger_explosions",
"defaultValue": true
},
{
"nameInUI": "Enable Dynamic Blast Radius",
"mnemonic": "use_dynamic_blast_radius",
"defaultValue": true
},
{
"nameInUI": "Dynamic Blast Radius Multiplier (%)",
"mnemonic": "dynamic_blast_radius_modifier",
"minimumValue": 1,
"maximumValue": 5000,
"defaultValue": 200
},
{
"nameInUI": "Enable Damage Model",
"mnemonic": "damage_model",
"defaultValue": true
},
{
"nameInUI": "Static Objects Damage Boost",
"mnemonic": "static_damage_boost",
"minimumValue": 1000,
"maximumValue": 5000,
"defaultValue": 2000
},
{
"nameInUI": "Overall Scaling (%)",
"mnemonic": "overall_scaling",
"minimumValue": 1,
"maximumValue": 5000,
"defaultValue": 100
},
{
"nameInUI": "Health Value Units Movements are Disabled (%)",
"mnemonic": "unit_disabled_health",
"minimumValue": 1,
"maximumValue": 100,
"defaultValue": 30
},
{
"nameInUI": "Health Value Units Weapons are Disabled (%)",
"mnemonic": "unit_cant_fire_health",
"minimumValue": 1,
"maximumValue": 100,
"defaultValue": 40
},
{
"nameInUI": "Health Value Infantry Can't Fire (%)",
"mnemonic": "infantry_cant_fire_health",
"minimumValue": 1,
"maximumValue": 100,
"defaultValue": 60
},
{
"nameInUI": "Enable Cluster Munition Effects",
"mnemonic": "cluster_enabled",
"defaultValue": false
},
{
"nameInUI": "Rockets damage multiplier (%)",
"mnemonic": "rocket_multiplier",
"minimumValue": 10,
"maximumValue": 500,
"defaultValue": 130
},
{
"nameInUI": "Enable Ship Radar Damage by Anti-Radiation Missiles",
"mnemonic": "shipRadarDamageEnable",
"defaultValue": false
},
{
"nameInUI": "OCA Aircraft Damage Boost for Wave Explosions",
"mnemonic": "oca_aircraft_damage_boost",
"minimumValue": 0,
"maximumValue": 5000,
"defaultValue": 3000
}
],
"scriptsWorkOrders": [
{
"file": "Splash_Damage_3.4.2_Standard_Retribution.lua",
"mnemonic": "splashdamage3"
}
],
"configurationWorkOrders": [
{
"file": "sd3-config.lua",
"mnemonic": "sd3config"
}
]
}

View File

@@ -0,0 +1,35 @@
-------------------------------------------------------------------------------------------------------------------------------------------------------------
-- configuration file for Splash Damage 3.4.2 Plugin
--
-- This configuration is tailored for a mission generated by DCS Retribution
-- see https://github.com/dcs-retribution/dcs-retribution
-------------------------------------------------------------------------------------------------------------------------------------------------------------
-- SD2 plugin - configuration
if dcsRetribution then
-- retrieve specific options values
if dcsRetribution.plugins then
if dcsRetribution.plugins.splashdamage3 then
env.info("DCSRetribution|Splash Damage 3.4.2 plugin - Setting Up")
splash_damage_options.game_messages = dcsRetribution.plugins.splashdamage3.game_messages
splash_damage_options.debug = dcsRetribution.plugins.splashdamage3.debug
splash_damage_options.weapon_missing_message = dcsRetribution.plugins.splashdamage3.weapon_missing_message
splash_damage_options.enable_radio_menu = dcsRetribution.plugins.splashdamage3.enable_radio_menu
splash_damage_options.wave_explosions = dcsRetribution.plugins.splashdamage3.wave_explosions
splash_damage_options.larger_explosions = dcsRetribution.plugins.splashdamage3.larger_explosions
splash_damage_options.use_dynamic_blast_radius = dcsRetribution.plugins.splashdamage3.use_dynamic_blast_radius
splash_damage_options.dynamic_blast_radius_modifier = dcsRetribution.plugins.splashdamage3.dynamic_blast_radius_modifier / 100
splash_damage_options.damage_model = dcsRetribution.plugins.splashdamage3.damage_model
splash_damage_options.static_damage_boost = dcsRetribution.plugins.splashdamage3.static_damage_boost
splash_damage_options.overall_scaling = dcsRetribution.plugins.splashdamage3.overall_scaling / 100
splash_damage_options.unit_disabled_health = dcsRetribution.plugins.splashdamage3.unit_disabled_health
splash_damage_options.unit_cant_fire_health = dcsRetribution.plugins.splashdamage3.unit_cant_fire_health
splash_damage_options.infantry_cant_fire_health = dcsRetribution.plugins.splashdamage3.infantry_cant_fire_health
splash_damage_options.cluster_enabled = dcsRetribution.plugins.splashdamage3.cluster_enabled
splash_damage_options.rocket_multiplier = dcsRetribution.plugins.splashdamage3.rocket_multiplier
splash_damage_options.shipRadarDamageEnable = dcsRetribution.plugins.splashdamage3.shipRadarDamageENable
splash_damage_options.oca_aircraft_damage_boost = dcsRetribution.plugins.splashdamage3.oca_aircraft_damage_boost
end
end
end