Guest User

Untitled

a guest
Jun 28th, 2019
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.10 KB | None | 0 0
  1. class CfgPatches {
  2.  
  3. class m_bat_entreprise {
  4. units = "m_bat_entreprise";
  5. requiredAddons[] = {"A3_Structures_F", "A3_data_f"};
  6. weapons = "";
  7. requiredVersion = 1;
  8. };
  9. };
  10.  
  11. class CfgVehicles {
  12. /*extern*/ class House;
  13.  
  14. class House_F: House {
  15. /*extern*/ class DestructionEffects;
  16. };
  17. /*extern*/ class Ruins_F;
  18.  
  19. class m_bat_entreprise: House_F {
  20. scope = 2;
  21. displayName = "Hangar Entreprise";
  22. model = "m_bat_entreprise\m_bat_entreprise.p3d";
  23. mapSize = 20.270000;
  24. cost = 40000;
  25. animated = 1;
  26.  
  27. class AnimationSources {
  28.  
  29. class Door_1_source {
  30. source = "user";
  31. animPeriod = 1;
  32. initPhase = 0;
  33. sound = "RollDoorsSound";
  34. };
  35.  
  36. class Door_2_source: Door_1_source {
  37. };
  38.  
  39. class Door_3_source: Door_1_source {
  40. };
  41.  
  42. class Door_4_source {
  43.  
  44. source = "user";
  45. animPeriod = 1;
  46. initPhase = 0;
  47. sound = "GenericDoorsSound";
  48. };
  49.  
  50. class Door_5_source: Door_4_source {
  51. };
  52.  
  53. class Door_6_source: Door_4_source {
  54. };
  55.  
  56. class Door_7_source: Door_4_source {
  57. };
  58.  
  59. class Door_8_source: Door_4_source {
  60. };
  61. };
  62.  
  63. class UserActions {
  64.  
  65. class OpenDoors_1 {
  66. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  67. displayName = "Ouvrir Porte";
  68. position = "Door_1_trigger";
  69. priority = 0.4;
  70. radius = 1.5;
  71. onlyForPlayer = 0;
  72. condition = "this animationPhase "Door_1_source" < 0.5";
  73. statement = "this animate ["Door_1_source", 1]";
  74. };
  75.  
  76. class CloseDoors_1 {
  77. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  78. displayName = "Fermer Porte";
  79. position = "Door_1_trigger";
  80. priority = 0.4;
  81. radius = 1.5;
  82. onlyForPlayer = 0;
  83. condition = "this animationPhase "Door_1_source" >= 0.5";
  84. statement = "this animate ["Door_1_source", 0]";
  85. };
  86.  
  87. class OpenDoors_2 {
  88. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  89. displayName = "Ouvrir Porte";
  90. position = "Door_2_trigger";
  91. priority = 0.4;
  92. radius = 1.5;
  93. onlyForPlayer = 0;
  94. condition = "this animationPhase "Door_2_source" < 0.5";
  95. statement = "this animate ["Door_2_source", 1]";
  96. };
  97.  
  98. class CloseDoors_2 {
  99. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  100. displayName = "Fermer Porte";
  101. position = "Door_2_trigger";
  102. priority = 0.4;
  103. radius = 1.5;
  104. onlyForPlayer = 0;
  105. condition = "this animationPhase "Door_2_source" >= 0.5";
  106. statement = "this animate ["Door_2_source", 0]";
  107. };
  108.  
  109. class OpenDoors_3 {
  110. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  111. displayName = "Ouvrir Porte";
  112. position = "Door_3_trigger";
  113. priority = 0.4;
  114. radius = 1.5;
  115. onlyForPlayer = 0;
  116. condition = "this animationPhase "Door_3_source" < 0.5";
  117. statement = "this animate ["Door_3_source", 1]";
  118. };
  119.  
  120. class CloseDoors_3 {
  121. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  122. displayName = "Fermer Porte";
  123. position = "Door_3_trigger";
  124. priority = 0.4;
  125. radius = 1.5;
  126. onlyForPlayer = 0;
  127. condition = "this animationPhase "Door_3_source" >= 0.5";
  128. statement = "this animate ["Door_3_source", 0]";
  129. };
  130.  
  131. class OpenDoors_4 {
  132. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  133. displayName = "Ouvrir Porte";
  134. position = "Door_4_trigger";
  135. priority = 0.4;
  136. radius = 1.5;
  137. onlyForPlayer = 0;
  138. condition = "this animationPhase "Door_4_source" < 0.5";
  139. statement = "this animate ["Door_4_source", 1]";
  140. };
  141.  
  142. class CloseDoors_4 {
  143. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  144. displayName = "Fermer Porte";
  145. position = "Door_4_trigger";
  146. priority = 0.4;
  147. radius = 1.5;
  148. onlyForPlayer = 0;
  149. condition = "this animationPhase "Door_4_source" >= 0.5";
  150. statement = "this animate ["Door_4_source", 0]";
  151. };
  152.  
  153. class OpenDoors_5 {
  154. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  155. displayName = "Ouvrir Porte";
  156. position = "Door_5_trigger";
  157. priority = 0.4;
  158. radius = 1.5;
  159. onlyForPlayer = 0;
  160. condition = "this animationPhase "Door_5_source" < 0.5";
  161. statement = "this animate ["Door_5_source", 1]";
  162. };
  163.  
  164. class CloseDoors_5 {
  165. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  166. displayName = "Fermer Porte";
  167. position = "Door_5_trigger";
  168. priority = 0.4;
  169. radius = 1.5;
  170. onlyForPlayer = 0;
  171. condition = "this animationPhase "Door_5_source" >= 0.5";
  172. statement = "this animate ["Door_5_source", 0]";
  173. };
  174.  
  175. class OpenDoors_6 {
  176. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  177. displayName = "Ouvrir Porte";
  178. position = "Door_6_trigger";
  179. priority = 0.4;
  180. radius = 1.5;
  181. onlyForPlayer = 0;
  182. condition = "this animationPhase "Door_6_source" < 0.5";
  183. statement = "this animate ["Door_6_source", 1]";
  184. };
  185.  
  186. class CloseDoors_6 {
  187. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  188. displayName = "Fermer Porte";
  189. position = "Door_6_trigger";
  190. priority = 0.4;
  191. radius = 1.5;
  192. onlyForPlayer = 0;
  193. condition = "this animationPhase "Door_6_source" >= 0.5";
  194. statement = "this animate ["Door_6_source", 0]";
  195. };
  196.  
  197. class OpenDoors_7 {
  198. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  199. displayName = "Ouvrir Porte";
  200. position = "Door_7_trigger";
  201. priority = 0.4;
  202. radius = 1.5;
  203. onlyForPlayer = 0;
  204. condition = "this animationPhase "Door_7_source" < 0.5";
  205. statement = "this animate ["Door_7_source", 1]";
  206. };
  207.  
  208. class CloseDoors_7 {
  209. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  210. displayName = "Fermer Porte";
  211. position = "Door_7_trigger";
  212. priority = 0.4;
  213. radius = 1.5;
  214. onlyForPlayer = 0;
  215. condition = "this animationPhase "Door_7_source" >= 0.5";
  216. statement = "this animate ["Door_7_rot", 0]";
  217. };
  218.  
  219. class OpenDoors_8 {
  220. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  221. displayName = "Ouvrir Porte";
  222. position = "Door_8_trigger";
  223. priority = 0.4;
  224. radius = 1.5;
  225. onlyForPlayer = 0;
  226. condition = "this animationPhase "Door_8_source" < 0.5";
  227. statement = "this animate ["Door_8_source", 1]";
  228. };
  229.  
  230. class CloseDoors_8 {
  231. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='3.5' />";
  232. displayName = "Fermer Porte";
  233. position = "Door_8_trigger";
  234. priority = 0.4;
  235. radius = 1.5;
  236. onlyForPlayer = 0;
  237. condition = "this animationPhase "Door_8_source" >= 0.5";
  238. statement = "this animate ["Door_8_source", 0]";
  239. };
  240. };
  241. numberOfDoors = 8;
  242. };
  243. };
  244.  
  245. class cfgMods {
  246. author = "M";
  247. timepacked = "1548674630";
  248. };
Add Comment
Please, Sign In to add comment