titi69 Posted September 12, 2024 Posted September 12, 2024 This is a script to simulate Napalm effect ( just open this topic as there is more discussion about it than expected and easier to follow up) there is 2 version of this script: 1. Napalm effect integrated to Splash Damage 2. Only Napalm effect without Splash Damage Just create trigger (do_script_file) to load one of the script be aware that with lot of explosion , game can crash the effect integrate also flare effect, this can be disable in the script there is 2 options: change to false the effect you want to disable options = { ["napalm"] = true, ["phosphor"] = true, } you can add any weapons you want (avoid cluster bomb it doesnt work and can crash the game) actually , i have tested with MK81 and SAMP125LD, which work best so far) just find weapons name ( in splash damage you have plenty of them) and add it in the script (only last weapon line should be without comma) : napalmTable = { ["Mk_81"] = true, ["SAMP125LD"] = true } Credits: thanks to original splashdamage script for weapon tracking part and Olympus for napalm effect method i have modified bit of code from both to avoid using mist here is the link to user file download: https://www.digitalcombatsimulator.com/en/files/3340469/ 1
VR Flight Guy in PJ Pants Posted September 12, 2024 Posted September 12, 2024 (edited) Hello, thanks for the mod first. It is great! As for incorporating the Mk.77 Mod 1 napalm bomb, used by A-4E-C, into "Splash_Damage-napalm.lua", and also Mk.82, here is the code: explTable = { ["FAB_100"] = 45, ["FAB_100M"] = 45, ["FAB_250"] = 100, ["FAB_250-M62"] = 100, ["FAB_250M54TU"]= 100, ["FAB_500"] = 213, ["FAB_1500"] = 675, ["BetAB_500"] = 98, ["BetAB_500ShP"]= 107, ["KH-66_Grom"] = 108, ["M_117"] = 201, ["Mk_81"] = 60, ["Mk_82"] = 118, ["AN_M64"] = 121, ["Mk_83"] = 274, ["Mk_84"] = 582, ["MK_82AIR"] = 118, ["MK_82SNAKEYE"]= 118, ["GBU_10"] = 582, ["GBU_12"] = 118, ["GBU_16"] = 274, ["KAB_1500Kr"] = 675, ["KAB_500Kr"] = 213, ["KAB_500"] = 213, ["GBU_31"] = 582, ["GBU_31_V_3B"] = 582, ["GBU_31_V_2B"] = 582, ["GBU_31_V_4B"] = 582, ["GBU_32_V_2B"] = 202, ["GBU_38"] = 118, ["AGM_62"] = 400, ["GBU_24"] = 582, ["X_23"] = 111, ["X_23L"] = 111, ["X_28"] = 160, ["X_25ML"] = 89, ["X_25MP"] = 89, ["X_25MR"] = 140, ["X_58"] = 140, ["X_29L"] = 320, ["X_29T"] = 320, ["X_29TE"] = 320, ["AGM_84E"] = 488, ["AGM_45"] = 45, ["AGM_45A"] = 45, ["AGM_45B"] = 45, --["AGM_88C"] = 89, --["AGM_88"] = 89, ["AGM_84S"] = 500, ["AGM_122"] = 15, ["AGM_123"] = 274, ["AGM_130"] = 582, ["AGM_119"] = 176, ["AGM_154C"] = 305, ["AGM_154"] = 305, ["AGM_154A"] = 305, ["S-24A"] = 24, ["S-24B"] = 123, ["S-25OF"] = 194, ["S-25OFM"] = 150, ["S-25O"] = 150, ["S_25L"] = 190, ["S-5M"] = 1, ["C_8"] = 4, ["C_8OFP2"] = 3, ["C_13"] = 21, ["C_24"] = 123, ["C_25"] = 151, ["HYDRA_70M15"] = 3, ["Zuni_127"] = 5, ["ARAKM70BHE"] = 4, ["BR_500"] = 118, ["Rb 05A"] = 217, ["RBK_500AO"] = 256, ["RBK_250"] = 128, ["HEBOMB"] = 40, ["HEBOMBD"] = 40, ["MK-81SE"] = 60, ["AN-M57"] = 56, ["AN-M64"] = 180, ["AN-M65"] = 295, ["AN-M66A2"] = 536, ["HYDRA_70_M151"] = 4, ["HYDRA_70_M156"] = 4, ["HYDRA_70_M257"] = 4, ["HYDRA_70_M274"] = 4, ["HYDRA_70_MK1"] = 4, ["HYDRA_70_MK61"] = 4, ["HYDRA_70_WTU1B"] = 4, ["HYDRA_70_MK5"] = 4, ["Vikhr_M"] = 11, ["British_GP_250LB_Bomb_Mk1"] = 100, --("250 lb GP Mk.I") ["British_GP_250LB_Bomb_Mk4"] = 100, --("250 lb GP Mk.IV") ["British_GP_250LB_Bomb_Mk5"] = 100, --("250 lb GP Mk.V") ["British_GP_500LB_Bomb_Mk1"] = 213, --("500 lb GP Mk.I") ["British_GP_500LB_Bomb_Mk4"] = 213, --("500 lb GP Mk.IV") ["British_GP_500LB_Bomb_Mk4_Short"] = 213, --("500 lb GP Short tail") ["British_GP_500LB_Bomb_Mk5"] = 213, --("500 lb GP Mk.V") ["British_MC_250LB_Bomb_Mk1"] = 100, --("250 lb MC Mk.I") ["British_MC_250LB_Bomb_Mk2"] = 100, --("250 lb MC Mk.II") ["British_MC_500LB_Bomb_Mk1_Short"] = 213, --("500 lb MC Short tail") ["British_MC_500LB_Bomb_Mk2"] = 213, --("500 lb MC Mk.II") ["British_SAP_250LB_Bomb_Mk5"] = 100, --("250 lb S.A.P.") ["British_SAP_500LB_Bomb_Mk5"] = 213, --("500 lb S.A.P.") ["British_AP_25LBNo1_3INCHNo1"] = 4, --("RP-3 25lb AP Mk.I") ["British_HE_60LBSAPNo2_3INCHNo1"] = 4, --("RP-3 60lb SAP No2 Mk.I") ["British_HE_60LBFNo1_3INCHNo1"] = 4, --("RP-3 60lb F No1 Mk.I") ["WGr21"] = 4, --("Werfer-Granate 21 - 21 cm UnGd air-to-air rocket") ["3xM8_ROCKETS_IN_TUBES"] = 4, --("4.5 inch M8 UnGd Rocket") ["AN_M30A1"] = 45, --("AN-M30A1 - 100lb GP Bomb LD") ["AN_M57"] = 100, --("AN-M57 - 250lb GP Bomb LD") ["AN_M65"] = 400, --("AN-M65 - 1000lb GP Bomb LD") ["AN_M66"] = 800, --("AN-M66 - 2000lb GP Bomb LD") ["SC_50"] = 20, --("SC 50 - 50kg GP Bomb LD") ["ER_4_SC50"] = 20, --("4 x SC 50 - 50kg GP Bomb LD") ["SC_250_T1_L2"] = 100, --("SC 250 Type 1 L2 - 250kg GP Bomb LD") ["SC_501_SC250"] = 100, --("SC 250 Type 3 J - 250kg GP Bomb LD") ["Schloss500XIIC1_SC_250_T3_J"] = 100, --("SC 250 Type 3 J - 250kg GP Bomb LD") ["SC_501_SC500"] = 213, --("SC 500 J - 500kg GP Bomb LD") ["SC_500_L2"] = 213, --("SC 500 L2 - 500kg GP Bomb LD") ["SD_250_Stg"] = 100, --("SD 250 Stg - 250kg GP Bomb LD") ["SD_500_A"] = 213, --("SD 500 A - 500kg GP Bomb LD") ["AB_250_2_SD_2"] = 100, --("AB 250-2 - 144 x SD-2, 250kg CBU with HE submunitions") ["AB_250_2_SD_10A"] = 100, --("AB 250-2 - 17 x SD-10A, 250kg CBU with 10kg Frag/HE submunitions") ["AB_500_1_SD_10A"] = 213, --("AB 500-1 - 34 x SD-10A, 500kg CBU with 10kg Frag/HE submunitions") ["AGM_114K"] = 12, ["AGM_114"] = 12, ["HYDRA_70_M229"] = 8, ["AGM_65D"] = 130, ["AGM_65E"] = 200, ["AGM_65F"] = 200, ["AGM_65H"] = 130, ["AGM_65G"] = 200, ["AGM_65K"] = 200, ["AGM_65L"] = 200, ["AT_6"] = 10, ["HOT3"] = 10, ["AGR_20A"] = 8, ["AGR_20_M282"] = 8, -- A10C APKWS ["MODED_AGR_20_M282"] = 8, ["GBU_54_V_1B"] = 118, ["SNEB_TYPE251_F1B"] = 8, ["SNEB_TYPE252_F1B"] = 8, ["SNEB_TYPE253_F1B"] = 8, ["SNEB_TYPE256_F1B"] = 8, ["SNEB_TYPE257_F1B"] = 8, ["SNEB_TYPE251_F4B"] = 4, ["SNEB_TYPE252_F4B"] = 4, ["SNEB_TYPE253_F4B"] = 5, ["SNEB_TYPE256_F4B"] = 6, ["SNEB_TYPE257_F4B"] = 8, ["SNEB_TYPE251_H1"] = 4, ["SNEB_TYPE252_H1"] = 4, ["SNEB_TYPE253_H1"] = 5, ["SNEB_TYPE256_H1"] = 6, ["SNEB_TYPE257_H1"] = 8, --["CBU_52B"] = 32, -- CBUs --["CBU_87"] = 32, --["CBU_97"] = 32, --["CBU_99"] = 32, --["ROCKEYE"] = 32, --["BELOUGA"] = 32, --["BLG66_BELOUGA"] = 32, --["BL_755"] = 32, ["MATRA_F4_SNEBT251"] = 8, -- Mirage F1 Section ["MATRA_F4_SNEBT253"] = 8, ["MATRA_F4_SNEBT256"] = 8, ["MATRA_F1_SNEBT253"] = 8, ["MATRA_F1_SNEBT256"] = 8, ["SAMP400LD"] = 274, ["SAMP400HD"] = 274, ["SAMP250LD"] = 118, ["SAMP250HD"] = 118, ["SAMP125LD"] = 64, ["BR_250"] = 118, ["Durandal"] = 64, ["BLU107B_DURANDAL"] = 274, ["FFAR Mk5 HEAT"] = 8, -- Rockets ["FFAR Mk1 HE"] = 8, ["HVAR"] = 8, ["C_5"] = 8, -- Mig19P Rockets ["BGM_109B"] = 400, ["BAT-120"] = 40, -- MB-339 Secion ["BAP-100"] = 40, ["ARF8M3AP"] = 8, ["ARF8M3HEI"] = 8, ["ARF8M3TPSM"] = 8, ["HB_F4E_GBU_8_HOBOS"] = 582, -- Heatblur F-4E Section ["AGM_62_I"] = 225, ["Mk_84AIR_GP"] = 582, ["AGM_65A"] = 100, ["AGM_65B"] = 100, ["AGM_12A"] = 118, ["AGM_12B"] = 118, ["AGM_12C"] = 271, ["RB75"] = 100, -- Viggen ["RB75B"] = 100, ["RB75T"] = 170, ["MK77mod1-WPN"] = 118 } napalmTable = { ["Mk_81"] = true, ["Mk_82"] = true, ["MK77mod1-WPN"] = true, ["SAMP125LD"] = true } The name of the bomb is "MK77mod1-WPN. Working on MK77 mod 0 Edited September 12, 2024 by VR Flight Guy in PJ Pants 2 I Fly, Therefore I Am. YouTube: https://www.youtube.com/channel/UCc9BDi-STaqgWsjNiHbW0fA Make OH-6A Official!
VR Flight Guy in PJ Pants Posted September 13, 2024 Posted September 13, 2024 I have made Mk77 Mod0 to work. It is over at the A-4E-C thread. It took so long because I am stupid. Now the questions would be: 1. How to integrate the effect without having to embed the effect into the weapons in question. 2. How to make the actual splash more visible but I guess it would be very difficult unless there is some graphic engine changes. I Fly, Therefore I Am. YouTube: https://www.youtube.com/channel/UCc9BDi-STaqgWsjNiHbW0fA Make OH-6A Official!
Recommended Posts