Advertisement
sonixapache

ACEMED parameters

May 27th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 KB | None | 0 0
  1. **************
  2. Description.ext
  3. (Or just add it to your own params)
  4. **************
  5. class Params
  6. {
  7. class RadioMod
  8. {
  9. title = "Radio mod";
  10. values[] = {0,1,2};
  11. texts[] = {"NONE","TFR","ACRE2"};
  12. default = 2;
  13. };
  14.  
  15. class ACEMEDMARKER0
  16. {
  17. title = "BASIC SETTINGS";
  18. values[] = {0};
  19. texts[] = {"BELOW"};
  20. default = 0;
  21. };
  22.  
  23. class ACEMEDSIMLEVEL
  24. {
  25. title = "Simulation level";
  26. values[] = {1,2};
  27. texts[] = {"Basic","Advanced (Default)"};
  28. default = 2;
  29. };
  30.  
  31. class ACEMEDDETLEVEL
  32. {
  33. title = "Simulation level for medics";
  34. values[] = {0,1,2};
  35. texts[] = {"Disabled","Normal","Advanced (Default)"};
  36. default = 2;
  37. };
  38.  
  39. class ACEMEDPLAYERDAM
  40. {
  41. title = "Player max damage?";
  42. values[] = {0.5,0.8,1,1.5,2};
  43. texts[] = {"0.5","0.8","1","1.5 (Default)","2"};
  44. default = 1.5;
  45. };
  46.  
  47. class ACEMEDAIDAM
  48. {
  49. title = "AI max damage?";
  50. values[] = {0.5,0.8,1,1.5,2};
  51. texts[] = {"0.5","0.8 (Default)","1","1.5","2"};
  52. default = 0.8;
  53. };
  54.  
  55. class ACEMEDAIKO
  56. {
  57. title = "AI can get KO'd?";
  58. values[] = {0,1,2};
  59. texts[] = {"Disabled","50/50","Enabled (Default)"};
  60. default = 2;
  61. };
  62.  
  63. class ACEMEDPREVINSTADEATH
  64. {
  65. title = "Prevent Instant Death?";
  66. values[] = {0,1};
  67. texts[] = {"No","Yes (Default)"};
  68. default = 1;
  69. };
  70.  
  71. class ACEMEDMARKER1
  72. {
  73. title = "REVIVE SETTINGS (invul while down)";
  74. values[] = {0};
  75. texts[] = {"BELOW"};
  76. default = 0;
  77. };
  78.  
  79. class ACEMEDALLOWREVIVE
  80. {
  81. title = "Enable ACE revive?";
  82. values[] = {0,1};
  83. texts[] = {"No","Yes (Default)"};
  84. default = 1;
  85. };
  86.  
  87. class ACEMEDREVIVETIME
  88. {
  89. title = "Bleedout time?";
  90. values[] = {10,60,120,300,600};
  91. texts[] = {"10 seconds","1 minute","2 minutes (Default)","5 minutes","10 minutes"};
  92. default = 120;
  93. };
  94.  
  95. class ACEMEDREVIVELIVES
  96. {
  97. title = "Amount of revive lives?";
  98. values[] = {-1,0,1,2,5,10};
  99. texts[] = {"-1 (Default)","0","1","2","5","10"};
  100. default = -1;
  101. };
  102.  
  103.  
  104. class ACEMEDMARKER2
  105. {
  106. title = "ADVANCED SETTINGS";
  107. values[] = {0};
  108. texts[] = {"BELOW"};
  109. default = 0;
  110. };
  111.  
  112. class ACEMEDENABFOR
  113. {
  114. title = "Enable for AI?";
  115. values[] = {0,1};
  116. texts[] = {"No (Default)","Yes"};
  117. default = 0;
  118. };
  119.  
  120. class ACEMEDREOPENWOUNDS
  121. {
  122. title = "Enable wounds re-opening?";
  123. values[] = {0,1};
  124. texts[] = {"No","Yes (Default)"};
  125. default = 1;
  126. };
  127.  
  128. class ACEMEDVEHICRASH
  129. {
  130. title = "Vehicle crashes hurt you?";
  131. values[] = {0,1};
  132. texts[] = {"No","Yes (Default)"};
  133. default = 1;
  134. };
  135.  
  136. class ACEMEDWHOPAK
  137. {
  138. title = "Who can use PAKs?";
  139. values[] = {0,1,2};
  140. texts[] = {"Anyone","Medics","Doctors (Default)"};
  141. default = 2;
  142. };
  143.  
  144. class ACEMEDUSEPAK
  145. {
  146. title = "Consume PAK on use?";
  147. values[] = {0,1};
  148. texts[] = {"No","Yes (Default)"};
  149. default = 1;
  150. };
  151.  
  152. class ACEMEDWHEREPAK
  153. {
  154. title = "Where can PAKs be used?";
  155. values[] = {0,1,2,3,4};
  156. texts[] = {"Anywhere","MEDEVAC Vehicles","MEDEVAC facilities (Default)","Both","Nowhere"};
  157. default = 2;
  158. };
  159.  
  160. class ACEMEDWHOSK
  161. {
  162. title = "Who can use Surgical kits?";
  163. values[] = {0,1,2};
  164. texts[] = {"Anyone","Medics (Default)","Doctors"};
  165. default = 1;
  166. };
  167.  
  168. class ACEMEDUSESK
  169. {
  170. title = "Consume Surgical kits on use?";
  171. values[] = {0,1};
  172. texts[] = {"No (Default)","Yes"};
  173. default = 0;
  174. };
  175.  
  176. class ACEMEDWHERESK
  177. {
  178. title = "Where can Surgical kits be used?";
  179. values[] = {0,1,2,3,4};
  180. texts[] = {"Anywhere (Default)","MEDEVAC Vehicles","MEDEVAC facilities","Both","Nowhere"};
  181. default = 0;
  182. };
  183.  
  184. class ACEMEDMARKER3
  185. {
  186. title = "EXPERIMENTAL/UNIMPLEMENTED SETTINGS";
  187. values[] = {0};
  188. texts[] = {"BELOW"};
  189. default = 0;
  190. };
  191.  
  192. class ACEMEDOVERDOSE
  193. {
  194. title = "Allow overdosing?";
  195. values[] = {0,1};
  196. texts[] = {"No","Yes (default)"};
  197. default = 1;
  198. };
  199.  
  200. class ACEMEDMOVECORPSE
  201. {
  202. title = "Can move corpses?";
  203. values[] = {0,1};
  204. texts[] = {"No (Default)","Yes"};
  205. default = 0;
  206. };
  207.  
  208. class ACEMEDENABLEAIRWAY
  209. {
  210. title = "Enable airway damage?";
  211. values[] = {0,1};
  212. texts[] = {"No (Default)","Yes"};
  213. default = 0;
  214. };
  215.  
  216. class ACEMEDENABLEFRACTURES
  217. {
  218. title = "Enable fractures?";
  219. values[] = {0,1};
  220. texts[] = {"No (Default)","Yes"};
  221. default = 0;
  222. };
  223.  
  224. };
  225.  
  226. **************
  227. Init.sqf:
  228. **************
  229. systemchat "Basic medical settings...";
  230. missionNameSpace setVariable ["ACE_medical_level", ["ACEMEDSIMLEVEL"] call Bis_fnc_getParamValue];
  231. missionNameSpace setVariable ["ace_medical_medicSetting", ["ACEMEDDETLEVEL"] call Bis_fnc_getParamValue];
  232. missionNameSpace setVariable ["ace_medical_playerDamageThreshold", ["ACEMEDPLAYERDAM"] call Bis_fnc_getParamValue];
  233. missionNameSpace setVariable ["ace_medical_AIDamageThreshold", ["ACEMEDAIDAM"] call Bis_fnc_getParamValue];
  234. missionNameSpace setVariable ["ace_medical_enableUnconsciousnessAI", ["ACEMEDAIKO"] call Bis_fnc_getParamValue];
  235. missionNameSpace setVariable ["ace_medical_preventInstaDeath", ["ACEMEDPREVINSTADEATH"] call Bis_fnc_getParamValue];
  236. systemchat "Revive settings...";
  237. missionNameSpace setVariable ["ace_medical_enableRevive", ["ACEMEDALLOWREVIVE"] call Bis_fnc_getParamValue];
  238. missionNameSpace setVariable ["ace_medical_maxReviveTime", ["ACEMEDREVIVETIME"] call Bis_fnc_getParamValue];
  239. missionNameSpace setVariable ["ace_medical_amountOfReviveLives", ["ACEMEDREVIVELIVES"] call Bis_fnc_getParamValue];
  240. systemchat "Advanced medical settings...";
  241. missionNameSpace setVariable ["ace_medical_enableFor", ["ACEMEDENABFOR"] call Bis_fnc_getParamValue];
  242. missionNameSpace setVariable ["ace_medical_enableAdvancedWounds", ["ACEMEDREOPENWOUNDS"] call Bis_fnc_getParamValue];
  243. missionNameSpace setVariable ["ace_medical_enableVehicleCrashes", ["ACEMEDVEHICRASH"] call Bis_fnc_getParamValue];
  244. missionNameSpace setVariable ["ace_medical_medicSetting_PAK", ["ACEMEDWHOPAK"] call Bis_fnc_getParamValue];
  245. missionNameSpace setVariable ["ace_medical_consumeItem_PAK", ["ACEMEDUSEPAK"] call Bis_fnc_getParamValue];
  246. missionNameSpace setVariable ["ace_medical_useLocation_PAK", ["ACEMEDWHEREPAK"] call Bis_fnc_getParamValue];
  247. missionNameSpace setVariable ["ace_medical_medicSetting_SurgicalKit", ["ACEMEDWHOSK"] call Bis_fnc_getParamValue];
  248. missionNameSpace setVariable ["ace_medical_consumeItem_SurgicalKit", ["ACEMEDUSESK"] call Bis_fnc_getParamValue];
  249. missionNameSpace setVariable ["ace_medical_useLocation_SurgicalKit", ["ACEMEDWHERESK"] call Bis_fnc_getParamValue];
  250. //Not implemented yet
  251. systemchat "Experimental/unimplemented medical settings...";
  252. missionNameSpace setVariable ["ace_medical_enableOverdosing", ["ACEMEDOVERDOSE"] call Bis_fnc_getParamValue];
  253. missionNameSpace setVariable ["ace_medical_allowDeadBodyMovement", ["ACEMEDMOVECORPSE"] call Bis_fnc_getParamValue];
  254. missionNameSpace setVariable ["ace_medical_enableAirway", ["ACEMEDENABLEAIRWAY"] call Bis_fnc_getParamValue];
  255. missionNameSpace setVariable ["ace_medical_enableFractures", ["ACEMEDENABLEFRACTURES"] call Bis_fnc_getParamValue];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement