Advertisement
Guest User

cc

a guest
Apr 21st, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1.  
  2. class CfgPatches
  3. {
  4. class Land_Panics_Portail1
  5. {
  6. units[] = {"Panics_Portail1"};
  7. weapons[] = {};
  8. requiredVersion = 0.1;
  9. requiredAddons[] = {};
  10. };
  11. };
  12. class cfgVehicleClasses
  13. {
  14. class Panics_Portail1
  15. {
  16. displayName="Panics";
  17. };
  18. };
  19. class CfgVehicles
  20. {
  21. class Ruins_F;
  22. class House;
  23. class House_F: House{};
  24. class Land_Panics_Portail1: House_F
  25. {
  26. scope = 2;
  27. scopeCurator = 2;
  28. simulation="house";
  29. animated = 1;
  30. mapSize = 6;
  31. cost = 5000;
  32. author = "Panics";
  33. vehicleClass = "Panics_Portail1";
  34. displayName = "Panics_Portail1";
  35. model = "Panics_Portail1\Panics_Portail1.p3d";
  36. placement="vertical";
  37. numberOfDoors = 22;
  38. hiddenSelectionsTextures[] = {};
  39.  
  40. class AnimationSources
  41. {
  42. class Zeroanimation
  43. {
  44. source = "user";
  45. initPhase = 0;
  46. animPeriod = 4;
  47. sound = "RollDoorsSound";
  48. };
  49. class porte
  50. {
  51. source = "user";
  52. initPhase = 0;
  53. animPeriod = 0.5;
  54. sound = "GenericDoorsSound";
  55. };
  56. class trans
  57. {
  58. source = "user";
  59. initPhase = 0;
  60. animPeriod = 5;
  61. Sound = "VaultCombination";
  62. SoundPosition = "ActionPoint02";
  63. };
  64. };
  65. class UserActions
  66. {
  67. class open_door_1
  68. {
  69. displayName = "Ouvrir Porte";
  70. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  71. position = "Portailpetit1_Trigger";
  72. radius = 2;
  73. onlyForplayer = "false";
  74. condition = "((this animationPhase 'Door_1') < 0.5) && ((this getVariable ['bis_disabled_Door_1',0]) != 1)";
  75. statement = "this animate [""door_1"", 1]";
  76. };
  77. class close_door_1
  78. {
  79. displayName = "Fermer Porte ";
  80. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  81. position = "Portailpetit1_Trigger";
  82. radius = 2;
  83. onlyForplayer = "false";
  84. condition = "this animationPhase ""door_1""==1";
  85. statement = "this animate [""door_1"", 0]";
  86.  
  87. };
  88. class open_door_2
  89. {
  90. displayName = "Ouvrir Porte";
  91. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  92. position = "PorteMacDo2_Trigger";
  93. radius = 2;
  94. onlyForplayer = "false";
  95. condition = "((this animationPhase 'Door_2') < 0.5) && ((this getVariable ['bis_disabled_Door_2',0]) != 1)";
  96. statement = "this animate [""door_2"", 1]";
  97. };
  98. class close_door_2
  99. {
  100. displayName = "Fermer Porte ";
  101. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  102. position = "PorteMacDo2_Trigger";
  103. radius = 2;
  104. onlyForplayer = "false";
  105. condition = "this animationPhase ""door_2""==1";
  106. statement = "this animate [""door_2"", 0]";
  107.  
  108. };
  109. class open_door_3
  110. {
  111. displayName = "Ouvrir Porte";
  112. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  113. position = "PorteMacDo3_Trigger";
  114. radius = 2;
  115. onlyForplayer = "false";
  116. condition = "((this animationPhase 'Door_3') < 0.5) && ((this getVariable ['bis_disabled_Door_3',0]) != 1)";
  117. statement = "this animate [""door_3"", 1]";
  118. };
  119. class close_door_3
  120. {
  121. displayName = "Fermer Porte ";
  122. displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
  123. position = "PorteMacDo3_Trigger";
  124. radius = 2;
  125. onlyForplayer = "false";
  126. condition = "this animationPhase ""door_3""==1";
  127. statement = "this animate [""door_3"", 0]";
  128.  
  129. };
  130.  
  131. };
  132. };
  133. actionBegin1 = "open_Door_01";
  134. actionEnd1 = "open_Door_01";
  135. actionBegin2 = "open_Door_02";
  136. actionEnd2 = "open_Door_02";
  137. actionBegin3 = "open_Door_03";
  138. actionEnd3 = "open_Door_03";
  139.  
  140.  
  141. };
  142. };
  143. //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement