mission_params.hpp 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. class Params
  2. {
  3. class MissionOptions{
  4. title = $STR_PARAMS_MISSIONOPTIONS;
  5. values[] = { "" };
  6. texts[] = { "" };
  7. default = "";
  8. };
  9. class Preset{
  10. // paramsArray[0]
  11. title = "Players Faction (Blufor Vs Opfor)";
  12. values[]= {6,7,8,9};
  13. texts[]= {"Rebels Vs Empire", "Empire Vs Rebels", "Clones Vs C.I.S", "C.I.S Vs Clones"};
  14. default = 6;
  15. };
  16. class Zeus{
  17. title = "Allow Zeus";
  18. values[]= {1,2};
  19. texts[]= {"NO", "YES"};
  20. default = 1;
  21. };
  22. class Unitcap{
  23. title = $STR_PARAMS_UNITCAP;
  24. values[] = {0,1,2,3,4,5};
  25. texts[] = {$STR_PARAMS_UNITCAP1,$STR_PARAMS_UNITCAP2,$STR_PARAMS_UNITCAP3,$STR_PARAMS_UNITCAP4,$STR_PARAMS_UNITCAP5,$STR_PARAMS_UNITCAP6};
  26. default = 2;
  27. };
  28. class Difficulty {
  29. title = $STR_PARAMS_DIFFICULTY;
  30. values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
  31. texts[] = { $STR_PARAMS_DIFFICULTY1, $STR_PARAMS_DIFFICULTY2, $STR_PARAMS_DIFFICULTY3, $STR_PARAMS_DIFFICULTY4, $STR_PARAMS_DIFFICULTY5, $STR_PARAMS_DIFFICULTY6, $STR_PARAMS_DIFFICULTY7, $STR_PARAMS_DIFFICULTY8 };
  32. default = 2;
  33. };
  34. class Aggressivity{
  35. title = $STR_AGGRESSIVITY_PARAM;
  36. values[] = {0,1,2,3,4};
  37. texts[] = {$STR_AGGRESSIVITY_PARAM0, $STR_AGGRESSIVITY_PARAM1,$STR_AGGRESSIVITY_PARAM2,$STR_AGGRESSIVITY_PARAM3,$STR_AGGRESSIVITY_PARAM4};
  38. default = 2;
  39. };
  40. class AdaptToPlayercount{
  41. title = $STR_PARAM_ADAPT_TO_PLAYERCOUNT;
  42. values[] = {1,0};
  43. texts[] = {$STR_PARAMS_ENABLED,$STR_PARAMS_DISABLED};
  44. default = 1;
  45. };
  46. class Civilians{
  47. title = $STR_PARAMS_CIVILIANS;
  48. values[] = {0,1,2,3};
  49. texts[] = {$STR_PARAMS_CIVILIANS1,$STR_PARAMS_CIVILIANS2,$STR_PARAMS_CIVILIANS3,$STR_PARAMS_CIVILIANS4};
  50. default = 2;
  51. };
  52. class FirstFob {
  53. title = $STR_PARAMS_FIRSTFOB;
  54. values[] = { 1, 0 };
  55. texts[] = { $STR_YES, $STR_NO };
  56. default = 0;
  57. };
  58. class MaximumFobs{
  59. title = $STR_PARAM_FOBS_COUNT;
  60. values[] = {3,5,7,10,15,20,26};
  61. texts[] = {3,5,7,10,15,20,26};
  62. default = 10;
  63. };
  64. class MaxSquadSize{
  65. title = $STR_PARAM_SQUAD_SIZE;
  66. values[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
  67. texts[] = {0,1,2,4,6,8,10,12,16,20,24,30,36};
  68. default = 12;
  69. };
  70. class BluforDefenders{
  71. title = $STR_PARAM_BLUFOR_DEFENDERS;
  72. values[] = {1,0};
  73. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  74. default = 1;
  75. };
  76. class Autodanger{
  77. title = $STR_PARAM_AUTODANGER;
  78. values[] = {1,0};
  79. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  80. default = 0;
  81. };
  82. class DayDuration {
  83. title = $STR_PARAMS_DAYDURATION;
  84. values[] = {48, 24, 16, 12, 8, 6, 4, 3, 2, 1};
  85. texts[] = {"0.5","1","1.5","2","3","4","6","8","12","24"};
  86. default = 6;
  87. };
  88. class ShorterNights {
  89. title = $STR_SHORTER_NIGHTS_PARAM;
  90. values[] = {1,0};
  91. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  92. default = 0;
  93. };
  94. class Weather {
  95. title = $STR_WEATHER_PARAM;
  96. values[] = { 1,2,3 };
  97. texts[] = { $STR_WEATHER_PARAM1, $STR_WEATHER_PARAM2, $STR_WEATHER_PARAM3 };
  98. default = 3;
  99. };
  100. class ResourcesMultiplier {
  101. title = $STR_PARAMS_RESOURCESMULTIPLIER;
  102. values[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
  103. texts[] = { "x0.25", "x0.5", "x0.75", "x1", "x1.25","x1.5","x2","x3" };
  104. default = 3;
  105. };
  106. class Spacer1 {
  107. title = "";
  108. values[] = { "" };
  109. texts[] = { "" };
  110. default = "";
  111. };
  112. class ReviveOptions{
  113. title = $STR_PARAMS_REVIVEOPTIONS;
  114. values[] = { "" };
  115. texts[] = { "" };
  116. default = "";
  117. };
  118. class ace_medical_level { //This needs to match an ace_setting, this one is a "SCALAR"(number)
  119. title = "ACE Medical Level"; // Name that is shown
  120. ACE_setting = 1; //Marks param to be read as an ace setting, without this nothing will happen!
  121. values[] = {1, 2}; //Values that ace_medical_level can be set to
  122. texts[] = {"Basic", "Advanced"}; //Text names to show for values (Basic will set level to 1, Advanced will set level to 2)
  123. default = 2; //Default value used - Value should be in the values[] list
  124. };
  125. class ace_repair_addSpareParts { //This ia a "BOOL"
  126. title = "$STR_ACE_Repair_addSpareParts_name"; //You can use ACE's stringtables
  127. ACE_setting = 1;
  128. values[] = {0, 1}; //setting is a BOOL, but values still need to be numbers, so 0 is false, 1 is true
  129. texts[] = {"False", "True"};
  130. default = 1;
  131. };
  132. class ReviveMode
  133. {
  134. title = $STR_A3_ReviveMode;
  135. isGlobal = 1;
  136. values[] = {-100,0,1};
  137. texts[] = {$STR_A3_MissionDefault, $STR_A3_Disabled, $STR_A3_EnabledForAllPlayers};
  138. default = 0;
  139. function = "bis_fnc_paramReviveMode";
  140. };
  141. class ReviveDuration
  142. {
  143. title = $STR_A3_ReviveDuration;
  144. isGlobal = 1;
  145. values[] = {-100,6,8,10,12,15,20,25,30};
  146. texts[] = {$STR_A3_MissionDefault,6,8,10,12,15,20,25,30};
  147. default = 6;
  148. function = "bis_fnc_paramReviveDuration";
  149. };
  150. class ReviveRequiredTrait
  151. {
  152. title = $STR_A3_RequiredTrait;
  153. isGlobal = 1;
  154. values[] = {-100,0,1};
  155. texts[] = {$STR_A3_MissionDefault,$STR_A3_None,$STR_A3_Medic};
  156. default = 1;
  157. function = "bis_fnc_paramReviveRequiredTrait";
  158. };
  159. class ReviveMedicSpeedMultiplier
  160. {
  161. title = $STR_A3_RequiredTrait_MedicSpeedMultiplier;
  162. isGlobal = 1;
  163. values[] = {-100,1,1.5,2,2.5,3};
  164. texts[] = {$STR_A3_MissionDefault,"1x","1.5x","2x","2.5x","3x"};
  165. default = 1;
  166. function = "bis_fnc_paramReviveMedicSpeedMultiplier";
  167. };
  168. class ReviveRequiredItems
  169. {
  170. title = $STR_A3_RequiredItems;
  171. isGlobal = 1;
  172. values[] = {-100,0,1,2};
  173. texts[] = {$STR_A3_MissionDefault,$STR_A3_None,$STR_A3_Medikit,$STR_A3_FirstAidKitOrMedikit};
  174. default = 1;
  175. function = "bis_fnc_paramReviveRequiredItems";
  176. };
  177. class UnconsciousStateMode
  178. {
  179. title = $STR_A3_IncapacitationMode;
  180. isGlobal = 1;
  181. values[] = {-100,0,1,2};
  182. texts[] = {$STR_A3_MissionDefault,$STR_A3_Basic,$STR_A3_Advanced,$STR_A3_Realistic};
  183. default = 0;
  184. function = "bis_fnc_paramReviveUnconsciousStateMode";
  185. };
  186. class ReviveBleedOutDuration
  187. {
  188. title = $STR_A3_BleedOutDuration;
  189. isGlobal = 1;
  190. values[] = {-100,10,15,20,30,45,60,90,180};
  191. texts[] = {$STR_A3_MissionDefault,10,15,20,30,45,60,90,180};
  192. default = 180;
  193. function = "bis_fnc_paramReviveBleedOutDuration";
  194. };
  195. class ReviveForceRespawnDuration
  196. {
  197. title = $STR_A3_ForceRespawnDuration;
  198. isGlobal = 1;
  199. values[] = {-100,3,4,5,6,7,8,9,10};
  200. texts[] = {$STR_A3_MissionDefault,3,4,5,6,7,8,9,10};
  201. default = 10;
  202. function = "bis_fnc_paramReviveForceRespawnDuration";
  203. };
  204. class Spacer2 {
  205. title = "";
  206. values[] = { "" };
  207. texts[] = { "" };
  208. default = "";
  209. };
  210. class GameplayOptions{
  211. title = $STR_PARAMS_GAMEPLAYOPTIONS;
  212. values[] = { "" };
  213. texts[] = { "" };
  214. default = "";
  215. };
  216. class Fatigue {
  217. title = $STR_PARAMS_FATIGUE;
  218. values[] = { 0, 1 };
  219. texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
  220. default = 1;
  221. };
  222. class ArsenalUsePreset {
  223. title = $STR_PARAMS_ARSENALUSEPRESET;
  224. values[] = { 0, 1 };
  225. texts[] = { $STR_PARAMS_NOTRESTRICTIONS, $STR_PARAMS_USEPRESET };
  226. default = 1;
  227. };
  228. class MapMarkers {
  229. title = $STR_PARAMS_MAPMARKERS;
  230. values[] = { 0, 1 };
  231. texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
  232. default = 1;
  233. };
  234. class MobileRespawn {
  235. title = $STR_PARAMS_MOBILERESPAWN;
  236. values[] = { 0, 1 };
  237. texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
  238. default = 1;
  239. };
  240. class MobileArsenal {
  241. title = $STR_PARAMS_MOBILEARSENAL;
  242. values[] = { 0, 1 };
  243. texts[] = { $STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED };
  244. default = 1;
  245. };
  246. class AiLogistics {
  247. title = $STR_PARAMS_AILOGISTICS;
  248. values[] = {0, 1};
  249. texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
  250. default = 1;
  251. };
  252. class TeamkillPenalty{
  253. title = $STR_PARAM_TEAMKILL_PENALTY;
  254. values[] = {1,0};
  255. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  256. default = 0;
  257. };
  258. class HaloJump{
  259. title = $STR_HALO_PARAM;
  260. values[] = {1,5,10,15,20,30,0};
  261. texts[] = { $STR_HALO_PARAM1, $STR_HALO_PARAM2, $STR_HALO_PARAM3, $STR_HALO_PARAM4, $STR_HALO_PARAM5, $STR_HALO_PARAM6, $STR_PARAMS_DISABLED };
  262. default = 0;
  263. };
  264. class Spacer3 {
  265. title = "";
  266. values[] = { "" };
  267. texts[] = { "" };
  268. default = "";
  269. };
  270. class TechnicalOptions{
  271. title = $STR_PARAMS_TECHNICALOPTIONS;
  272. values[] = { "" };
  273. texts[] = { "" };
  274. default = "";
  275. };
  276. class Permissions{
  277. title = $STR_PERMISSIONS_PARAM;
  278. values[] = {1,0};
  279. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  280. default = 1;
  281. };
  282. class CleanupVehicles {
  283. title = $STR_CLEANUP_PARAM;
  284. values[] = { 0,1,2,4 };
  285. texts[] = { $STR_PARAMS_DISABLED, $STR_CLEANUP_PARAM1, $STR_CLEANUP_PARAM2, $STR_CLEANUP_PARAM3 };
  286. default = 2;
  287. };
  288. class Introduction {
  289. title = $STR_PARAMS_INTRO;
  290. values[] = { 1, 0 };
  291. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  292. default = 1;
  293. };
  294. class DeploymentCinematic {
  295. title = $STR_PARAMS_DEPLOYMENTCAMERA;
  296. values[] = { 1, 0 };
  297. texts[] = { $STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED };
  298. default = 1;
  299. };
  300. class Whitelist {
  301. title = $STR_WHITELIST_PARAM;
  302. values[] = { 1, 0 };
  303. texts[] = { $STR_WHITELIST_ENABLED, $STR_PARAMS_DISABLED };
  304. default = 0;
  305. };
  306. class WipeSave1{
  307. title = $STR_WIPE_TITLE;
  308. values[] = {0,1};
  309. texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
  310. default = 0;
  311. };
  312. class WipeSave2{
  313. title = $STR_WIPE_TITLE_2;
  314. values[] = {0,1};
  315. texts[] = {$STR_WIPE_NO,$STR_WIPE_YES};
  316. default = 0;
  317. };
  318. };