mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6a821715a0
Conflicts: addons/missionmodules/CfgVehicles.hpp addons/respawn/CfgVehicles.hpp
1041 lines
36 KiB
C++
1041 lines
36 KiB
C++
|
|
#define MEDICAL_ACTION_DISTANCE 1.75
|
|
|
|
class CfgVehicles {
|
|
|
|
class Logic;
|
|
class Module_F: Logic {
|
|
class ArgumentsBaseUnits {
|
|
};
|
|
};
|
|
class ACE_Module;
|
|
// TODO localization for all the modules
|
|
class ACE_moduleMedicalSettings: ACE_Module {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_MedicalSettings_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(DFUNC(moduleMedicalSettings));
|
|
functionPriority = 1;
|
|
isGlobal = 1;
|
|
isTriggerActivated = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class level {
|
|
displayName = "$STR_ACE_MedicalSettings_level_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_level_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class normal {
|
|
name = "$STR_ACE_MedicalSettings_basic";
|
|
value = 1;
|
|
default = 1;
|
|
};
|
|
class full {
|
|
name = "$STR_ACE_MedicalSettings_advanced";
|
|
value = 2;
|
|
};
|
|
};
|
|
};
|
|
class medicSetting {
|
|
displayName = "$STR_ACE_MedicalSettings_medicSetting_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_medicSetting_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class disable {
|
|
name = "$STR_ACE_MedicalSettings_medicSetting_disable";
|
|
value = 0;
|
|
};
|
|
class normal {
|
|
name = "$STR_ACE_MedicalSettings_basic";
|
|
value = 1;
|
|
default = 1;
|
|
};
|
|
class full {
|
|
name = "$STR_ACE_MedicalSettings_advanced";
|
|
value = 2;
|
|
};
|
|
};
|
|
};
|
|
class allowLitterCreation {
|
|
displayName = "$STR_ACE_MedicalSettings_allowLitterCreation_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_allowLitterCreation_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
class litterCleanUpDelay {
|
|
displayName = "$STR_ACE_MedicalSettings_litterCleanUpDelay_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_litterCleanUpDelay_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 1800;
|
|
};
|
|
class enableScreams {
|
|
displayName = "$STR_ACE_MedicalSettings_enableScreams_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_enableScreams_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
class playerDamageThreshold {
|
|
displayName = "$STR_ACE_MedicalSettings_playerDamageThreshold_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_playerDamageThreshold_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 1;
|
|
};
|
|
class AIDamageThreshold {
|
|
displayName = "$STR_ACE_MedicalSettings_AIDamageThreshold_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_AIDamageThreshold_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 1;
|
|
};
|
|
class enableUnconsciousnessAI {
|
|
displayName = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_enableUnconsciousnessAI_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class disable {
|
|
name = "$STR_ACE_Medical_disabled";
|
|
value = 0;
|
|
};
|
|
class normal {
|
|
name = "50/50";
|
|
value = 1;
|
|
default = 1;
|
|
};
|
|
class full {
|
|
name = "$STR_ACE_Medical_enabled";
|
|
value = 2;
|
|
};
|
|
};
|
|
};
|
|
class preventInstaDeath {
|
|
displayName = "$STR_ACE_MedicalSettings_preventInstaDeath_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_preventInstaDeath_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 0;
|
|
};
|
|
class bleedingCoefficient {
|
|
displayName = "$STR_ACE_MedicalSettings_bleedingCoefficient_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_bleedingCoefficient_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 1;
|
|
};
|
|
class painCoefficient {
|
|
displayName = "$STR_ACE_MedicalSettings_painCoefficient_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_painCoefficient_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 1;
|
|
};
|
|
class keepLocalSettingsSynced {
|
|
displayName = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_DisplayName";
|
|
description = "$STR_ACE_MedicalSettings_keepLocalSettingsSynced_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_MedicalSettings_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
|
|
class ACE_moduleAdvancedMedicalSettings: ACE_Module {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(FUNC(moduleAdvancedMedicalSettings));
|
|
functionPriority = 10;
|
|
isGlobal = 2;
|
|
isTriggerActivated = 0;
|
|
isDisposable = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class enableFor {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_enableFor_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_enableFor_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class playableUnits {
|
|
name = "$STR_ACE_Medical_playeronly";
|
|
value = 0;
|
|
default = 1;
|
|
};
|
|
class playableUnitsAndAI {
|
|
name = "$STR_ACE_Medical_playersandai";
|
|
value = 1;
|
|
};
|
|
};
|
|
};
|
|
class enableAdvancedWounds {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_enableAdvancedWounds_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 0;
|
|
};
|
|
class enableVehicleCrashes {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_enableVehicleCrashes_Description";
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
class medicSetting_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_PAK_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class anyone { name = "$STR_ACE_AdvancedMedicalSettings_anyone"; value = 0; };
|
|
class Medic { name = "$STR_ACE_AdvancedMedicalSettings_Medic"; value = 1; default = 1; };
|
|
class Special { name = "$STR_ACE_AdvancedMedicalSettings_Special"; value = 2; };
|
|
};
|
|
};
|
|
class consumeItem_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_PAK_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class keep { name = "$STR_ACE_Medical_No"; value = 0; };
|
|
class remove { name = "$STR_ACE_Medical_Yes"; value = 1; default = 1; };
|
|
};
|
|
};
|
|
class useLocation_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_PAK_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class anywhere { name = "$STR_ACE_AdvancedMedicalSettings_anywhere"; value = 0; };
|
|
class vehicle { name = "$STR_ACE_AdvancedMedicalSettings_vehicle"; value = 1; };
|
|
class facility { name = "$STR_ACE_AdvancedMedicalSettings_facility"; value = 2; };
|
|
class vehicleAndFacility { name = "$STR_ACE_AdvancedMedicalSettings_vehicleAndFacility"; value = 3; default = 1; };
|
|
class disabled { name = "$STR_ACE_AdvancedMedicalSettings_disabled"; value = 4;};
|
|
};
|
|
};
|
|
class medicSetting_SurgicalKit: medicSetting_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_medicSetting_SurgicalKit_Description";
|
|
};
|
|
class consumeItem_SurgicalKit: consumeItem_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_consumeItem_SurgicalKit_Description";
|
|
};
|
|
class useLocation_SurgicalKit: useLocation_PAK {
|
|
displayName = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_DisplayName";
|
|
description = "$STR_ACE_AdvancedMedicalSettings_useLocation_SurgicalKit_Description";
|
|
};
|
|
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_AdvancedMedicalSettings_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
|
|
|
|
class ACE_moduleReviveSettings: ACE_Module {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_ReviveSettings_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(DFUNC(moduleReviveSettings));
|
|
functionPriority = 1;
|
|
isGlobal = 1;
|
|
isTriggerActivated = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class enableRevive {
|
|
displayName = "$STR_ACE_ReviveSettings_enableRevive_DisplayName";
|
|
description = "$STR_ACE_ReviveSettings_enableRevive_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 0;
|
|
class values {
|
|
class disable { name = "$STR_ACE_Medical_disabled"; value = 0; default = 1;};
|
|
class playerOnly { name = "$STR_ACE_Medical_playeronly"; value = 1; };
|
|
class playerAndAI { name = "$STR_ACE_Medical_playersandai"; value = 2; };
|
|
};
|
|
};
|
|
class maxReviveTime {
|
|
displayName = "$STR_ACE_ReviveSettings_maxReviveTime_DisplayName";
|
|
description = "$STR_ACE_ReviveSettings_maxReviveTime_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = 120;
|
|
};
|
|
class amountOfReviveLives {
|
|
displayName = "$STR_ACE_ReviveSettings_amountOfReviveLives_DisplayName";
|
|
description = "$STR_ACE_ReviveSettings_amountOfReviveLives_Description";
|
|
typeName = "NUMBER";
|
|
defaultValue = -1;
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_ReviveSettings_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
class ACE_moduleAssignMedicRoles: Module_F {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_AssignMedicRoles_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(FUNC(moduleAssignMedicRoles));
|
|
functionPriority = 10;
|
|
isGlobal = 2;
|
|
isTriggerActivated = 0;
|
|
isDisposable = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class EnableList {
|
|
displayName = "$STR_ACE_AssignMedicRoles_EnableList_DisplayName";
|
|
description = "$STR_ACE_AssignMedicRoles_EnableList_Description";
|
|
defaultValue = "";
|
|
typeName = "STRING";
|
|
};
|
|
class role {
|
|
displayName = "$STR_ACE_AssignMedicRoles_role_DisplayName";
|
|
description = "$STR_ACE_AssignMedicRoles_role_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class none {
|
|
name = "$STR_ACE_AssignMedicRoles_role_none";
|
|
value = 0;
|
|
};
|
|
class medic {
|
|
name = "$STR_ACE_AssignMedicRoles_role_medic";
|
|
value = 1;
|
|
default = 1;
|
|
};
|
|
class doctor {
|
|
name = "$STR_ACE_AssignMedicRoles_role_doctor";
|
|
value = 2;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_AssignMedicRoles_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
|
|
class ACE_moduleAssignMedicVehicle: Module_F {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_AssignMedicVehicle_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(FUNC(moduleAssignMedicalVehicle));
|
|
functionPriority = 10;
|
|
isGlobal = 2;
|
|
isTriggerActivated = 0;
|
|
isDisposable = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class EnableList {
|
|
displayName = "$STR_ACE_AssignMedicVehicle_EnableList_DisplayName";
|
|
description = "$STR_ACE_AssignMedicVehicle_EnableList_Description";
|
|
defaultValue = "";
|
|
typeName = "STRING";
|
|
};
|
|
class enabled {
|
|
displayName = "$STR_ACE_AssignMedicVehicle_enabled_DisplayName";
|
|
description = "$STR_ACE_AssignMedicVehicle_enabled_Description";
|
|
typeName = "NUMBER";
|
|
class values {
|
|
class none {
|
|
name = "$STR_ACE_Medical_No";
|
|
value = 0;
|
|
};
|
|
class medic {
|
|
name = "$STR_ACE_Medical_Yes";
|
|
value = 1;
|
|
default = 1;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_AssignMedicVehicle_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
class ACE_moduleAssignMedicalFacility: Module_F {
|
|
scope = 2;
|
|
displayName = "$STR_ACE_AssignMedicalFacility_Module_DisplayName";
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_Medical_ca.paa));
|
|
category = "ACE_medical";
|
|
function = QUOTE(FUNC(moduleAssignMedicalFacility));
|
|
functionPriority = 10;
|
|
isGlobal = 2;
|
|
isTriggerActivated = 0;
|
|
isDisposable = 0;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class Arguments {
|
|
class enabled {
|
|
displayName = "$STR_ACE_AssignMedicalFacility_enabled_DisplayName";
|
|
description = "$STR_ACE_AssignMedicalFacility_enabled_Description";
|
|
typeName = "BOOL";
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = "$STR_ACE_AssignMedicalFacility_Module_Description";
|
|
sync[] = {};
|
|
};
|
|
};
|
|
|
|
#define ARM_LEG_ARMOR_DEFAULT 2
|
|
#define ARM_LEG_ARMOR_BETTER 3
|
|
#define ARM_LEG_ARMOR_CSAT 4
|
|
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class HitPoints {
|
|
class HitHead;
|
|
class HitBody;
|
|
// "DEACTIVE" DEFAULT HITPOINTS
|
|
class HitHands {
|
|
armor = 999; //armor = 2;
|
|
explosionShielding = 0; //explosionShielding = 1;
|
|
material = -1;
|
|
minimalHit = 0;
|
|
name = "";
|
|
passThrough = 1;
|
|
radius = 0; //radius = 0.06;
|
|
visual = "injury_hands";
|
|
};
|
|
class HitLegs {
|
|
armor = 999; //armor = 2;
|
|
explosionShielding = 0; //explosionShielding = 1;
|
|
material = -1;
|
|
minimalHit = 0;
|
|
name = "";
|
|
passThrough = 1;
|
|
radius = 0; //radius = 0.08;
|
|
visual = "injury_legs";
|
|
};
|
|
|
|
class HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_DEFAULT; //2;
|
|
explosionShielding = 1;
|
|
material = -1;
|
|
minimalHit = 0;
|
|
name = "hand_l";
|
|
passThrough = 1;
|
|
radius = 0.06;
|
|
visual = "injury_hands";
|
|
};
|
|
class HitRightArm: HitLeftArm {
|
|
name = "hand_r";
|
|
};
|
|
class HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_DEFAULT; //2;
|
|
explosionShielding = 1;
|
|
material = -1;
|
|
minimalHit = 0;
|
|
name = "leg_l";
|
|
passThrough = 1;
|
|
radius = 0.08;
|
|
visual = "injury_legs";
|
|
};
|
|
class HitRightLeg: HitLeftLeg {
|
|
name = "leg_r";
|
|
};
|
|
};
|
|
class ACE_SelfActions {
|
|
#include "ACE_Medical_SelfActions.hpp"
|
|
};
|
|
|
|
class ACE_Actions {
|
|
// Include actions in body parts for treatment while in the open
|
|
#define EXCEPTIONS exceptions[] = {};
|
|
#define ACTION_CONDITION condition = QUOTE(GVAR(menuTypeStyle) == 0);
|
|
#include "ACE_Medical_Actions.hpp"
|
|
|
|
// Create a consolidates medical menu for treatment while boarded
|
|
class ACE_MainActions {
|
|
class Medical {
|
|
displayName = "$STR_ACE_Medical_Actions_Medical";
|
|
runOnHover = 1;
|
|
exceptions[] = {"isNotInside"};
|
|
condition = QUOTE((vehicle _target != _target && vehicle _target == vehicle _player) || GVAR(menuTypeStyle) == 1);
|
|
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
|
|
#undef EXCEPTIONS
|
|
#undef ACTION_CONDITION
|
|
#define EXCEPTIONS exceptions[] = {"isNotInside"};
|
|
#define ACTION_CONDITION condition = "true";
|
|
#include "ACE_Medical_Actions.hpp"
|
|
};
|
|
class GVAR(loadPatient) {
|
|
displayName = "$STR_ACE_Medical_LoadPatient";
|
|
distance = 5;
|
|
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target == _target);
|
|
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionLoadUnit));
|
|
showDisabled = 0;
|
|
priority = 2;
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
exceptions[] = {"isNotDragging", "isNotCarrying"};
|
|
};
|
|
class GVAR(UnLoadPatient) {
|
|
displayName = "$STR_ACE_Medical_UnloadPatient";
|
|
distance = 5;
|
|
condition = QUOTE(_target getvariable[ARR_2(QUOTE(QUOTE(ACE_isUnconscious)),false)] && vehicle _target != _target);
|
|
statement = QUOTE([ARR_2(_player, _target)] call DFUNC(actionUnloadUnit));
|
|
showDisabled = 0;
|
|
priority = 2;
|
|
icon = PATHTOF(UI\icons\medical_cross.paa);
|
|
exceptions[] = {"isNotDragging", "isNotCarrying", "isNotInside"};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
class SoldierWB: CAManBase {};
|
|
class SoldierEB: CAManBase {};
|
|
class SoldierGB: CAManBase {};
|
|
|
|
class B_Soldier_base_F: SoldierWB {};
|
|
|
|
class B_Soldier_04_f: B_Soldier_base_F {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
};
|
|
};
|
|
|
|
class B_Soldier_05_f: B_Soldier_base_F {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
};
|
|
};
|
|
|
|
class I_Soldier_base_F: SoldierGB {};
|
|
|
|
class I_Soldier_03_F: I_Soldier_base_F {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
};
|
|
};
|
|
|
|
class I_Soldier_04_F: I_Soldier_base_F {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_BETTER;
|
|
};
|
|
};
|
|
};
|
|
|
|
class O_Soldier_base_F: SoldierEB {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
};
|
|
};
|
|
|
|
class O_Soldier_02_F: O_Soldier_base_F {
|
|
class HitPoints: HitPoints {
|
|
class HitHead: HitHead {};
|
|
class HitBody: HitBody {};
|
|
class HitHands: HitHands {};
|
|
class HitLegs: HitLegs {};
|
|
|
|
class HitLeftArm: HitLeftArm {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitRightArm: HitRightArm {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitLeftLeg: HitLeftLeg {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
|
|
class HitRightLeg: HitRightLeg {
|
|
armor = ARM_LEG_ARMOR_CSAT;
|
|
passThrough = 0.85;
|
|
};
|
|
};
|
|
};
|
|
class MapBoard_altis_F;
|
|
class ACE_bodyBagObject: MapBoard_altis_F {
|
|
XEH_ENABLED;
|
|
scope = 1;
|
|
side = -1;
|
|
model = QUOTE(PATHTOEF(apl,bodybag.p3d));
|
|
icon = "";
|
|
displayName = $STR_ACE_Medical_Bodybag_Display;
|
|
EGVAR(dragging,canDrag) = 1;
|
|
EGVAR(dragging,dragPosition[]) = {0,1.2,0};
|
|
EGVAR(dragging,dragDirection) = 0;
|
|
class ACE_Actions {
|
|
class ACE_MainActions {
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
|
distance = 5;
|
|
condition = QUOTE(true);
|
|
statement = "";
|
|
icon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
|
|
selection = "";
|
|
};
|
|
};
|
|
};
|
|
|
|
// Medical litter classes
|
|
class Thing;
|
|
class ACE_MedicalLitterBase: Thing {
|
|
scope = 1;
|
|
displayName = " ";
|
|
destrType = "DestructNo";
|
|
model = QUOTE(PATHTOF(data\littergeneric.p3d));
|
|
};
|
|
class ACE_MedicalLitter_bandage1: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\littergeneric_bandages1.p3d));
|
|
};
|
|
class ACE_MedicalLitter_bandage2: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\littergeneric_bandages2.p3d));
|
|
};
|
|
class ACE_MedicalLitter_bandage3: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\littergeneric_bandages3.p3d));
|
|
};
|
|
class ACE_MedicalLitter_packingBandage: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\litter_packingBandage.p3d));
|
|
};
|
|
class ACE_MedicalLitter_gloves: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\littergeneric_gloves.p3d));
|
|
};
|
|
class ACE_MedicalLitter_atropine: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\litter_atropine.p3d));
|
|
};
|
|
class ACE_MedicalLitter_epinephrine: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\litter_epinephrine.p3d));
|
|
};
|
|
class ACE_MedicalLitter_morphine: ACE_MedicalLitterBase {
|
|
model = QUOTE(PATHTOF(data\litter_morphine.p3d));
|
|
};
|
|
|
|
class Item_Base_F;
|
|
class ACE_fieldDressingItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Bandage_Basic_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_fieldDressing {
|
|
name = "ACE_fieldDressing";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_packingBandageItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Packing_Bandage_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_packingBandage {
|
|
name = "ACE_packingBandage";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_elasticBandageItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Bandage_Elastic_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_elasticBandage {
|
|
name = "ACE_elasticBandage";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_tourniquetItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Tourniquet_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_tourniquet {
|
|
name = "ACE_tourniquet";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_morphineItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Morphine_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_morphine {
|
|
name = "ACE_morphine";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_atropineItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Atropine_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_atropine {
|
|
name = "ACE_atropine";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_epinephrineItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Epinephrine_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_epinephrine {
|
|
name = "ACE_epinephrine";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_plasmaIVItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Plasma_IV;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_plasmaIV {
|
|
name = "ACE_plasmaIV";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_bloodIVItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Blood_IV;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_bloodIV {
|
|
name = "ACE_bloodIV";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_salineIVItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Saline_IV;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_salineIV {
|
|
name = "ACE_salineIV";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_quikClotItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_QuikClot_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_quikClot {
|
|
name = "ACE_quikclot";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_personalAidKitItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Aid_Kit_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_personalAidKit {
|
|
name = "ACE_personalAidKit";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_surgicalKitItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_SurgicalKit_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_surgicalKit {
|
|
name = "ACE_surgicalKit";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
class ACE_bodyBagItem: Item_Base_F {
|
|
scope = 2;
|
|
scopeCurator = 2;
|
|
displayName = $STR_ACE_Medical_Bodybag_Display;
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
vehicleClass = "Items";
|
|
class TransportItems {
|
|
class ACE_bodyBag {
|
|
name = "ACE_bodyBag";
|
|
count = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
class NATO_Box_Base;
|
|
class ACE_medicalSupplyCrate: NATO_Box_Base {
|
|
scope = 2;
|
|
accuracy = 1000;
|
|
displayName = "$STR_ACE_medicalSupplyCrate";
|
|
model = PATHTOF(data\ace_medcrate.p3d);
|
|
author = "$STR_ACE_Common_ACETeam";
|
|
class TransportItems {
|
|
class ACE_fieldDressing {
|
|
name = "ACE_fieldDressing";
|
|
count = 50;
|
|
};
|
|
class ACE_morphine {
|
|
name = "ACE_morphine";
|
|
count = 25;
|
|
};
|
|
class ACE_epinephrine {
|
|
name = "ACE_epinephrine";
|
|
count = 25;
|
|
};
|
|
class ACE_bloodIV {
|
|
name = "ACE_bloodIV";
|
|
count = 15;
|
|
};
|
|
class ACE_bloodIV_500 {
|
|
name = "ACE_bloodIV_500";
|
|
count = 15;
|
|
};
|
|
class ACE_bloodIV_250 {
|
|
name = "ACE_bloodIV_250";
|
|
count = 15;
|
|
};
|
|
class ACE_bodyBag {
|
|
name = "ACE_bodyBag";
|
|
count = 10;
|
|
};
|
|
};
|
|
};
|
|
class ACE_medicalSupplyCrate_advanced: ACE_medicalSupplyCrate {
|
|
displayName = "$STR_ACE_medicalSupplyCrate_advanced";
|
|
class TransportItems {
|
|
class ACE_fieldDressing {
|
|
name = "ACE_fieldDressing";
|
|
count = 25;
|
|
};
|
|
class ACE_packingBandage {
|
|
name = "ACE_packingBandage";
|
|
count = 25;
|
|
};
|
|
class ACE_elasticBandage {
|
|
name = "ACE_elasticBandage";
|
|
count = 25;
|
|
};
|
|
class ACE_tourniquet {
|
|
name = "ACE_tourniquet";
|
|
count = 15;
|
|
};
|
|
class ACE_morphine {
|
|
name = "ACE_morphine";
|
|
count = 15;
|
|
};
|
|
class ACE_atropine {
|
|
name = "ACE_atropine";
|
|
count = 15;
|
|
};
|
|
class ACE_epinephrine {
|
|
name = "ACE_epinephrine";
|
|
count = 15;
|
|
};
|
|
class ACE_plasmaIV {
|
|
name = "ACE_plasmaIV";
|
|
count = 7;
|
|
};
|
|
class ACE_plasmaIV_500 {
|
|
name = "ACE_plasmaIV_500";
|
|
count = 7;
|
|
};
|
|
class ACE_plasmaIV_250 {
|
|
name = "ACE_plasmaIV_250";
|
|
count = 7;
|
|
};
|
|
class ACE_salineIV {
|
|
name = "ACE_salineIV";
|
|
count = 7;
|
|
};
|
|
class ACE_salineIV_500 {
|
|
name = "ACE_salineIV_500";
|
|
count = 7;
|
|
};
|
|
class ACE_salineIV_250 {
|
|
name = "ACE_salineIV_250";
|
|
count = 7;
|
|
};
|
|
class ACE_bloodIV {
|
|
name = "ACE_bloodIV";
|
|
count = 7;
|
|
};
|
|
class ACE_bloodIV_500 {
|
|
name = "ACE_bloodIV_500";
|
|
count = 7;
|
|
};
|
|
class ACE_bloodIV_250 {
|
|
name = "ACE_bloodIV_250";
|
|
count = 7;
|
|
};
|
|
class ACE_quikClot {
|
|
name = "ACE_quikclot";
|
|
count = 20;
|
|
};
|
|
class ACE_personalAidKit {
|
|
name = "ACE_personalAidKit";
|
|
count = 3;
|
|
};
|
|
class ACE_surgicalKit {
|
|
name = "ACE_surgicalKit";
|
|
count = 2;
|
|
};
|
|
class ACE_bodyBag {
|
|
name = "ACE_bodyBag";
|
|
count = 5;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|