2015-03-10 22:29:45 +00:00
|
|
|
#define MACRO_REPAIRVEHICLE \
|
|
|
|
class ACE_Actions { \
|
|
|
|
class ACE_MainActions { \
|
|
|
|
class GVAR(Repair) { \
|
2015-08-09 06:54:44 +00:00
|
|
|
displayName = CSTRING(Repair); \
|
2015-03-10 22:29:45 +00:00
|
|
|
icon = "\A3\ui_f\data\igui\cfg\actions\repair_ca.paa"; \
|
|
|
|
distance = 4; \
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotOnLadder"}; \
|
2015-03-10 22:29:45 +00:00
|
|
|
}; \
|
|
|
|
}; \
|
|
|
|
};
|
|
|
|
|
2016-09-16 11:51:41 +00:00
|
|
|
class CBA_Extended_EventHandlers_base;
|
2016-03-01 16:05:00 +00:00
|
|
|
|
2015-03-10 22:29:45 +00:00
|
|
|
class CfgVehicles {
|
2015-04-21 11:17:09 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class ACE_moduleRepairSettings: ACE_Module {
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
2015-08-09 06:54:44 +00:00
|
|
|
displayName = CSTRING(moduleName);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(ui\Icon_Module_Repair_ca.paa);
|
2015-08-18 03:26:55 +00:00
|
|
|
category = "ACE_Logistics";
|
2015-08-16 18:34:02 +00:00
|
|
|
function = QFUNC(moduleRepairSettings);
|
2015-04-21 11:17:09 +00:00
|
|
|
functionPriority = 1;
|
|
|
|
isGlobal = 1;
|
2015-10-19 04:34:11 +00:00
|
|
|
isSingular = 1;
|
2015-04-21 11:17:09 +00:00
|
|
|
isTriggerActivated = 0;
|
2015-08-09 06:54:44 +00:00
|
|
|
author = ECSTRING(Common,ACETeam);
|
2015-04-21 11:17:09 +00:00
|
|
|
class Arguments {
|
|
|
|
class engineerSetting_Repair {
|
2017-07-11 17:50:35 +00:00
|
|
|
displayName = CSTRING(engineerSetting_Repair_name);
|
|
|
|
description = CSTRING(engineerSetting_Repair_description);
|
2015-04-21 11:17:09 +00:00
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
2015-08-09 06:54:44 +00:00
|
|
|
class anyone { name = CSTRING(engineerSetting_anyone); value = 0; };
|
|
|
|
class Engineer { name = CSTRING(engineerSetting_EngineerOnly); value = 1; default = 1; };
|
2017-06-08 17:10:35 +00:00
|
|
|
class Advanced { name = CSTRING(engineerSetting_AdvancedOnly); value = 2; };
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class engineerSetting_Wheel {
|
2017-07-11 17:50:35 +00:00
|
|
|
displayName = CSTRING(engineerSetting_Wheel_name);
|
|
|
|
description = CSTRING(engineerSetting_Wheel_description);
|
2015-04-21 11:17:09 +00:00
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
2015-08-09 06:54:44 +00:00
|
|
|
class anyone { name = CSTRING(engineerSetting_anyone); value = 0; default = 1; };
|
|
|
|
class Engineer { name = CSTRING(engineerSetting_EngineerOnly); value = 1; };
|
2017-06-08 17:10:35 +00:00
|
|
|
class Advanced { name = CSTRING(engineerSetting_AdvancedOnly); value = 2; };
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class repairDamageThreshold {
|
2015-08-09 06:54:44 +00:00
|
|
|
displayName = CSTRING(repairDamageThreshold_name);
|
|
|
|
description = CSTRING(repairDamageThreshold_description);
|
2015-04-21 11:17:09 +00:00
|
|
|
typeName = "NUMBER";
|
2015-08-09 16:08:53 +00:00
|
|
|
defaultValue = 0.6;
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
class repairDamageThreshold_Engineer {
|
2015-08-09 06:54:44 +00:00
|
|
|
displayName = CSTRING(repairDamageThreshold_Engineer_name);
|
|
|
|
description = CSTRING(repairDamageThreshold_Engineer_description);
|
2015-04-21 11:17:09 +00:00
|
|
|
typeName = "NUMBER";
|
2015-08-09 16:08:53 +00:00
|
|
|
defaultValue = 0.4;
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
class consumeItem_ToolKit {
|
2015-08-09 06:54:44 +00:00
|
|
|
displayName = CSTRING(consumeItem_ToolKit_name);
|
|
|
|
description = CSTRING(consumeItem_ToolKit_description);
|
2015-04-21 11:17:09 +00:00
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
2015-08-09 06:54:44 +00:00
|
|
|
class keep { name = ECSTRING(common,No); value = 0; default = 1; };
|
|
|
|
class remove { name = ECSTRING(common,Yes); value = 1; };
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
};
|
2015-08-14 18:49:51 +00:00
|
|
|
class fullRepairLocation {
|
|
|
|
displayName = CSTRING(fullRepairLocation);
|
|
|
|
description = CSTRING(fullRepairLocation_description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class anywhere { name = CSTRING(useAnywhere); value = 0; };
|
|
|
|
class vehicle { name = CSTRING(repairVehicleOnly); value = 1; };
|
|
|
|
class facility { name = CSTRING(repairFacilityOnly); value = 2; default = 1; };
|
|
|
|
class vehicleAndFacility { name = CSTRING(vehicleAndFacility); value = 3; };
|
|
|
|
class disabled { name = ECSTRING(common,Disabled); value = 4;};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class engineerSetting_fullRepair {
|
|
|
|
displayName = CSTRING(engineerSetting_fullRepair_name);
|
|
|
|
description = CSTRING(engineerSetting_fullRepair_description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class anyone { name = CSTRING(engineerSetting_anyone); value = 0; };
|
|
|
|
class Engineer { name = CSTRING(engineerSetting_EngineerOnly); value = 1; };
|
2017-06-08 17:10:35 +00:00
|
|
|
class Advanced { name = CSTRING(engineerSetting_AdvancedOnly); value = 2; default = 1;};
|
2015-08-14 18:49:51 +00:00
|
|
|
};
|
|
|
|
};
|
2015-08-18 21:41:25 +00:00
|
|
|
class addSpareParts {
|
|
|
|
displayName = CSTRING(addSpareParts_name);
|
|
|
|
description = CSTRING(addSpareParts_description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2015-09-15 14:54:55 +00:00
|
|
|
class wheelRepairRequiredItems {
|
2019-10-29 00:18:26 +00:00
|
|
|
displayName = CSTRING(WheelRepairRequiredItems_DisplayName);
|
2015-09-15 14:54:55 +00:00
|
|
|
description = CSTRING(wheelRepairRequiredItems_description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class None { name = "None"; value = 0; default = 1;};
|
|
|
|
class ToolKit { name = "ToolKit"; value = 1; };
|
|
|
|
};
|
|
|
|
};
|
2015-04-21 11:17:09 +00:00
|
|
|
};
|
|
|
|
class ModuleDescription {
|
2015-08-09 06:54:44 +00:00
|
|
|
description = CSTRING(moduleDescription);
|
2015-04-21 11:17:09 +00:00
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-14 18:49:51 +00:00
|
|
|
class Module_F;
|
|
|
|
class ACE_moduleAssignEngineerRoles: Module_F {
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
2015-08-14 18:49:51 +00:00
|
|
|
displayName = CSTRING(AssignEngineerRole_Module_DisplayName);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(ui\Icon_Module_Repair_ca.paa);
|
2015-08-18 03:26:55 +00:00
|
|
|
category = "ACE_Logistics";
|
2015-08-16 18:34:02 +00:00
|
|
|
function = QFUNC(moduleAssignEngineer);
|
2015-08-14 18:49:51 +00:00
|
|
|
functionPriority = 10;
|
|
|
|
isGlobal = 2;
|
|
|
|
isTriggerActivated = 0;
|
|
|
|
isDisposable = 0;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
class Arguments {
|
|
|
|
class EnableList {
|
2015-09-11 17:57:21 +00:00
|
|
|
displayName = CSTRING(EnableList_DisplayName);
|
2015-08-14 18:49:51 +00:00
|
|
|
description = CSTRING(AssignEngineerRole_EnableList_Description);
|
|
|
|
defaultValue = "";
|
|
|
|
typeName = "STRING";
|
|
|
|
};
|
|
|
|
class role {
|
|
|
|
displayName = CSTRING(AssignEngineerRole_role_DisplayName);
|
|
|
|
description = CSTRING(AssignEngineerRole_role_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class none {
|
|
|
|
name = CSTRING(AssignEngineerRole_role_none);
|
|
|
|
value = 0;
|
|
|
|
};
|
|
|
|
class medic {
|
|
|
|
name = CSTRING(AssignEngineerRole_role_engineer);
|
|
|
|
value = 1;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
class doctor {
|
2017-06-08 17:10:35 +00:00
|
|
|
name = CSTRING(AssignEngineerRole_role_advanced);
|
2015-08-14 18:49:51 +00:00
|
|
|
value = 2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(AssignEngineerRole_Module_Description);
|
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
2015-08-15 13:49:41 +00:00
|
|
|
class ACE_moduleAssignRepairVehicle: Module_F {
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
2015-08-15 13:49:41 +00:00
|
|
|
displayName = CSTRING(AssignRepairVehicle_Module_DisplayName);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(ui\Icon_Module_Repair_ca.paa);
|
2015-08-18 03:26:55 +00:00
|
|
|
category = "ACE_Logistics";
|
2015-08-16 18:34:02 +00:00
|
|
|
function = QFUNC(moduleAssignRepairVehicle);
|
2015-08-15 13:49:41 +00:00
|
|
|
functionPriority = 10;
|
|
|
|
isGlobal = 2;
|
|
|
|
isTriggerActivated = 0;
|
|
|
|
isDisposable = 0;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
class Arguments {
|
|
|
|
class EnableList {
|
2015-09-11 17:57:21 +00:00
|
|
|
displayName = CSTRING(EnableList_DisplayName);
|
2015-08-15 13:49:41 +00:00
|
|
|
description = CSTRING(AssignRepairVehicle_EnableList_Description);
|
|
|
|
defaultValue = "";
|
|
|
|
typeName = "STRING";
|
|
|
|
};
|
|
|
|
class role {
|
|
|
|
displayName = CSTRING(AssignRepairVehicle_role_DisplayName);
|
|
|
|
description = CSTRING(AssignRepairVehicle_role_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class none {
|
|
|
|
name = ECSTRING(common,No);
|
|
|
|
value = 0;
|
|
|
|
};
|
|
|
|
class isVehicle {
|
|
|
|
name = ECSTRING(common,Yes);
|
|
|
|
value = 1;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(AssignRepairVehicle_Module_Description);
|
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_moduleAssignRepairFacility: ACE_moduleAssignRepairVehicle {
|
|
|
|
displayName = CSTRING(AssignRepairFacility_Module_DisplayName);
|
2015-08-16 18:34:02 +00:00
|
|
|
function = QFUNC(moduleAssignRepairFacility);
|
2015-08-15 13:49:41 +00:00
|
|
|
class Arguments {
|
|
|
|
class EnableList {
|
2015-09-11 17:57:21 +00:00
|
|
|
displayName = CSTRING(EnableList_DisplayName);
|
2015-08-15 13:49:41 +00:00
|
|
|
description = CSTRING(AssignRepairFacility_EnableList_Description);
|
|
|
|
defaultValue = "";
|
|
|
|
typeName = "STRING";
|
|
|
|
};
|
|
|
|
class role {
|
|
|
|
displayName = CSTRING(AssignRepairFacility_role_DisplayName);
|
|
|
|
description = CSTRING(AssignRepairFacility_role_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
class values {
|
|
|
|
class none {
|
|
|
|
name = ECSTRING(common,No);
|
|
|
|
value = 0;
|
|
|
|
};
|
|
|
|
class isFacility {
|
|
|
|
name = ECSTRING(common,Yes);
|
|
|
|
value = 1;
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(AssignRepairFacility_Module_Description);
|
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
2015-08-18 21:41:25 +00:00
|
|
|
class ACE_moduleAddSpareParts: Module_F {
|
2017-12-07 17:01:31 +00:00
|
|
|
scope = 1;
|
2015-08-18 21:41:25 +00:00
|
|
|
displayName = CSTRING(AddSpareParts_Module_DisplayName);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(ui\Icon_Module_Repair_ca.paa);
|
2015-08-23 17:54:55 +00:00
|
|
|
category = "ACE_Logistics";
|
2015-08-18 21:41:25 +00:00
|
|
|
function = QFUNC(moduleAddSpareParts);
|
|
|
|
functionPriority = 10;
|
|
|
|
isGlobal = 0;
|
|
|
|
isTriggerActivated = 0;
|
|
|
|
isDisposable = 0;
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
class Arguments {
|
|
|
|
class List {
|
2015-09-11 17:57:21 +00:00
|
|
|
displayName = CSTRING(EnableList_DisplayName);
|
2015-08-18 21:41:25 +00:00
|
|
|
description = CSTRING(AddSpareParts_List_Description);
|
|
|
|
defaultValue = "";
|
|
|
|
typeName = "STRING";
|
|
|
|
};
|
|
|
|
class Part {
|
|
|
|
displayName = CSTRING(AddSpareParts_Part_DisplayName);
|
|
|
|
description = CSTRING(AddSpareParts_Part_Description);
|
|
|
|
typeName = "STRING";
|
|
|
|
class values {
|
|
|
|
class Wheel {
|
|
|
|
name = CSTRING(SpareWheel);
|
|
|
|
value = "ACE_Wheel";
|
|
|
|
default = 1;
|
|
|
|
};
|
|
|
|
class Track {
|
|
|
|
name = CSTRING(SpareTrack);
|
|
|
|
value = "ACE_Track";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class Amount {
|
|
|
|
displayName = CSTRING(AddSpareParts_Amount_DisplayName);
|
|
|
|
description = CSTRING(AddSpareParts_Amount_Description);
|
|
|
|
typeName = "NUMBER";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(AddSpareParts_Module_Description);
|
|
|
|
sync[] = {};
|
|
|
|
};
|
|
|
|
};
|
2015-08-14 18:49:51 +00:00
|
|
|
|
|
|
|
|
2015-03-10 22:29:45 +00:00
|
|
|
class LandVehicle;
|
|
|
|
class Car: LandVehicle {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
|
|
|
|
|
|
|
class Tank: LandVehicle {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
|
|
|
|
2016-05-12 19:30:32 +00:00
|
|
|
class Motorcycle: LandVehicle {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
|
|
|
|
2015-03-10 22:29:45 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
|
|
|
|
|
|
|
class Plane: Air {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
|
|
|
|
|
|
|
class Ship;
|
|
|
|
class Ship_F: Ship {
|
|
|
|
MACRO_REPAIRVEHICLE
|
|
|
|
};
|
2015-03-11 09:37:30 +00:00
|
|
|
|
2016-01-03 14:21:38 +00:00
|
|
|
class ThingX;
|
|
|
|
class ACE_RepairItem_Base: ThingX {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
2016-09-16 11:51:41 +00:00
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
|
2016-03-01 16:05:00 +00:00
|
|
|
};
|
2016-09-24 20:15:02 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
modifierFunction = QUOTE(_this call FUNC(modifyInteraction));
|
|
|
|
};
|
|
|
|
};
|
2016-03-01 16:05:00 +00:00
|
|
|
|
2015-03-11 09:37:30 +00:00
|
|
|
accuracy = 0.2;
|
2015-08-18 03:26:55 +00:00
|
|
|
vehicleClass = "ACE_Logistics_Items";
|
2017-12-07 14:29:54 +00:00
|
|
|
editorCategory = "EdCat_Supplies";
|
2018-01-02 14:56:15 +00:00
|
|
|
editorSubcategory = QEGVAR(main,subcategory);
|
2015-03-11 09:37:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Track: ACE_RepairItem_Base {
|
2015-08-16 14:45:46 +00:00
|
|
|
EGVAR(cargo,size) = 2;
|
|
|
|
EGVAR(cargo,canLoad) = 1;
|
2021-10-25 23:27:56 +00:00
|
|
|
EGVAR(cargo,noRename) = 1;
|
2015-03-11 09:37:30 +00:00
|
|
|
author = "Hawkins";
|
2015-08-09 20:44:39 +00:00
|
|
|
scope = 2;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_track.p3d);
|
2015-08-18 03:26:55 +00:00
|
|
|
displayName = CSTRING(SpareTrack);
|
2016-09-24 20:08:56 +00:00
|
|
|
icon = "iconObject_2x1";
|
|
|
|
mapSize = 0.5;
|
|
|
|
|
|
|
|
// damage handling
|
2017-12-07 17:01:31 +00:00
|
|
|
armor = 1000;
|
2016-09-24 20:08:56 +00:00
|
|
|
armorStructural = 1;
|
2017-12-07 17:01:31 +00:00
|
|
|
minTotalDamageThreshold = 0.01;
|
2016-09-24 20:08:56 +00:00
|
|
|
explosionShielding = 1;
|
|
|
|
replaceDamagedLimit = 0.9;
|
|
|
|
selectionDamage = "mat_track";
|
|
|
|
|
|
|
|
class Damage {
|
|
|
|
tex[] = {};
|
|
|
|
mat[] = {
|
|
|
|
QPATHTO_R(data\trailObjects_steel.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_steel_damage.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_steel_destruct.rvmat)
|
|
|
|
};
|
|
|
|
};
|
2017-12-07 14:29:54 +00:00
|
|
|
|
|
|
|
editorPreview = QPATHTOF(data\preview_track.jpg);
|
2015-03-11 09:37:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Wheel: ACE_RepairItem_Base {
|
2015-08-16 14:45:46 +00:00
|
|
|
EGVAR(cargo,size) = 1;
|
|
|
|
EGVAR(cargo,canLoad) = 1;
|
2021-10-25 23:27:56 +00:00
|
|
|
EGVAR(cargo,noRename) = 1;
|
2015-03-11 09:37:30 +00:00
|
|
|
author = "Hawkins";
|
|
|
|
scope = 2;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\ace_wheel.p3d);
|
2015-08-18 03:26:55 +00:00
|
|
|
displayName = CSTRING(SpareWheel);
|
2016-04-08 18:34:50 +00:00
|
|
|
picture = QPATHTOF(ui\tire_ca.paa);
|
2016-09-24 20:08:56 +00:00
|
|
|
icon = "iconObject_circle";
|
|
|
|
mapSize = 0.7;
|
|
|
|
|
|
|
|
// damage handling
|
2017-12-07 17:01:31 +00:00
|
|
|
armor = 120;
|
2016-09-24 20:08:56 +00:00
|
|
|
armorStructural = 1;
|
2017-12-07 17:01:31 +00:00
|
|
|
minTotalDamageThreshold = 0.01;
|
2016-09-24 20:08:56 +00:00
|
|
|
explosionShielding = 1;
|
|
|
|
replaceDamagedLimit = 0.9;
|
|
|
|
selectionDamage = "mat_tyre"; //"mat_rim"
|
|
|
|
|
|
|
|
// necessary because only one "selectionDamage" (== "visual") is allowed for simple damage objects
|
|
|
|
// can not take damage individually though, because of limitations of the thingX simulation type
|
|
|
|
class HitPoints {
|
|
|
|
class HitBody {
|
2020-11-03 03:43:49 +00:00
|
|
|
armor = 1;
|
2016-09-24 20:08:56 +00:00
|
|
|
material = -1;
|
2016-09-26 13:07:35 +00:00
|
|
|
name = "mat_rim";
|
2016-09-24 20:08:56 +00:00
|
|
|
visual = "mat_rim";
|
|
|
|
passThrough = 1;
|
2016-09-26 13:07:35 +00:00
|
|
|
radius = 0.1;
|
2016-09-24 20:08:56 +00:00
|
|
|
explosionShielding = 1;
|
2020-11-03 03:43:49 +00:00
|
|
|
minimalHit = 1;
|
2016-09-24 20:08:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Damage {
|
|
|
|
tex[] = {};
|
|
|
|
mat[] = {
|
|
|
|
QPATHTO_R(data\trailObjects_tyre.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_tyre_damage.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_tyre_damage.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_steel.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_steel_damage.rvmat),
|
|
|
|
QPATHTO_R(data\trailObjects_steel_destruct.rvmat)
|
|
|
|
};
|
|
|
|
};
|
2017-12-07 14:29:54 +00:00
|
|
|
|
|
|
|
editorPreview = QPATHTOF(data\preview_wheel.jpg);
|
2023-06-28 10:39:08 +00:00
|
|
|
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
class GVAR(Patch) {
|
|
|
|
displayName = CSTRING(PatchWheel);
|
|
|
|
distance = 4;
|
2023-11-05 18:36:00 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canPatchRemovedWheel));
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call FUNC(patchRemovedWheel));
|
2023-06-28 10:39:08 +00:00
|
|
|
exceptions[] = {"isNotDragging", "isNotCarrying", "isNotOnLadder", "isNotSwimming", "isNotSitting"};
|
|
|
|
icon = QPATHTOF(ui\patch_ca.paa);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-03-11 09:37:30 +00:00
|
|
|
};
|
2015-04-25 08:17:18 +00:00
|
|
|
|
2015-11-27 20:06:57 +00:00
|
|
|
class Heli_Transport_02_base_F;
|
|
|
|
class I_Heli_Transport_02_F: Heli_Transport_02_base_F {
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(hitpointPositions)[] = {{"HitVRotor", {-1,-9.4,1.8}}, {"HitHRotor", {0,1.8,1.3}}};
|
2015-11-27 20:06:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class Helicopter_Base_F;
|
|
|
|
class Heli_light_03_base_F: Helicopter_Base_F {
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(hitpointPositions)[] = {{"HitVRotor", {-0.5,-5.55,1.2}}, {"HitHRotor", {0,1.8,1.5}}};
|
2015-11-27 20:06:57 +00:00
|
|
|
};
|
|
|
|
|
2015-04-25 08:17:18 +00:00
|
|
|
class B_APC_Tracked_01_base_F;
|
2015-11-27 20:06:57 +00:00
|
|
|
class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F {
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(hitpointPositions)[] = {{"HitTurret", {0,-2,0}}};
|
2015-11-27 20:06:57 +00:00
|
|
|
};
|
|
|
|
|
2019-03-11 02:41:06 +00:00
|
|
|
class Car_F: Car {
|
|
|
|
class HitPoints;
|
|
|
|
};
|
|
|
|
class Truck_F: Car_F {
|
|
|
|
class HitPoints: HitPoints {
|
|
|
|
class HitLBWheel;
|
|
|
|
class HitRBWheel;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class Truck_03_base_F: Truck_F {
|
|
|
|
class HitPoints: HitPoints {
|
|
|
|
class HitLBWheel: HitLBWheel {
|
|
|
|
name = "wheel_1_4_steering"; // return original values back to fix double wheel hitpoint
|
|
|
|
};
|
|
|
|
class HitRBWheel: HitRBWheel {
|
|
|
|
name = "wheel_2_4_steering";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-24 01:23:37 +00:00
|
|
|
|
2018-01-03 11:01:17 +00:00
|
|
|
class Quadbike_01_base_F: Car_F {
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(hitpointPositions)[] = { {"HitEngine", {0, 0.5, -0.7}}, {"HitFuel", {0, 0, -0.5}} };
|
2015-08-24 01:23:37 +00:00
|
|
|
};
|
2015-09-26 04:36:35 +00:00
|
|
|
class Hatchback_01_base_F: Car_F {
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(hitpointPositions)[] = {{"HitBody", {0, 0.7, -0.5}}, {"HitFuel", {0, -1.75, -0.75}}};
|
2015-09-26 04:36:35 +00:00
|
|
|
};
|
2015-03-10 22:29:45 +00:00
|
|
|
};
|