From 54ed1ea4eeaca40892511b293de2e4ab81b1b9e4 Mon Sep 17 00:00:00 2001 From: Kervinou Date: Wed, 3 May 2023 12:59:28 +0200 Subject: [PATCH 1/2] Update Splash_Damage_2_0.lua correction AGM 154 (https://forum.dcs.world/topic/289290-splash-damage-20-script-make-explosions-better/page/5/#comment-5207760) --- Splash_Damage_2_0.lua | 69 +++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/Splash_Damage_2_0.lua b/Splash_Damage_2_0.lua index a61dc9a..d10aab8 100644 --- a/Splash_Damage_2_0.lua +++ b/Splash_Damage_2_0.lua @@ -1,39 +1,44 @@ - --assert(loadfile("C:\\Users\\spenc\\OneDrive\\Documents\\Eclipe_LDT\\dcs splash damage\\src\\mist.lua"))() + --[[ -2 October 2020 -FrozenDroid: -- Added error handling to all event handler and scheduled functions. Lua script errors can no longer bring the server down. -- Added some extra checks to which weapons to handle, make sure they actually have a warhead (how come S-8KOM's don't have a warhead field...?) +03 mai 2023 (KERV) + correction AGM 154 (https://forum.dcs.world/topic/289290-splash-damage-20-script-make-explosions-better/page/5/#comment-5207760) + +16 April 2022 + spencershepard (GRIMM): + - added new/missing weapons to explTable + - added new option rocket_multiplier + +31 December 2021 + spencershepard (GRIMM): + -added many new weapons + -added filter for weapons.shells events + -fixed mission weapon message option + -changed default for damage_model option + +21 December 2021 + spencershepard (GRIMM): + SPLASH DAMAGE 2.0: + -Added blast wave effect to add timed and scaled secondary explosions on top of game objects + -object geometry within blast wave changes damage intensity + -damage boost for structures since they are hard to kill, even if very close to large explosions + -increased some rocket values in explTable + -missing weapons from explTable will display message to user and log to DCS.log so that we can add what's missing + -damage model for ground units that will disable their weapons and ability to move with partial damage before they are killed + -added options table to allow easy adjustments before release + -general refactoring and restructure 28 October 2020 -FrozenDroid: -- Uncommented error logging, actually made it an error log which shows a message box on error. -- Fixed the too restrictive weapon filter (took out the HE warhead requirement) + FrozenDroid: + - Uncommented error logging, actually made it an error log which shows a message box on error. + - Fixed the too restrictive weapon filter (took out the HE warhead requirement) + +2 October 2020 + FrozenDroid: + - Added error handling to all event handler and scheduled functions. Lua script errors can no longer bring the server down. + - Added some extra checks to which weapons to handle, make sure they actually have a warhead (how come S-8KOM's don't have a warhead field...?) + -21 December 2021 -spencershepard (GRIMM): - SPLASH DAMAGE 2.0: - -Added blast wave effect to add timed and scaled secondary explosions on top of game objects - -object geometry within blast wave changes damage intensity - -damage boost for structures since they are hard to kill, even if very close to large explosions - -increased some rocket values in explTable - -missing weapons from explTable will display message to user and log to DCS.log so that we can add what's missing - -damage model for ground units that will disable their weapons and ability to move with partial damage before they are killed - -added options table to allow easy adjustments before release - -general refactoring and restructure - - 31 December 2021 - spencershepard (GRIMM): --added many new weapons --added filter for weapons.shells events --fixed mission weapon message option --changed default for damage_model option - - 16 April 2022 - spencershepard (GRIMM): - added new/missing weapons to explTable - added new option rocket_multiplier --]] ----[[ ##### SCRIPT CONFIGURATION ##### ]]---- @@ -107,7 +112,7 @@ explTable = { ["AGM_123"] = 274, ["AGM_130"] = 582, ["AGM_119"] = 176, - ["AGM_154C"] = 305, + ["AGM_154"] = 305, ["S-24A"] = 24, --["S-24B"] = 123, ["S-25OF"] = 194, From 66985a30d0678cfa3876fd0a5834b290c3bf66ca Mon Sep 17 00:00:00 2001 From: Spencer Shepard Date: Mon, 9 Oct 2023 09:55:05 -0700 Subject: [PATCH 2/2] Update Splash_Damage_2_0.lua --- Splash_Damage_2_0.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Splash_Damage_2_0.lua b/Splash_Damage_2_0.lua index 2fdd3b8..4183fd1 100644 --- a/Splash_Damage_2_0.lua +++ b/Splash_Damage_2_0.lua @@ -115,6 +115,7 @@ explTable = { ["AGM_123"] = 274, ["AGM_130"] = 582, ["AGM_119"] = 176, + ["AGM_154C"] = 305, ["AGM_154"] = 305, ["S-24A"] = 24, ["S-24B"] = 123,