From f24ab7c87b8586ab54861b0b4a10447bb2c44d25 Mon Sep 17 00:00:00 2001 From: targetingsnake <94396851+targetingsnake@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:01:02 +0100 Subject: [PATCH] Fix Crashes on GM Desert Templates (#3120) * added function for Checking vehicles in templates * imporved vehicle script * fix for servers crashing on desert template * removed testcode --------- Co-authored-by: targetingsnake --- A3A/addons/core/Templates/Templates/GM/GM_AI_BW_desert.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/A3A/addons/core/Templates/Templates/GM/GM_AI_BW_desert.sqf b/A3A/addons/core/Templates/Templates/GM/GM_AI_BW_desert.sqf index 9e2ae957db..04d8fe8e5e 100644 --- a/A3A/addons/core/Templates/Templates/GM/GM_AI_BW_desert.sqf +++ b/A3A/addons/core/Templates/Templates/GM/GM_AI_BW_desert.sqf @@ -270,10 +270,10 @@ _militaryLoadoutData set ["uniforms", ["CUP_U_B_GER_Tropentarn_1", "CUP_U_B_GER_ _militaryLoadoutData set ["vests", ["CUP_V_B_GER_PVest_Trop_RFL", "CUP_V_B_GER_PVest_Trop_RFL_LT"]]; _militaryLoadoutData set ["slVests", ["CUP_V_B_GER_PVest_Trop_TL", "CUP_V_B_GER_PVest_Trop_OFC"]]; _militaryLoadoutData set ["medVests", ["CUP_V_B_GER_PVest_Trop_Med"]]; -_militaryLoadoutData set ["mgVests", ["gm_ge_vest_armor_90_machinegunner_flk"]]; -_militaryLoadoutData set ["glVests", ["CUP_V_B_GER_PVest_Trop_MG"]]; +_militaryLoadoutData set ["mgVests", ["CUP_V_B_GER_PVest_Trop_MG"]]; +_militaryLoadoutData set ["glVests", ["CUP_V_B_GER_PVest_Trop_Gren"]]; _militaryLoadoutData set ["backpacks", ["CUP_B_GER_Pack_Tropentarn"]]; -_militaryLoadoutData set ["helmets", ["CUP_V_B_GER_PVest_Trop_Gren", "CUP_H_Ger_M92_Cover_Trop_GG_CB", "CUP_H_Ger_M92_Cover_Trop_GG_CF", "CUP_H_Ger_M92_Cover_Trop_GG"]]; +_militaryLoadoutData set ["helmets", ["CUP_H_Ger_M92_Cover_Trop_GG_CB", "CUP_H_Ger_M92_Cover_Trop_GG_CF", "CUP_H_Ger_M92_Cover_Trop_GG"]]; _militaryLoadoutData set ["binoculars", ["Rangefinder"]]; _militaryLoadoutData set ["slRifles", [