Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.81 KB | None | 0 0
  1. class CfgPatches{
  2. class jf_sheriff_station
  3. {
  4. units[] = {"land_sheriffstation"};
  5. weapons[] = {};
  6. requiredVersion = 0.1;
  7. requiredAddons[] = {"A3_Data_F", "sl_client"};
  8. };
  9. };
  10. class CfgVehicleClasses
  11. {
  12. class SL_Buildings
  13. {
  14. displayName = "StanLakeside.pl Buildings";
  15. };
  16. };
  17. class CfgVehicles
  18. {
  19. class House;
  20. class House_f: House
  21. {
  22. class DestructionEffects;
  23. };
  24. class land_sheriffstation: House_f
  25. {
  26. displayName = "Sheriffs Office Station";
  27. textSingular = "Sheriffs Office Station";
  28. author = "Jeffrey";
  29. model = "\jf_sheriff_station\sheriff_station\jf_sheriff_station.p3d";
  30. placement = "vertical";
  31. scope = 2;
  32. cost = 100;
  33. mapSize = 12;
  34. vehicleClass = "SL_Buildings";
  35. animated = 1;
  36. armor=999999;
  37. class DestructionEffects
  38. {
  39. };
  40. class AnimationSources
  41. {
  42. class door_1
  43. {
  44. source = "user";
  45. animPeriod = 1;
  46. initPhase = 0;
  47. sound = "GlassServoDoorsSound";
  48. };
  49. class oneanimation
  50. {
  51. source = "user";
  52. animPeriod = 1;
  53. initPhase = 0;
  54. sound = "VaultRotate";
  55. };
  56. class door_3
  57. {
  58. source = "user";
  59. animPeriod = 1;
  60. initPhase = 0;
  61. sound = "GlassServoDoorsSound";
  62. };
  63. class door_garage
  64. {
  65. source = "user";
  66. animPeriod = 1;
  67. initPhase = 0;
  68. sound = "GlassServoDoorsSound";
  69. };
  70. class door_6
  71. {
  72. source = "user";
  73. animPeriod = 1;
  74. initPhase = 0;
  75. sound = "GlassServoDoorsSound";
  76. };
  77. class door_7
  78. {
  79. source = "user";
  80. animPeriod = 1;
  81. initPhase = 0;
  82. sound = "GlassServoDoorsSound";
  83. };
  84. class door_8
  85. {
  86. source = "user";
  87. animPeriod = 1;
  88. initPhase = 0;
  89. sound = "GenericDoorsSound";
  90. };
  91. class door_9
  92. {
  93. source = "user";
  94. animPeriod = 1;
  95. initPhase = 0;
  96. sound = "GenericDoorsSound";
  97. };
  98. class door_10
  99. {
  100. source = "user";
  101. animPeriod = 1;
  102. initPhase = 0;
  103. sound = "GenericDoorsSound";
  104. };
  105. class door_11
  106. {
  107. source = "user";
  108. animPeriod = 1;
  109. initPhase = 0;
  110. sound = "GenericDoorsSound";
  111. };
  112. class door_12
  113. {
  114. source = "user";
  115. animPeriod = 1;
  116. initPhase = 0;
  117. sound = "GenericDoorsSound";
  118. };
  119. class door_13
  120. {
  121. source = "user";
  122. animPeriod = 1;
  123. initPhase = 0;
  124. sound = "GenericDoorsSound";
  125. };
  126. class door_14
  127. {
  128. source = "user";
  129. animPeriod = 1;
  130. initPhase = 0;
  131. sound = "GenericDoorsSound";
  132. };
  133. class door_15
  134. {
  135. source = "user";
  136. animPeriod = 1;
  137. initPhase = 0;
  138. sound = "GenericDoorsSound";
  139. };
  140. class cell1
  141. {
  142. source = "user";
  143. animPeriod = 1;
  144. initPhase = 0;
  145. sound = "GlassServoDoorsSound";
  146. };
  147. class cell2
  148. {
  149. source = "user";
  150. animPeriod = 1;
  151. initPhase = 0;
  152. sound = "GlassServoDoorsSound";
  153. };
  154. class cell3
  155. {
  156. source = "user";
  157. animPeriod = 1;
  158. initPhase = 0;
  159. sound = "GlassServoDoorsSound";
  160. };
  161. class cell4
  162. {
  163. source = "user";
  164. animPeriod = 1;
  165. initPhase = 0;
  166. sound = "GlassServoDoorsSound";
  167. };
  168. };
  169. class UserActions
  170. {
  171. class open_door8
  172. {
  173. displayName = "Open Garage";
  174. position = "Interact8";
  175. radius = 5;
  176. onlyForplayer = "true";
  177. condition = "((this animationPhase 'Door8') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  178. statement = "this animate [""Door8"", 1]";
  179. };
  180. class close_door8
  181. {
  182. displayName = "Close Garage";
  183. position = "Interact8";
  184. radius = 5;
  185. onlyForplayer = "true";
  186. condition = "((this animationPhase 'Door8') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  187. statement = "this animate [""Door8"", 0]";
  188. };
  189. class open_doors_front
  190. {
  191. displayName = "Open Front Doors";
  192. position = "doors_front";
  193. radius = 2;
  194. onlyForplayer = "true";
  195. condition = "((this animationPhase 'door_1') < 0.5)";
  196. statement = "this animate [""door_1"", 1]";
  197. };
  198. class close_doors_front
  199. {
  200. displayName = "Close Front Doors";
  201. position = "doors_front";
  202. radius = 2;
  203. onlyForplayer = "true";
  204. condition = "((this animationPhase 'door_1') == 1)";
  205. statement = "this animate [""door_1"", 0]";
  206. };
  207. class open_doors_lobby
  208. {
  209. displayName = "Open Lobby Doors";
  210. position = "doors_lobby";
  211. radius = 2;
  212. onlyForplayer = "true";
  213. condition = "((this animationPhase 'door_3') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  214. statement = "this animate [""door_3"", 1]";
  215. };
  216. class close_doors_lobby
  217. {
  218. displayName = "Close Lobby Doors";
  219. position = "doors_lobby";
  220. radius = 2;
  221. onlyForplayer = "true";
  222. condition = "((this animationPhase 'door_3') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  223. statement = "this animate [""door_3"", 0]";
  224. };
  225. class open_garage_door
  226. {
  227. displayName = "Open Garage Door";
  228. position = "door_garage";
  229. radius = 2;
  230. onlyForplayer = "true";
  231. condition = "((this animationPhase 'door_garage') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  232. statement = "this animate [""door_garage"", 1]";
  233. };
  234. class close_garage_door
  235. {
  236. displayName = "Close Garage Door";
  237. position = "door_garage";
  238. radius = 2;
  239. onlyForplayer = "true";
  240. condition = "((this animationPhase 'door_garage') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  241. statement = "this animate [""door_garage"", 0]";
  242. };
  243. class open_door_6
  244. {
  245. displayName = "Open Door";
  246. position = "door_6_pos";
  247. radius = 2;
  248. onlyForplayer = "true";
  249. condition = "((this animationPhase 'door_6') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  250. statement = "this animate [""door_6"", 1]";
  251. };
  252. class close_door_6
  253. {
  254. displayName = "Close Door";
  255. position = "door_6_pos";
  256. radius = 2;
  257. onlyForplayer = "true";
  258. condition = "((this animationPhase 'door_6') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  259. statement = "this animate [""door_6"", 0]";
  260. };
  261. class open_door_7
  262. {
  263. displayName = "Open Door";
  264. position = "door_7_pos";
  265. radius = 2;
  266. onlyForplayer = "true";
  267. condition = "((this animationPhase 'door_7') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  268. statement = "this animate [""door_7"", 1]";
  269. };
  270. class close_door_7
  271. {
  272. displayName = "Close Door";
  273. position = "door_7_pos";
  274. radius = 2;
  275. onlyForplayer = "true";
  276. condition = "((this animationPhase 'door_7') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  277. statement = "this animate [""door_7"", 0]";
  278. };
  279. class open_door_8
  280. {
  281. displayName = "Open Door";
  282. position = "door_8_pos";
  283. radius = 2;
  284. onlyForplayer = "true";
  285. condition = "((this animationPhase 'door_8') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  286. statement = "this animate [""door_8"", 1]";
  287. };
  288. class close_door_8
  289. {
  290. displayName = "Close Door";
  291. position = "door_8_pos";
  292. radius = 2;
  293. onlyForplayer = "true";
  294. condition = "((this animationPhase 'door_8') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  295. statement = "this animate [""door_8"", 0]";
  296. };
  297. class open_door_9
  298. {
  299. displayName = "Open Door";
  300. position = "door_9_pos";
  301. radius = 2;
  302. onlyForplayer = "true";
  303. condition = "((this animationPhase 'door_9') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  304. statement = "this animate [""door_9"", 1]";
  305. };
  306. class close_door_9
  307. {
  308. displayName = "Close Door";
  309. position = "door_9_pos";
  310. radius = 2;
  311. onlyForplayer = "true";
  312. condition = "((this animationPhase 'door_9') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  313. statement = "this animate [""door_9"", 0]";
  314. };
  315. class open_door_10
  316. {
  317. displayName = "Open Door";
  318. position = "door_10_pos";
  319. radius = 2;
  320. onlyForplayer = "true";
  321. condition = "((this animationPhase 'door_10') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  322. statement = "this animate [""door_10"", 1]";
  323. };
  324. class close_door_10
  325. {
  326. displayName = "Close Door";
  327. position = "door_10_pos";
  328. radius = 2;
  329. onlyForplayer = "true";
  330. condition = "((this animationPhase 'door_10') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  331. statement = "this animate [""door_10"", 0]";
  332. };
  333. class open_door_11
  334. {
  335. displayName = "Open Door";
  336. position = "door_11_pos";
  337. radius = 2;
  338. onlyForplayer = "true";
  339. condition = "((this animationPhase 'door_11') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  340. statement = "this animate [""door_11"", 1]";
  341. };
  342. class close_door_11
  343. {
  344. displayName = "Close Door";
  345. position = "door_11_pos";
  346. radius = 2;
  347. onlyForplayer = "true";
  348. condition = "((this animationPhase 'door_11') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  349. statement = "this animate [""door_11"", 0]";
  350. };
  351. class open_door_12
  352. {
  353. displayName = "Open Door";
  354. position = "door_12_pos";
  355. radius = 2;
  356. onlyForplayer = "true";
  357. condition = "((this animationPhase 'door_12') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  358. statement = "this animate [""door_12"", 1]";
  359. };
  360. class close_door_12
  361. {
  362. displayName = "Close Door";
  363. position = "door_12_pos";
  364. radius = 2;
  365. onlyForplayer = "true";
  366. condition = "((this animationPhase 'door_12') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  367. statement = "this animate [""door_12"", 0]";
  368. };
  369. class open_door_13
  370. {
  371. displayName = "Open Door";
  372. position = "door_13_pos";
  373. radius = 2;
  374. onlyForplayer = "true";
  375. condition = "((this animationPhase 'door_13') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  376. statement = "this animate [""door_13"", 1]";
  377. };
  378. class close_door_13
  379. {
  380. displayName = "Close Door";
  381. position = "door_13_pos";
  382. radius = 2;
  383. onlyForplayer = "true";
  384. condition = "((this animationPhase 'door_13') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  385. statement = "this animate [""door_13"", 0]";
  386. };
  387. class open_door_14
  388. {
  389. displayName = "Open Door";
  390. position = "door_14_pos";
  391. radius = 2;
  392. onlyForplayer = "true";
  393. condition = "((this animationPhase 'door_14') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  394. statement = "this animate [""door_14"", 1]";
  395. };
  396. class close_door_14
  397. {
  398. displayName = "Close Door";
  399. position = "door_14_pos";
  400. radius = 2;
  401. onlyForplayer = "true";
  402. condition = "((this animationPhase 'door_14') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  403. statement = "this animate [""door_14"", 0]";
  404. };
  405. class open_door_15
  406. {
  407. displayName = "Open Door";
  408. position = "door_15_pos";
  409. radius = 2;
  410. onlyForplayer = "true";
  411. condition = "((this animationPhase 'door_15') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  412. statement = "this animate [""door_15"", 1]";
  413. };
  414. class close_door_15
  415. {
  416. displayName = "Close Door";
  417. position = "door_15_pos";
  418. radius = 2;
  419. onlyForplayer = "true";
  420. condition = "((this animationPhase 'door_15') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  421. statement = "this animate [""door_15"", 0]";
  422. };
  423. class open_cell1
  424. {
  425. displayName = "Open Cell";
  426. position = "cell1_pos";
  427. radius = 2;
  428. onlyForplayer = "true";
  429. condition = "((this animationPhase 'cell1') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  430. statement = "this animate [""cell1"", 1]";
  431. };
  432. class close_cell1
  433. {
  434. displayName = "Close Cell";
  435. position = "cell1_pos";
  436. radius = 2;
  437. onlyForplayer = "true";
  438. condition = "((this animationPhase 'cell1') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  439. statement = "this animate [""cell1"", 0]";
  440. };
  441. class open_cell2
  442. {
  443. displayName = "Open Cell";
  444. position = "cell2_pos";
  445. radius = 2;
  446. onlyForplayer = "true";
  447. condition = "((this animationPhase 'cell2') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  448. statement = "this animate [""cell2"", 1]";
  449. };
  450. class close_cell2
  451. {
  452. displayName = "Close Cell";
  453. position = "cell2_pos";
  454. radius = 2;
  455. onlyForplayer = "true";
  456. condition = "((this animationPhase 'cell2') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  457. statement = "this animate [""cell2"", 0]";
  458. };
  459. class open_cell3
  460. {
  461. displayName = "Open Cell";
  462. position = "cell3_pos";
  463. radius = 2;
  464. onlyForplayer = "true";
  465. condition = "((this animationPhase 'cell3') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  466. statement = "this animate [""cell3"", 1]";
  467. };
  468. class close_cell3
  469. {
  470. displayName = "Close Cell";
  471. position = "cell3_pos";
  472. radius = 2;
  473. onlyForplayer = "true";
  474. condition = "((this animationPhase 'cell3') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  475. statement = "this animate [""cell3"", 0]";
  476. };
  477. class open_cell4
  478. {
  479. displayName = "Open Cell";
  480. position = "cell4_pos";
  481. radius = 2;
  482. onlyForplayer = "true";
  483. condition = "((this animationPhase 'cell4') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  484. statement = "this animate [""cell4"", 1]";
  485. };
  486. class close_cell4
  487. {
  488. displayName = "Close Cell";
  489. position = "cell4_pos";
  490. radius = 2;
  491. onlyForplayer = "true";
  492. condition = "((this animationPhase 'cell4') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  493. statement = "this animate [""cell4"", 0]";
  494. };
  495. };
  496. };
  497. };
  498. //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement