Advertisement
Guest User

Untitled

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