Advertisement
tim23243

Untitled

Apr 19th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.67 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class PoliceStation
  4. {
  5. units[]={};
  6. weapons[]={};
  7. requiredVersion=0.1;
  8. requiredAddons[]={};
  9. };
  10. };
  11. class CfgVehicleClasses
  12. {
  13. class snb_buildings
  14. {
  15. displayName="Australian Buildings";
  16. };
  17. };
  18. class CfgVehicles
  19. {
  20. class Ruins_F;
  21. class House;
  22. class House_F: House
  23. {
  24. };
  25. class Land_PoliceStation: House_F
  26. {
  27. displayName="Australian Police Station";
  28. textSingular="Australian Police Station";
  29. author="Mattaust";
  30. model="\mm_buildings2\Police_Station\PoliceStation.p3d";
  31. vehicleClass="snb_buildings";
  32. placement="vertical";
  33. scope=2;
  34. mapSize=12;
  35. animated="true";
  36. ladders[]=
  37. {
  38.  
  39. {
  40. "Ladder_1_start",
  41. "Ladder_1_end"
  42. }
  43. };
  44. class Reflectors
  45. {
  46. class Light_1
  47. {
  48. color[]={1000,1000,1200};
  49. ambient[]={6,5,4};
  50. intensity=3;
  51. size=1;
  52. innerAngle=90;
  53. outerAngle=360;
  54. coneFadeCoef=1;
  55. position="Light1_pos";
  56. direction="Light1_dir";
  57. hitpoint="Light1_hitpoint";
  58. selection="Light_1";
  59. useFlare=1;
  60. flareSize=0.80000001;
  61. flareMaxDistance=250;
  62. class Attenuation
  63. {
  64. start=0;
  65. constant=20;
  66. linear=0;
  67. quadratic=0.5;
  68. hardLimitStart=40;
  69. hardLimitEnd=60;
  70. };
  71. };
  72. class Light_2: Light_1
  73. {
  74. position="light2_pos";
  75. direction="light2_dir";
  76. hitpoint="light2";
  77. selection="light_2";
  78. };
  79. class Light_3: Light_1
  80. {
  81. position="light3_pos";
  82. direction="light3_dir";
  83. hitpoint="light3";
  84. selection="light_3";
  85. };
  86. class Light_4: Light_1
  87. {
  88. position="light4_pos";
  89. direction="light4_dir";
  90. hitpoint="light4";
  91. selection="light_4";
  92. };
  93. class Light_5: Light_1
  94. {
  95. position="light5_pos";
  96. direction="light5_dir";
  97. hitpoint="light5";
  98. selection="light_5";
  99. };
  100. class Light_6: Light_1
  101. {
  102. position="light6_pos";
  103. direction="light6_dir";
  104. hitpoint="light6";
  105. selection="light_6";
  106. };
  107. class Light_7: Light_1
  108. {
  109. position="light7_pos";
  110. direction="light7_dir";
  111. hitpoint="light7";
  112. selection="light_7";
  113. };
  114. class Light_8: Light_1
  115. {
  116. position="light8_pos";
  117. direction="light8_dir";
  118. hitpoint="light8";
  119. selection="Light_8";
  120. };
  121. class Light_9: Light_1
  122. {
  123. position="light9_pos";
  124. direction="light9_dir";
  125. hitpoint="light9";
  126. selection="Light_9";
  127. };
  128. class Light_10: Light_1
  129. {
  130. position="light10_pos";
  131. direction="light10_dir";
  132. hitpoint="light10";
  133. selection="Light_10";
  134. };
  135. };
  136. aggregateReflectors[]=
  137. {
  138.  
  139. {
  140. "Light_1;Light_2;Light_3;Light_4;Light_5;Light_6;Light_7;Light_8;Light_9;Light_10"
  141. }
  142. };
  143. class AnimationSources
  144. {
  145. class Zeroanimation
  146. {
  147. source="user";
  148. animPeriod=0;
  149. initPhase=0;
  150. sound="GenericDoorsSound";
  151. };
  152. class oneanimation
  153. {
  154. source="user";
  155. animPeriod=5;
  156. initPhase=0;
  157. sound="VaultRotate";
  158. };
  159. class twoanimation
  160. {
  161. source="user";
  162. animPeriod=0;
  163. initPhase=0;
  164. sound="GlassServoDoorsSound";
  165. };
  166. };
  167. class UserActions
  168. {
  169. class open_door_1
  170. {
  171. displayName="Open Door";
  172. position="Interact1";
  173. radius=3;
  174. onlyForplayer="true";
  175. condition="((this animationPhase 'Door_1') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  176. statement="this animate [""Door_1"", 1]";
  177. };
  178. class close_door_1
  179. {
  180. displayName="Close Door";
  181. position="Interact1";
  182. radius=3;
  183. onlyForplayer="true";
  184. condition="((this animationPhase 'Door_1') == 1) && (""ItemCopCard"" in (assignedItems player))";
  185. statement="this animate [""Door_1"", 0]";
  186. };
  187. class open_door_2
  188. {
  189. displayName="Open Door";
  190. position="Interact2";
  191. radius=3;
  192. onlyForplayer="true";
  193. condition="((this animationPhase 'Door_2') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  194. statement="this animate [""Door_2"", 1]";
  195. };
  196. class close_door_2
  197. {
  198. displayName="Close Door";
  199. position="Interact2";
  200. radius=3;
  201. onlyForplayer="true";
  202. condition="((this animationPhase 'Door_2') == 1) && (""ItemCopCard"" in (assignedItems player))";
  203. statement="this animate [""Door_2"", 0]";
  204. };
  205. class open_door_3
  206. {
  207. displayName="Open Door";
  208. position="Interact3";
  209. radius=3;
  210. onlyForplayer="true";
  211. condition="((this animationPhase 'Door_3') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  212. statement="this animate [""Door_3"", 1]";
  213. };
  214. class close_door_3
  215. {
  216. displayName="Close Door";
  217. position="Interact3";
  218. radius=3;
  219. onlyForplayer="true";
  220. condition="((this animationPhase 'Door_3') == 1) && (""ItemCopCard"" in (assignedItems player))";
  221. statement="this animate [""Door_3"", 0]";
  222. };
  223. class open_door_4
  224. {
  225. displayName="Open Door";
  226. position="Interact4";
  227. radius=3;
  228. onlyForplayer="true";
  229. condition="((this animationPhase 'Door_4') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  230. statement="this animate [""Door_4"", 1]";
  231. };
  232. class close_door_4
  233. {
  234. displayName="Close Door";
  235. position="Interact4";
  236. radius=3;
  237. onlyForplayer="true";
  238. condition="((this animationPhase 'Door_4') == 1) && (""ItemCopCard"" in (assignedItems player))";
  239. statement="this animate [""Door_4"", 0]";
  240. };
  241. class open_door_5
  242. {
  243. displayName="Open Door";
  244. position="Interact5";
  245. radius=3;
  246. onlyForplayer="true";
  247. condition="((this animationPhase 'Door_5') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  248. statement="this animate [""Door_5"", 1]";
  249. };
  250. class close_door_5
  251. {
  252. displayName="Close Door";
  253. position="Interact5";
  254. radius=3;
  255. onlyForplayer="true";
  256. condition="((this animationPhase 'Door_5') == 1) && (""ItemCopCard"" in (assignedItems player))";
  257. statement="this animate [""Door_5"", 0]";
  258. };
  259. class open_door_6
  260. {
  261. displayName="Open Door";
  262. position="Interact6";
  263. radius=3;
  264. onlyForplayer="true";
  265. condition="((this animationPhase 'Door_6') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  266. statement="this animate [""Door_6"", 1]";
  267. };
  268. class close_door_6
  269. {
  270. displayName="Close Door";
  271. position="Interact6";
  272. radius=3;
  273. onlyForplayer="true";
  274. condition="((this animationPhase 'Door_6') == 1) && (""ItemCopCard"" in (assignedItems player))";
  275. statement="this animate [""Door_6"", 0]";
  276. };
  277. class open_door_7
  278. {
  279. displayName="Open Door";
  280. position="Interact7";
  281. radius=3;
  282. onlyForplayer="true";
  283. condition="((this animationPhase 'Door_7') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  284. statement="this animate [""Door_7"", 1]";
  285. };
  286. class close_door_7
  287. {
  288. displayName="Close Door";
  289. position="Interact7";
  290. radius=3;
  291. onlyForplayer="true";
  292. condition="((this animationPhase 'Door_7') == 1) && (""ItemCopCard"" in (assignedItems player))";
  293. statement="this animate [""Door_7"", 0]";
  294. };
  295. class open_door_8
  296. {
  297. displayName="Open Garage";
  298. position="Interact8";
  299. radius=5;
  300. onlyForplayer="true";
  301. condition="((this animationPhase 'Door_8') < 0.5) && (""ItemCopCard"" in (assignedItems player))";
  302. statement="this animate [""Door_8"", 1]";
  303. };
  304. class close_door_8
  305. {
  306. displayName="Close Garage";
  307. position="Interact8";
  308. radius=5;
  309. onlyForplayer="true";
  310. condition="((this animationPhase 'Door_8') == 1) && (""ItemCopCard"" in (assignedItems player))";
  311. statement="this animate [""Door_8"", 0]";
  312. };
  313. };
  314. };
  315. };
  316. class cfgMods
  317. {
  318. author="76561198014191701";
  319. timepacked="1467115101";
  320. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement