Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **************
- Description.ext
- (Or just add it to your own params)
- **************
- class Params
- {
- class RadioMod
- {
- title = "Radio mod";
- values[] = {0,1,2};
- texts[] = {"NONE","TFR","ACRE2"};
- default = 2;
- };
- class ACEMEDMARKER0
- {
- title = "BASIC SETTINGS";
- values[] = {0};
- texts[] = {"BELOW"};
- default = 0;
- };
- class ACEMEDSIMLEVEL
- {
- title = "Simulation level";
- values[] = {1,2};
- texts[] = {"Basic","Advanced (Default)"};
- default = 2;
- };
- class ACEMEDDETLEVEL
- {
- title = "Simulation level for medics";
- values[] = {0,1,2};
- texts[] = {"Disabled","Normal","Advanced (Default)"};
- default = 2;
- };
- class ACEMEDPLAYERDAM
- {
- title = "Player max damage?";
- values[] = {0.5,0.8,1,1.5,2};
- texts[] = {"0.5","0.8","1","1.5 (Default)","2"};
- default = 1.5;
- };
- class ACEMEDAIDAM
- {
- title = "AI max damage?";
- values[] = {0.5,0.8,1,1.5,2};
- texts[] = {"0.5","0.8 (Default)","1","1.5","2"};
- default = 0.8;
- };
- class ACEMEDAIKO
- {
- title = "AI can get KO'd?";
- values[] = {0,1,2};
- texts[] = {"Disabled","50/50","Enabled (Default)"};
- default = 2;
- };
- class ACEMEDPREVINSTADEATH
- {
- title = "Prevent Instant Death?";
- values[] = {0,1};
- texts[] = {"No","Yes (Default)"};
- default = 1;
- };
- class ACEMEDMARKER1
- {
- title = "REVIVE SETTINGS (invul while down)";
- values[] = {0};
- texts[] = {"BELOW"};
- default = 0;
- };
- class ACEMEDALLOWREVIVE
- {
- title = "Enable ACE revive?";
- values[] = {0,1};
- texts[] = {"No","Yes (Default)"};
- default = 1;
- };
- class ACEMEDREVIVETIME
- {
- title = "Bleedout time?";
- values[] = {10,60,120,300,600};
- texts[] = {"10 seconds","1 minute","2 minutes (Default)","5 minutes","10 minutes"};
- default = 120;
- };
- class ACEMEDREVIVELIVES
- {
- title = "Amount of revive lives?";
- values[] = {-1,0,1,2,5,10};
- texts[] = {"-1 (Default)","0","1","2","5","10"};
- default = -1;
- };
- class ACEMEDMARKER2
- {
- title = "ADVANCED SETTINGS";
- values[] = {0};
- texts[] = {"BELOW"};
- default = 0;
- };
- class ACEMEDENABFOR
- {
- title = "Enable for AI?";
- values[] = {0,1};
- texts[] = {"No (Default)","Yes"};
- default = 0;
- };
- class ACEMEDREOPENWOUNDS
- {
- title = "Enable wounds re-opening?";
- values[] = {0,1};
- texts[] = {"No","Yes (Default)"};
- default = 1;
- };
- class ACEMEDVEHICRASH
- {
- title = "Vehicle crashes hurt you?";
- values[] = {0,1};
- texts[] = {"No","Yes (Default)"};
- default = 1;
- };
- class ACEMEDWHOPAK
- {
- title = "Who can use PAKs?";
- values[] = {0,1,2};
- texts[] = {"Anyone","Medics","Doctors (Default)"};
- default = 2;
- };
- class ACEMEDUSEPAK
- {
- title = "Consume PAK on use?";
- values[] = {0,1};
- texts[] = {"No","Yes (Default)"};
- default = 1;
- };
- class ACEMEDWHEREPAK
- {
- title = "Where can PAKs be used?";
- values[] = {0,1,2,3,4};
- texts[] = {"Anywhere","MEDEVAC Vehicles","MEDEVAC facilities (Default)","Both","Nowhere"};
- default = 2;
- };
- class ACEMEDWHOSK
- {
- title = "Who can use Surgical kits?";
- values[] = {0,1,2};
- texts[] = {"Anyone","Medics (Default)","Doctors"};
- default = 1;
- };
- class ACEMEDUSESK
- {
- title = "Consume Surgical kits on use?";
- values[] = {0,1};
- texts[] = {"No (Default)","Yes"};
- default = 0;
- };
- class ACEMEDWHERESK
- {
- title = "Where can Surgical kits be used?";
- values[] = {0,1,2,3,4};
- texts[] = {"Anywhere (Default)","MEDEVAC Vehicles","MEDEVAC facilities","Both","Nowhere"};
- default = 0;
- };
- class ACEMEDMARKER3
- {
- title = "EXPERIMENTAL/UNIMPLEMENTED SETTINGS";
- values[] = {0};
- texts[] = {"BELOW"};
- default = 0;
- };
- class ACEMEDOVERDOSE
- {
- title = "Allow overdosing?";
- values[] = {0,1};
- texts[] = {"No","Yes (default)"};
- default = 1;
- };
- class ACEMEDMOVECORPSE
- {
- title = "Can move corpses?";
- values[] = {0,1};
- texts[] = {"No (Default)","Yes"};
- default = 0;
- };
- class ACEMEDENABLEAIRWAY
- {
- title = "Enable airway damage?";
- values[] = {0,1};
- texts[] = {"No (Default)","Yes"};
- default = 0;
- };
- class ACEMEDENABLEFRACTURES
- {
- title = "Enable fractures?";
- values[] = {0,1};
- texts[] = {"No (Default)","Yes"};
- default = 0;
- };
- };
- **************
- Init.sqf:
- **************
- systemchat "Basic medical settings...";
- missionNameSpace setVariable ["ACE_medical_level", ["ACEMEDSIMLEVEL"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_medicSetting", ["ACEMEDDETLEVEL"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_playerDamageThreshold", ["ACEMEDPLAYERDAM"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_AIDamageThreshold", ["ACEMEDAIDAM"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_enableUnconsciousnessAI", ["ACEMEDAIKO"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_preventInstaDeath", ["ACEMEDPREVINSTADEATH"] call Bis_fnc_getParamValue];
- systemchat "Revive settings...";
- missionNameSpace setVariable ["ace_medical_enableRevive", ["ACEMEDALLOWREVIVE"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_maxReviveTime", ["ACEMEDREVIVETIME"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_amountOfReviveLives", ["ACEMEDREVIVELIVES"] call Bis_fnc_getParamValue];
- systemchat "Advanced medical settings...";
- missionNameSpace setVariable ["ace_medical_enableFor", ["ACEMEDENABFOR"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_enableAdvancedWounds", ["ACEMEDREOPENWOUNDS"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_enableVehicleCrashes", ["ACEMEDVEHICRASH"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_medicSetting_PAK", ["ACEMEDWHOPAK"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_consumeItem_PAK", ["ACEMEDUSEPAK"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_useLocation_PAK", ["ACEMEDWHEREPAK"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_medicSetting_SurgicalKit", ["ACEMEDWHOSK"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_consumeItem_SurgicalKit", ["ACEMEDUSESK"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_useLocation_SurgicalKit", ["ACEMEDWHERESK"] call Bis_fnc_getParamValue];
- //Not implemented yet
- systemchat "Experimental/unimplemented medical settings...";
- missionNameSpace setVariable ["ace_medical_enableOverdosing", ["ACEMEDOVERDOSE"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_allowDeadBodyMovement", ["ACEMEDMOVECORPSE"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_enableAirway", ["ACEMEDENABLEAIRWAY"] call Bis_fnc_getParamValue];
- missionNameSpace setVariable ["ace_medical_enableFractures", ["ACEMEDENABLEFRACTURES"] call Bis_fnc_getParamValue];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement