diff --git a/addons/repair/CfgEden.hpp b/addons/repair/CfgEden.hpp index 0bde8f3892..be92ec6689 100644 --- a/addons/repair/CfgEden.hpp +++ b/addons/repair/CfgEden.hpp @@ -69,7 +69,7 @@ class Cfg3DEN { property = QGVAR(editorLoadedTracks); control = "Edit"; expression = "_this setVariable ['%s',_value];"; - defaultValue = "[ARR_2(0,1)] select (_this isKindOf 'Tank')"; // must match pre init script + defaultValue = "[0,1] select (_this isKindOf 'Tank')"; // must match pre init script validate = "number"; condition = "objectHasInventoryCargo"; typeName = "NUMBER"; @@ -80,7 +80,7 @@ class Cfg3DEN { property = QGVAR(editorLoadedWheels); control = "Edit"; expression = "_this setVariable ['%s',_value];"; - defaultValue = "[ARR_2(0,1)] select (_this isKindOf 'Car')"; // must match pre init script + defaultValue = "[0,1] select (_this isKindOf 'Car')"; // must match pre init script validate = "number"; condition = "objectHasInventoryCargo"; typeName = "NUMBER"; diff --git a/addons/repair/CfgVehicles.hpp b/addons/repair/CfgVehicles.hpp index 4796879600..a67b3035fc 100644 --- a/addons/repair/CfgVehicles.hpp +++ b/addons/repair/CfgVehicles.hpp @@ -234,7 +234,7 @@ class CfgVehicles { }; }; class ACE_moduleAddSpareParts: Module_F { - scope = 2; + scope = 1; displayName = CSTRING(AddSpareParts_Module_DisplayName); icon = QPATHTOF(ui\Icon_Module_Repair_ca.paa); category = "ACE_Logistics"; @@ -321,7 +321,6 @@ class CfgVehicles { accuracy = 0.2; vehicleClass = "ACE_Logistics_Items"; - destrType = "DesturctNo"; // scripted delayed destruction editorCategory = "EdCat_Supplies"; editorSubcategory = QGVAR(subcategory); }; @@ -337,9 +336,9 @@ class CfgVehicles { mapSize = 0.5; // damage handling - armor = 0.06; + armor = 1000; armorStructural = 1; - minTotalDamageThreshold = 0;//0.01; + minTotalDamageThreshold = 0.01; explosionShielding = 1; replaceDamagedLimit = 0.9; selectionDamage = "mat_track"; @@ -368,9 +367,9 @@ class CfgVehicles { mapSize = 0.7; // damage handling - armor = 0.05; + armor = 120; armorStructural = 1; - minTotalDamageThreshold = 0;//0.01; + minTotalDamageThreshold = 0.01; explosionShielding = 1; replaceDamagedLimit = 0.9; selectionDamage = "mat_tyre"; //"mat_rim" @@ -379,7 +378,7 @@ class CfgVehicles { // can not take damage individually though, because of limitations of the thingX simulation type class HitPoints { class HitBody { - armor = 0.06; + armor = 0.6; material = -1; name = "mat_rim"; visual = "mat_rim"; diff --git a/addons/repair/data/ace_track.p3d b/addons/repair/data/ace_track.p3d index 53ac8971a7..83ffb9e675 100644 Binary files a/addons/repair/data/ace_track.p3d and b/addons/repair/data/ace_track.p3d differ