Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.28 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class sg_courthouse
  4. {
  5. units[] =
  6. {
  7. "sg_courthouse"
  8. };
  9. weapons[] = {};
  10. requiredVersion = 0.1;
  11. requiredAddons[]= {};
  12. };
  13. };
  14.  
  15. class CfgEditorCategories
  16. {
  17. class SG_Buidlings
  18. {
  19. displayname = "SG Buildings";
  20. };
  21. };
  22. class CfgEditorSubcategories
  23. {
  24. class Courthouse
  25. {
  26. displayName = "Courthouse";
  27. };
  28. };
  29.  
  30. class CfgVehicles
  31. {
  32. class House;
  33. class House_F: House{};
  34. class sg_courthouse: House_F
  35. {
  36. scope = 2;
  37. model = "sg_courthouse\sg_courthouse.p3d";
  38. picture = "\sg_courthouse\data\SonnengrabenIcon_co.paa";
  39. icon = "\sg_courthouse\data\SGIcon_ca.paa";
  40. displayName = "SG Courthouse";
  41. editorCategory = "SG_Buidlings";
  42. editorSubcategory = "Courthouse";
  43. class AnimationSources
  44. {
  45. class door_func
  46. {
  47. source = "user";
  48. animPeriod = 1;
  49. initPhase=0;
  50. };
  51. };
  52. class MarkerLights{};
  53. class UserActions
  54. {
  55. class OpenFDoor
  56. {
  57. displayName="Open door";
  58. position="ACTION_FDoor";
  59. onlyforplayer=0;
  60. radius=3;
  61. condition="this animationPhase ""animatefdoorl"" < 0.5";
  62. statement="this animate [""animatefdoorl"",1], this animate [""animatefdoorr"",1]";
  63. };
  64. class CloseFDoor
  65. {
  66. displayName="Close door";
  67. position="ACTION_FDoor";
  68. onlyforplayer=0;
  69. radius=3;
  70. condition="this animationPhase ""animatefdoorl"" == 1";
  71. statement="this animate [""animatefdoorl"",0], this animate [""animatefdoorr"",0]";
  72. };
  73. class OpenRoomDoor
  74. {
  75. displayName="Open door";
  76. position="ACTION_Room";
  77. onlyforplayer=0;
  78. radius=3;
  79. condition="this animationPhase ""animateroomdoorl"" < 0.5";
  80. statement="this animate [""animateroomdoorl"",1], this animate [""animateroomdoorr"",1]";
  81. };
  82. class CloseRoomDoor
  83. {
  84. displayName="Close door";
  85. position="ACTION_Room";
  86. onlyforplayer=0;
  87. radius=3;
  88. condition="this animationPhase ""animateroomdoorl"" == 1";
  89. statement="this animate [""animateroomdoorl"",0], this animate [""animateroomdoorr"",0]";
  90. };
  91. class OpenCourtDoor
  92. {
  93. displayName="Open door";
  94. position="ACTION_CourtDoor";
  95. onlyforplayer=0;
  96. radius=3;
  97. condition="this animationPhase ""animatecourtdoorl"" < 0.5";
  98. statement="this animate [""animatecourtdoorl"",1], this animate [""animatecourtdoorr"",1]";
  99. };
  100. class CloseCourtDoor
  101. {
  102. displayName="Close door";
  103. position="ACTION_CourtDoor";
  104. onlyforplayer=0;
  105. radius=3;
  106. condition="this animationPhase ""animatecourtdoorl"" == 1";
  107. statement="this animate [""animatecourtdoorl"",0], this animate [""animatecourtdoorr"",0]";
  108. };
  109. class OpenSenatorDoor
  110. {
  111. displayName="Open door";
  112. position="ACTION_SenatorDoor";
  113. onlyforplayer=0;
  114. radius=3;
  115. condition="this animationPhase ""animatesenatordoorl"" < 0.5";
  116. statement="this animate [""animatesenatordoorl"",1], this animate [""animatesenatordoorr"",1]";
  117. };
  118. class CloseSenatorDoor
  119. {
  120. displayName="Close door";
  121. position="ACTION_SenatorDoor";
  122. onlyforplayer=0;
  123. radius=3;
  124. condition="this animationPhase ""animatesenatordoorl"" == 1";
  125. statement="this animate [""animatesenatordoorl"",0], this animate [""animatesenatordoorr"",0]";
  126. };
  127. class OpenSenatorDoor2
  128. {
  129. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  130. priority = 0.4;
  131. displayName="Open door";
  132. position="ACTION_SenatorDoor2";
  133. onlyforplayer=0;
  134. radius=2;
  135. condition="this animationPhase ""animatesenatordoor2"" < 0.5";
  136. statement="this animate [""animatesenatordoor2"",1]";
  137. };
  138. class CloseSenatorDoor2
  139. {
  140. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  141. priority = 0.4;
  142. displayName="Close door";
  143. position="ACTION_SenatorDoor2";
  144. onlyforplayer=0;
  145. radius=2;
  146. condition="this animationPhase ""animatesenatordoor2"" == 1";
  147. statement="this animate [""animatesenatordoor2"",0]";
  148. };
  149. class OpenJudgeDoor
  150. {
  151. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  152. priority = 0.4;
  153. displayName="Open door";
  154. position="ACTION_JudgeDoor";
  155. onlyforplayer=0;
  156. radius=2;
  157. condition="this animationPhase ""animatejudgedoor"" < 0.5";
  158. statement="this animate [""animatejudgedoor"",1]";
  159. };
  160. class CloseJudgeDoor
  161. {
  162. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  163. priority = 0.4;
  164. displayName="Close door";
  165. position="ACTION_JudgeDoor";
  166. onlyforplayer=0;
  167. radius=2;
  168. condition="this animationPhase ""animatejudgedoor"" == 1";
  169. statement="this animate [""animatejudgedoor"",0]";
  170. };
  171. class OpenDefendantDoor
  172. {
  173. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  174. priority = 0.4;
  175. displayName="Open door";
  176. position="ACTION_DefendantDoor";
  177. onlyforplayer=0;
  178. radius=2;
  179. condition="this animationPhase ""animatedefendantdoor"" < 0.5";
  180. statement="this animate [""animatedefendantdoor"",1]";
  181. };
  182. class CloseDefendantDoor
  183. {
  184. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  185. priority = 0.4;
  186. displayName="Close door";
  187. position="ACTION_DefendantDoor";
  188. onlyforplayer=0;
  189. radius=2;
  190. condition="this animationPhase ""animatedefendantdoor"" == 1";
  191. statement="this animate [""animatedefendantdoor"",0]";
  192. };
  193. class OpenStaffDoor1
  194. {
  195. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  196. priority = 0.4;
  197. displayName="Open door";
  198. position="ACTION_StaffDoor1";
  199. onlyforplayer=0;
  200. radius=2;
  201. condition="this animationPhase ""animatestaffdoor1"" < 0.5";
  202. statement="this animate [""animatestaffdoor1"",1]";
  203. };
  204. class CloseStaffDoor1
  205. {
  206. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  207. priority = 0.4;
  208. displayName="Close door";
  209. position="ACTION_StaffDoor1";
  210. onlyforplayer=0;
  211. radius=2;
  212. condition="this animationPhase ""animatestaffdoor1"" == 1";
  213. statement="this animate [""animatestaffdoor1"",0]";
  214. };
  215. class OpenStaffDoor2
  216. {
  217. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  218. priority = 0.4;
  219. displayName="Open door";
  220. position="ACTION_StaffDoor2";
  221. onlyforplayer=0;
  222. radius=2;
  223. condition="this animationPhase ""animatestaffdoor2"" < 0.5";
  224. statement="this animate [""animatestaffdoor2"",1]";
  225. };
  226. class CloseStaffDoor2
  227. {
  228. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  229. priority = 0.4;
  230. displayName="Close door";
  231. position="ACTION_StaffDoor2";
  232. onlyforplayer=0;
  233. radius=2;
  234. condition="this animationPhase ""animatestaffdoor2"" == 1";
  235. statement="this animate [""animatestaffdoor2"",0]";
  236. };
  237. class OpenJailDoor
  238. {
  239. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  240. priority = 0.4;
  241. displayName="Open cell";
  242. position="ACTION_JailDoor";
  243. onlyforplayer=0;
  244. radius=2;
  245. condition="this animationPhase ""animatejaildoor"" < 0.5";
  246. statement="this animate [""animatejaildoor"",1]";
  247. };
  248. class CloseJailDoor
  249. {
  250. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  251. priority = 0.4;
  252. displayName="Close cell";
  253. position="ACTION_JailDoor";
  254. onlyforplayer=0;
  255. radius=2;
  256. condition="this animationPhase ""animatejaildoor"" == 1";
  257. statement="this animate [""animatejaildoor"",0]";
  258. };
  259. class OpenJailDoor2
  260. {
  261. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  262. priority = 0.4;
  263. displayName="Open door";
  264. position="ACTION_JailDoor2";
  265. onlyforplayer=0;
  266. radius=2;
  267. condition="this animationPhase ""animatejaildoor2"" < 0.5";
  268. statement="this animate [""animatejaildoor2"",1]";
  269. };
  270. class CloseJailDoor2
  271. {
  272. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  273. priority = 0.4;
  274. displayName="Close door";
  275. position="ACTION_JailDoor2";
  276. onlyforplayer=0;
  277. radius=2;
  278. condition="this animationPhase ""animatejaildoor2"" == 1";
  279. statement="this animate [""animatejaildoor2"",0]";
  280. };
  281. class CloseGarage
  282. {
  283. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  284. priority = 0.4;
  285. displayName="Close garage";
  286. position="ACTION_Garage";
  287. onlyforplayer=0;
  288. radius=2;
  289. condition="this animationPhase ""animategarge"" == 1";
  290. statement="this animate [""animategarage"",0]";
  291. };
  292. class OpenGarage
  293. {
  294. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
  295. priority = 0.4;
  296. displayName="Open Garage";
  297. position="ACTION_Garage";
  298. onlyforplayer=0;
  299. radius=2;
  300. condition="this animationPhase ""animategarge"" < 0.5";
  301. statement="this animate [""animategarge"",1]";
  302. };
  303. };
  304. };
  305. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement