ImUnleasheD

Untitled

Sep 7th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class Steinburg_Pack1
  4. {
  5. units[] = {"steinburg_carpark","steinburg_modernbillboard","steinburg_ffwellenkamp"};
  6. weapons[] = {};
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Structures_F"};
  9. };
  10. };
  11. class CfgVehicles
  12. {
  13. class All{};
  14. class Static: All{};
  15. class Building: Static{};
  16. class NonStrategic: Building{};
  17. class TargetTraining: NonStrategic{};
  18. class TargetGrenade: TargetTraining{};
  19. class House_F;
  20. class steinburg_carpark : House_F
  21. {
  22. scope = 2;
  23. model = "steinburg_pack1\steinburg_carpark.p3d";
  24. displayName = "Carpark";
  25. editorCategory = "Steinburg_category";
  26. editorSubcategory = "Steinburg_subcategory";
  27. vehicleClass = "Steinburg_Addon";
  28. picture = "steinburg_pack1\stuff\steinburg_icon.paa";
  29. icon = "steinburg_pack1\stuff\steinburg_icon.paa";
  30. };
  31. class steinburg_modernbillboard : House_F
  32. {
  33. scope = 2;
  34. model = "steinburg_pack1\steinburg_modernbillboard.p3d";
  35. displayName = "Modern Billboard";
  36. editorCategory = "Steinburg_category";
  37. editorSubcategory = "Steinburg_subcategory";
  38. vehicleClass = "Steinburg_Addon";
  39. picture = "steinburg_pack1\stuff\steinburg_icon.paa";
  40. icon = "steinburg_pack1\stuff\steinburg_icon.paa";
  41. };
  42. class steinburg_ffwellenkamp : House_F
  43. {
  44. scope = 2;
  45. model = "steinburg_pack1\steinburg_ffwellenkamp.p3d";
  46. displayName = "Firestation Itzehoe Wellenkamp";
  47. editorCategory = "Steinburg_category";
  48. editorSubcategory = "Steinburg_subcategory";
  49. vehicleClass = "Steinburg_Addon";
  50. picture = "steinburg_pack1\stuff\steinburg_icon.paa";
  51. icon = "steinburg_pack1\stuff\steinburg_icon.paa";
  52.  
  53. class AnimationSources
  54. {
  55. class DoorRotation
  56. {
  57. source = "user";
  58. initPhase = 0;
  59. animPeriod = 1;
  60. sound = "GenericDoorsSound";
  61. };
  62. class GarageDoorRotation
  63. {
  64. source = "user";
  65. initPhase = 0;
  66. animPeriod = 4;
  67. sound = "SteinburgGarageDoorRotation";
  68. };
  69. };
  70.  
  71. class UserActions
  72. {
  73. class DoorFrontOpen
  74. {
  75. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  76. displayName = "Open Door";
  77. position = "DoorFrontAction"
  78. radius = 1.5;
  79. onlyForPlayer = 0;
  80. showWindow = 0;
  81. condition = true;
  82. statement = "this animate [""DoorFrontRotation"", 1];";
  83. };
  84. class DoorFrontClose
  85. {
  86. displayName = "Close Door";
  87. position = "DoorFrontAction"
  88. radius = 1.5;
  89. onlyForPlayer = 0;
  90. showWindow = 0;
  91. condition = true;
  92. statement = "this animate [""DoorFrontRotation"", 0];";
  93. };
  94. class DoorBackOpen
  95. {
  96. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  97. displayName = "Open Door";
  98. position = "DoorBackAction"
  99. radius = 1.5;
  100. onlyForPlayer = 0;
  101. showWindow = 0;
  102. condition = true;
  103. statement = "this animate [""DoorBackRotation"", 1];";
  104. };
  105.  
  106. class DoorBackClose
  107. {
  108. displayName = "Close Door";
  109. position = "DoorBackAction"
  110. radius = 1.5;
  111. onlyForPlayer = 0;
  112. showWindow = 0;
  113. condition = true;
  114. statement = "this animate [""DoorBackRotation"", 0];";
  115. };
  116. class Gate1Open
  117. {
  118. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  119. displayName = "Open Gate 1";
  120. position = "GatesAction"
  121. radius = 1.5;
  122. onlyForPlayer = 0;
  123. showWindow = 0;
  124. condition = true;
  125. statement = "this animate [""Gate1Rotation"", 1];";
  126. };
  127. class Gate1Close
  128. {
  129. displayName = "Close Gate 1";
  130. position = "GatesAction"
  131. radius = 1.5;
  132. onlyForPlayer = 0;
  133. showWindow = 0;
  134. condition = true;
  135. statement = "this animate [""Gate1Rotation"", 0];";
  136. };
  137. class Gate2Open
  138. {
  139. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  140. displayName = "Open Gate 2";
  141. position = "GatesAction"
  142. radius = 1.5;
  143. onlyForPlayer = 0;
  144. showWindow = 0;
  145. condition = true;
  146. statement = "this animate [""Gate2Rotation"", 1];";
  147. };
  148. class Gate2Close
  149. {
  150. displayName = "Close Gate 2";
  151. position = "GatesAction"
  152. radius = 1.5;
  153. onlyForPlayer = 0;
  154. showWindow = 0;
  155. condition = true;
  156. statement = "this animate [""Gate2Rotation"", 0];";
  157. };
  158.  
  159. };
  160.  
  161. };
  162. };
  163. class CfgAnimationSourceSounds
  164. {
  165. class SteinburgGarageDoorRotation
  166. {
  167. class DoorMovement
  168. {
  169. loop = 0;
  170. terminate = 1;
  171. trigger = "(phase factor[0.05,0.10]) * (phase factor[0.95,0.9])";
  172. sound0[] = {"steinburg_pack1\Sounds\electrical_gate.ogg",0.5,1.0};
  173. sound[] = {"sound0",1};
  174. };
  175. };
  176. };
  177. class CfgSkeletons
  178. {
  179. class Default
  180. {
  181. isDiscrete = 1;
  182. skeletonInherit = "";
  183. skeletonBones[] = {};
  184.  
  185. };
  186. class FFWellenkamp_bones : Default
  187. {
  188. skeletonInherit = "Default";
  189. skeletonBones[]=
  190. {
  191. "DoorFront",
  192. "",
  193. "DoorBack",
  194. "",
  195. "Gate1",
  196. "",
  197. "Gate2",
  198. ""
  199. };
  200. };
  201. };
  202. class CfgModels
  203. {
  204. class Default
  205. {
  206. sectionInherit = "";
  207. sections[] = {};
  208. skeletonName = "";
  209. };
  210.  
  211. class steinburg_ffwellenkamp : Default
  212. {
  213. sections[] = {};
  214. skeletonName = "FFWellenkamp_bones"
  215.  
  216. class Animations
  217. {
  218. class DoorFrontRotation
  219. {
  220. type="rotation";
  221. source="DoorRotation";
  222. selection="DoorFront";
  223. axis="DoorFrontPos";
  224. memory=1;
  225. minValue=0;
  226. maxValue=1;
  227. animPeriod=0;
  228. angle0=0;
  229. angle1="rad -100";
  230. };
  231. class DoorBackRotation
  232. {
  233. type="rotation";
  234. source="DoorRotation";
  235. selection="DoorBack";
  236. axis="DoorBackPos";
  237. memory=1;
  238. minValue=0;
  239. maxValue=1;
  240. animPeriod=0;
  241. angle0=0;
  242. angle1="rad -100";
  243. };
  244. class Gate1Rotation
  245. {
  246. type="rotation";
  247. source="GarageDoorRotation";
  248. selection="Gate1";
  249. axis="Gate1Pos";
  250. memory=1;
  251. minValue=0;
  252. maxValue=1;
  253. animPeriod=0;
  254. angle0=0;
  255. angle1="rad -90";
  256. };
  257. class Gate2Rotation
  258. {
  259. type="rotation";
  260. source="GarageDoorRotation";
  261. selection="Gate2";
  262. axis="Gate2Pos";
  263. memory=1;
  264. minValue=0;
  265. maxValue=1;
  266. animPeriod=0;
  267. angle0=0;
  268. angle1="rad -90";
  269. };
  270. };
  271. };
  272. };
Add Comment
Please, Sign In to add comment