Advertisement
odincz

rhs

Dec 17th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. // ImmersionFX.sqf
  2. // TEMPLATE FILE
  3. // TheOneWhoKnocks
  4. // Overwrites the global variables used by DEMS to integrate custom content into system
  5.  
  6. // Global variables in this file are available to the AI creation and Loot creation portions of DEMS
  7. // Any where you would normally place an item class name, one of these variables may be substituted in its place.
  8. // When DEMS encounters one of these defined arrays, it will select one of the items from the array at random to use
  9. // in the particular application (ie AI Uniform, loot in a box, etc).
  10.  
  11. private ["_immersionData","_cartName","_debugCart"];
  12.  
  13.  
  14. ///////////////////////////////////////////////////
  15. // CART config ////////////////////////////////////
  16. ///////////////////////////////////////////////////
  17. _cartName = "rhs"; // Change this to match the directory name of the content you are adding
  18. _debugCart = false; // Setting this to true adds additional info to log for troubleshooting purposes
  19.  
  20.  
  21.  
  22. _immersionData =
  23. [
  24. /////////////////////////////////////// AI Models
  25. [
  26. "ImFX_AiModel_E",1,true,
  27. [
  28. // This will be the default enemy soldier (EAST)
  29. ]
  30. ],
  31.  
  32. ////////////////////////////////////// Air Assets
  33. [
  34. "ImFX_Air_Patrol",1,true,
  35. [
  36. "RHS_C130J",
  37. "USAF_C17"
  38. ]
  39. ],
  40. [
  41. "ImFX_Air_Interceptor",1,true,
  42. [
  43. // Aircraft that should be used as interceptors (Used specificaly by DAPE)
  44. // NOTE: These MUST have a default crew assigned to them, otherwise the vehicle will just crash. Not all content
  45. // providers crew all vehicles, be sure to test in the editor first toensure they have a deafult crew in the model
  46. ]
  47. ],
  48. [
  49. "ImFX_Air_Airdrop",0,true,
  50. [
  51. // Helos you want to use for airdrop type roles
  52. ]
  53. ],
  54.  
  55. /////////////////////////////////////// Heli Assets
  56. [
  57. "ImFX_Heli_Escort",0,true,
  58. [
  59. // Helos you want to use for escort type roles
  60. ]
  61. ],
  62. [
  63. "ImFX_Heli_Transport",0,true,
  64. [
  65. // Helos you want to use in transport type roles
  66. ]
  67. ],
  68. [
  69. "ImFX_Heli_Troops",0,true,
  70. [
  71. // Helos you want to use as troop transport type roles
  72. ]
  73. ],
  74. [
  75. "ImFX_Air_Rescue_Heli",1,true,
  76. // NOTE: These MUST have a default crew assigned to them, otherwise the vehicle will just crash. Not all content
  77. // providers crew all vehicles, be sure to test in the editor first toensure they have a deafult crew in the model
  78. [
  79. "RHS_Mi8mt_vvsc",
  80. "RHS_Mi8mt_Cargo_vvsc"
  81. ]
  82. ],
  83.  
  84.  
  85. /////////////////////////////////////// Land Assets
  86.  
  87. [
  88. "ImFX_Land_Armed_Guard",0,true,
  89. [
  90. // Vehicles that will serve as armed guard roles
  91. ]
  92. ],
  93. [
  94. "ImFX_Land_Armed_Transport",0,true,
  95. [
  96. // Vehicle that will serve as armed troop transports
  97. ]
  98. ],
  99. [
  100. "ImFX_Land_Unarmed_Transport",0,true,
  101. [
  102. // Vehicle that will serve as unarmed troop transports
  103. ]
  104. ],
  105. [
  106. "ImFX_Land_Civ_Truck",0,true,
  107. [
  108. // Vehicle that will serve as civilian transports
  109. ]
  110. ],
  111. [
  112. "ImFX_Land_Civ_Car",0,true,
  113. [
  114. // Vehicle that will serve as civilian cars
  115. ]
  116. ],
  117. ///////////////// DAPE Loot Tables
  118. [
  119. "ImFX_DAPE_lootWeapons",1,true,
  120. [
  121. // Weapons you want included as part of DAPE loot weapons found in rescue helicopter
  122. ]
  123. ],
  124. [
  125. "ImFX_DAPE_lootItems",1,true,
  126. [
  127. // Weapons you want included as part of DAPE loot items found in rescue helicopter
  128. ]
  129. ]
  130. /////////////////////////////////////// Misc Assets
  131. // Add any other groupings you want here
  132.  
  133.  
  134.  
  135.  
  136. ];
  137.  
  138. /////////////////////////////
  139. // Cart processing //////////
  140. /////////////////////////////
  141. _hold = [_cartName,_immersionData,_debugCart] spawn CAMS_fnc_loadCart;
  142. if (isNil "_hold") exitWith { diag_log format ["[CAMS:%1] Cart(%2): ImmersionFX.sqf: ERROR in cart loading function",CAMS_Version,_cartName];CAMS_isStable=false;};
  143. waitUntil { ScriptDone _hold};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement