mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
5c9d1ada84
[Medical Rewrite] Options to enable insta-death for AI
284 lines
12 KiB
C++
284 lines
12 KiB
C++
class ACE_Settings {
|
|
class GVAR(medicSetting) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_Description);
|
|
value = 0;
|
|
typeName = "SCALAR";
|
|
values[] = {"Disabled", "Normal", "Advanced"};
|
|
};
|
|
class GVAR(increaseTrainingInLocations) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_increaseTrainingInLocations_DisplayName);
|
|
description = CSTRING(MedicalSettings_increaseTrainingInLocations_Description);
|
|
value = 0;
|
|
typeName = "BOOL";
|
|
};
|
|
/* @todo
|
|
class GVAR(enableFor) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_enableFor_DisplayName);
|
|
description = CSTRING(MedicalSettings_enableFor_Description);
|
|
value = 1;
|
|
typeName = "SCALAR";
|
|
values[] = {"Players only", "Players and AI"};
|
|
};
|
|
*/
|
|
class GVAR(bleedingCoefficient) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_bleedingCoefficient_DisplayName);
|
|
description = CSTRING(MedicalSettings_bleedingCoefficient_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
sliderSettings[] = {0, 25, 1, 1};
|
|
};
|
|
class GVAR(painCoefficient) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_painCoefficient_DisplayName);
|
|
description = CSTRING(MedicalSettings_painCoefficient_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
sliderSettings[] = {0, 25, 1, 1};
|
|
};
|
|
class GVAR(advancedBandages) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_advancedBandages_DisplayName);
|
|
description = CSTRING(MedicalSettings_advancedBandages_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
};
|
|
class GVAR(advancedMedication) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_advancedMedication_DisplayName);
|
|
description = CSTRING(MedicalSettings_advancedMedication_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
};
|
|
class GVAR(advancedDiagnose) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_advancedDiagnose_DisplayName);
|
|
description = CSTRING(MedicalSettings_advancedDiagnose_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
sliderSettings[] = {0, 25, 1, 1};
|
|
};
|
|
class GVAR(woundReopening) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_enableAdvancedWounds_DisplayName);
|
|
description = CSTRING(MedicalSettings_enableAdvancedWounds_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
sliderSettings[] = {0, 25, 1, 1};
|
|
};
|
|
/* @todo
|
|
class GVAR(enableVehicleCrashes) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_enableVehicleCrashes_DisplayName);
|
|
description = CSTRING(MedicalSettings_enableVehicleCrashes_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
};
|
|
*/
|
|
class GVAR(enableScreams) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_enableScreams_DisplayName);
|
|
description = CSTRING(MedicalSettings_enableScreams_Description);
|
|
typeName = "BOOL";
|
|
value = 1;
|
|
};
|
|
class GVAR(showPainInMenu) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_showPainInMenu_DisplayName);
|
|
description = CSTRING(MedicalSettings_showPainInMenu_Description);
|
|
typeName = "BOOL";
|
|
value = 0;
|
|
};
|
|
class GVAR(playerDamageThreshold) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_playerDamageThreshold_DisplayName);
|
|
description = CSTRING(MedicalSettings_playerDamageThreshold_Description);
|
|
typeName = "SCALAR";
|
|
value = 120;
|
|
sliderSettings[] = {0, 1200, 120, 0};
|
|
};
|
|
class GVAR(AIDamageThreshold) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_AIDamageThreshold_DisplayName);
|
|
description = CSTRING(MedicalSettings_AIDamageThreshold_Description);
|
|
typeName = "SCALAR";
|
|
value = -1;
|
|
sliderSettings[] = {-1, 25, -1, -1};
|
|
};
|
|
class GVAR(fatalInjuryCondition) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_fatalInjuryCondition_DisplayName);
|
|
description = CSTRING(MedicalSettings_fatalInjuryCondition_Description);
|
|
value = 0;
|
|
typeName = "SCALAR";
|
|
values[] = {"Always", "In Cardiac Arrest", "Never"};
|
|
};
|
|
class GVAR(fatalInjuryConditionAI) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_fatalInjuryConditionAI_DisplayName);
|
|
description = CSTRING(MedicalSettings_fatalInjuryConditionAI_Description);
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
};
|
|
class GVAR(unconsciousConditionAI) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_unconsciousConditionAI_DisplayName);
|
|
description = CSTRING(MedicalSettings_unconsciousConditionAI_Description);
|
|
value = 1;
|
|
typeName = "BOOL";
|
|
};
|
|
class GVAR(cardiacArrestTime) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_cardiacArrestTime_DisplayName);
|
|
description = CSTRING(MedicalSettings_cardiacArrestTime_Description);
|
|
value = 30;
|
|
typeName = "SCALAR";
|
|
};
|
|
class GVAR(medicSetting_PainVisualization) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_PainVisualization_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_PainVisualization_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"Anyone", "Medics only", "Doctors only"};
|
|
};
|
|
class GVAR(medicSetting_Epi) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_Epi_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_Epi_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"Anyone", "Medics only", "Doctors only"};
|
|
sliderSettings[] = {-1, 3600, 0, 0};
|
|
};
|
|
class GVAR(medicSetting_Medkit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_Medkit_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_Medkit_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"Anyone", "Medics only", "Doctors only"};
|
|
};
|
|
class GVAR(medicSetting_PAK) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_PAK_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_PAK_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"Anyone", "Medics only", "Doctors only"};
|
|
};
|
|
class GVAR(medicSetting_SurgicalKit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_medicSetting_SurgicalKit_DisplayName);
|
|
description = CSTRING(MedicalSettings_medicSetting_SurgicalKit_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"Anyone", "Medics only", "Doctors only"};
|
|
};
|
|
class GVAR(consumeItem_Medkit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_consumeItem_Medkit_DisplayName);
|
|
description = CSTRING(MedicalSettings_consumeItem_Medkit_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
values[] = {"No", "Yes"};
|
|
};
|
|
class GVAR(consumeItem_PAK) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_consumeItem_PAK_DisplayName);
|
|
description = CSTRING(MedicalSettings_consumeItem_PAK_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
values[] = {"No", "Yes"};
|
|
};
|
|
class GVAR(consumeItem_SurgicalKit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_consumeItem_SurgicalKit_DisplayName);
|
|
description = CSTRING(MedicalSettings_consumeItem_SurgicalKit_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
values[] = {"No", "Yes"};
|
|
};
|
|
class GVAR(useLocation_Epi) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(BasicMedicalSettings_useLocation_Epi_DisplayName);
|
|
description = CSTRING(BasicMedicalSettings_useLocation_Epi_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {ECSTRING(common,Anywhere), ECSTRING(common,Vehicle), CSTRING(MedicalSettings_facility), CSTRING(MedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
|
|
};
|
|
class GVAR(useLocation_Medkit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_useLocation_Medkit_DisplayName);
|
|
description = CSTRING(MedicalSettings_useLocation_Medkit_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {ECSTRING(common,Anywhere), ECSTRING(common,Vehicle), CSTRING(MedicalSettings_facility), CSTRING(MedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
|
|
};
|
|
class GVAR(useLocation_PAK) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_useLocation_PAK_DisplayName);
|
|
description = CSTRING(MedicalSettings_useLocation_PAK_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {ECSTRING(common,Anywhere), ECSTRING(common,Vehicle), CSTRING(MedicalSettings_facility), CSTRING(MedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
|
|
};
|
|
class GVAR(useLocation_SurgicalKit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_useLocation_SurgicalKit_DisplayName);
|
|
description = CSTRING(MedicalSettings_useLocation_SurgicalKit_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {ECSTRING(common,Anywhere), ECSTRING(common,Vehicle), CSTRING(MedicalSettings_facility), CSTRING(MedicalSettings_vehicleAndFacility), ECSTRING(common,Disabled)};
|
|
};
|
|
class GVAR(remainingDamage_Medkit) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_remainingDamage_Medkit_DisplayName);
|
|
description = CSTRING(MedicalSettings_remainingDamage_Medkit_Description);
|
|
typeName = "SCALAR";
|
|
value = 0.1;
|
|
};
|
|
class GVAR(allowUnconsciousAnimationOnTreatment) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_allowUnconsciousAnimationOnTreatment_DisplayName);
|
|
typeName = "BOOL";
|
|
value = 0;
|
|
};
|
|
class GVAR(menuTypeStyle) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(menuTypeDisplay);
|
|
description = CSTRING(menuTypeDescription);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {CSTRING(useSelection), CSTRING(useRadial), "Disabled"};
|
|
isClientSettable = 1;
|
|
};
|
|
class GVAR(ivFlowRate) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_ivFlowRate_DisplayName);
|
|
description = CSTRING(MedicalSettings_ivFlowRate_Description);
|
|
typeName = "SCALAR";
|
|
value = 1;
|
|
};
|
|
class GVAR(allowSelfIV) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_allowSelfIV_DisplayName);
|
|
description = CSTRING(MedicalSettings_allowSelfIV_Description);
|
|
typeName = "SCALAR";
|
|
value = 0;
|
|
values[] = {"No", "Yes"};
|
|
};
|
|
class GVAR(spontaneousWakeUpChance) {
|
|
category = CSTRING(Category_Medical);
|
|
displayName = CSTRING(MedicalSettings_spontaneousWakeUpChance_DisplayName);
|
|
description = CSTRING(MedicalSettings_spontaneousWakeUpChance_Description);
|
|
typeName = "SCALAR";
|
|
value = 3;
|
|
sliderSettings[] = {0, 30, 3, 0};
|
|
};
|
|
};
|