ImUnleasheD

config.cpp

Aug 19th, 2016
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class FFWellenkamp
  4. {
  5. units[] = {"FFWellenkamp"};
  6. weapons[] = {};
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Structure_F_Items"};
  9. };
  10. };
  11. class CfgVehicles
  12. {
  13. class Items_base_F;
  14. class FFWellenkamp: Items_base_F
  15. {
  16. scope = 2;
  17. model = "\FFWellenkamp\FFWellenkamp.p3d";
  18. displayName = "Firestation Itzehoe Wellenkamp";
  19. vehicleClass = "small_items";
  20.  
  21. class AnimationSources
  22. {
  23. class DoorFrontRotation
  24. {
  25. source = "user";
  26. initPhase = 0;
  27. animPeriod = 1;
  28. sound = "GenericDoorsSound";
  29. };
  30. class DoorBackRotation
  31. {
  32. source = "user";
  33. initPhase = 0;
  34. animPeriod = 1;
  35. sound = "GenericDoorsSound";
  36. };
  37. class Gate1Rotation
  38. {
  39. source = "user";
  40. initPhase = 0;
  41. animPeriod = 3;
  42. sound = "FFWellenkamp\Sounds\electricalGate_ready2go.ogg";
  43. };
  44. class Gate2Rotation
  45. {
  46. source = "user";
  47. initPhase = 0;
  48. animPeriod = 3;
  49. sound = "FFWellenkamp\Sounds\electricalGate_ready2go.ogg";
  50. };
  51. };
  52.  
  53. class UserActions
  54. {
  55. class DoorFrontOpen
  56. {
  57. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  58. displayName = "Open Door";
  59. position = "DoorFrontAction"
  60. radius = 1.5;
  61. onlyForPlayer = 0;
  62. showWindow = 0;
  63. condition = true;
  64. statement = "this animate [""DoorFrontRotation"", 1];";
  65. };
  66. class DoorFrontClose
  67. {
  68. displayName = "Close Door";
  69. position = "DoorFrontAction"
  70. radius = 1.5;
  71. onlyForPlayer = 0;
  72. showWindow = 0;
  73. condition = true;
  74. statement = "this animate [""DoorFrontRotation"", 0];";
  75. };
  76. class DoorBackOpen
  77. {
  78. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  79. displayName = "Open Door";
  80. position = "DoorBackAction"
  81. radius = 1.5;
  82. onlyForPlayer = 0;
  83. showWindow = 0;
  84. condition = true;
  85. statement = "this animate [""DoorBackRotation"", 1];";
  86. };
  87.  
  88. class DoorBackClose
  89. {
  90. displayName = "Close Door";
  91. position = "DoorBackAction"
  92. radius = 1.5;
  93. onlyForPlayer = 0;
  94. showWindow = 0;
  95. condition = true;
  96. statement = "this animate [""DoorBackRotation"", 0];";
  97. };
  98. class Gate1Open
  99. {
  100. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  101. displayName = "Open Gate 1";
  102. position = "GatesAction"
  103. radius = 1.5;
  104. onlyForPlayer = 0;
  105. showWindow = 0;
  106. condition = true;
  107. statement = "this animate [""Gate1Rotation"", 1];";
  108. };
  109. class Gate1Close
  110. {
  111. displayName = "Close Gate 1";
  112. position = "GatesAction"
  113. radius = 1.5;
  114. onlyForPlayer = 0;
  115. showWindow = 0;
  116. condition = true;
  117. statement = "this animate [""Gate1Rotation"", 0];";
  118. };
  119. class Gate2Open
  120. {
  121. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  122. displayName = "Open Gate 2";
  123. position = "GatesAction"
  124. radius = 1.5;
  125. onlyForPlayer = 0;
  126. showWindow = 0;
  127. condition = true;
  128. statement = "this animate [""Gate2Rotation"", 1];";
  129. };
  130. class Gate2Close
  131. {
  132. displayName = "Close Gate 2";
  133. position = "GatesAction"
  134. radius = 1.5;
  135. onlyForPlayer = 0;
  136. showWindow = 0;
  137. condition = true;
  138. statement = "this animate [""Gate2Rotation"", 0];";
  139. };
  140.  
  141. };
  142.  
  143. };
  144. };
Add Comment
Please, Sign In to add comment