Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.08 KB | None | 0 0
  1. class cfgPatches{
  2. class AF_audi_q3{
  3. units[] = {};
  4. weapons[] = {};
  5. requiredVersion = 0.1;
  6. requiredAddons[] = {"A3_Data_F"};
  7. };
  8. };
  9.  
  10. class cfgVehicles{
  11. class AF_Vehicle_Base;
  12. class AF_Vehicle_Cop_base;
  13.  
  14. class AF_audi_q3_police: AF_Vehicle_Cop_base{
  15. scope=2;
  16. model="AF_wheeled\vehicles\audi_q3\audi_q3_P";
  17. displayName = "2013 Audi Q3 (Polizei)";
  18. class UserActions {
  19. class codetwo {
  20. displayName = "Blaulicht An";
  21. position = "drivewheel";
  22. radius = 1000;
  23. condition = "driver this == player && (this getVariable 'am_lightbar') == 0";
  24. statement = "this setVariable ['am_lightbar',1,true];this animate [""lamp1"",1,true];this animate [""lamp2"",1,true]";
  25. onlyForplayer = 0;
  26. };
  27. class codeone {
  28. displayName = "Blaulicht Aus";
  29. position = "drivewheel";
  30. radius = 1000;
  31. condition = "driver this == player && (this getVariable 'am_lightbar') == 1";
  32. statement = "this setVariable ['am_lightbar',0,true];this animate [""lamp1"",0,true];this animate [""lamp2"",0,true]";
  33. onlyForplayer = 0;
  34. };
  35. class sirenon {
  36. displayName = "Sirene An";
  37. position = "drivewheel";
  38. radius = 1000;
  39. condition = "driver this == player && (this getVariable 'am_siren') == 0";
  40. statement = "this setVariable ['AM_siren',1,true]";
  41. onlyForplayer = 0;
  42. };
  43. class sirenoff {
  44. displayName = "Sirene Aus";
  45. position = "drivewheel";
  46. radius = 1000;
  47. condition = "driver this == player && (this getVariable 'am_siren') == 1";
  48. statement = "this setVariable ['AM_siren',0,true]";
  49. onlyForplayer = 0;
  50. };
  51. class folgen_on {
  52. displayName = "Bitte Folgen An";
  53. position = "drivewheel";
  54. radius = 1000;
  55. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 0";
  56. statement = "this setVariable ['am_bitte_folgen',1,true]";
  57. onlyForplayer = 0;
  58. };
  59. class folgen_off {
  60. displayName = "Bitte Folgen Aus";
  61. position = "drivewheel";
  62. radius = 1000;
  63. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 1";
  64. statement = "this setVariable ['am_bitte_folgen',0,true]";
  65. onlyForplayer = 0;
  66. };
  67. };
  68.  
  69. hiddenSelections[] = {
  70. "Camo1",
  71. "Camo2",
  72. "Camo3",
  73. "Lightbar_3",
  74. "Lightbar_4",
  75. "LED_1",
  76. "LED_2",
  77. "light_r",
  78. "light_l",
  79. "body",
  80. "karoserie",
  81. "palivo",
  82. "dir_1", // 13
  83. "dir_2",
  84. "dir_3",
  85. "dir_4",
  86. "dir_5",
  87. "dir_6",
  88. "dir_7",
  89. "dir_8",
  90. "dir_9",
  91. "dir_10",
  92. "dir_11",
  93. "dir_12",
  94. "dir_13",
  95. "dir_14",
  96. "dir_15",
  97. "dir_16",
  98. "dir_17",
  99. "dir_18",
  100. "dir_19",
  101. "dir_20",
  102. "dir_21",
  103. "dir_22", // 34
  104. "dir",
  105. "Bitte", //35
  106. "Folgen" //36
  107. };
  108. hiddenSelectionsTextures[] = {"AF_wheeled\vehicles\audi_q3\textures\polizei.paa", "", "", "", "", "", ""};
  109. class EventHandlers
  110. {
  111. init = "[_this select 0] execVM '\AF_wheeled\Lightbar\am_lightbar.sqf'; [_this select 0] execVM '\AF_wheeled\Lightbar\am_sirens.sqf'; [_this select 0] execVM '\AF_Wheeled\Lightbar\af_directionals.sqf'; [_this select 0] execVM '\AF_Wheeled\Lightbar\am_bitte_folgen.sqf';";
  112. };
  113. #include "physx.hpp"
  114. #include "sounds.hpp"
  115. };
  116.  
  117. class AF_audi_q3_ems: AF_Vehicle_Cop_base{
  118. scope=2;
  119. model="AF_wheeled\vehicles\audi_q3\audi_q3_P";
  120. displayName = "2013 Audi Q3 (BFRP)";
  121. class UserActions {
  122. class codetwo {
  123. displayName = "Blaulicht An";
  124. position = "drivewheel";
  125. radius = 1000;
  126. condition = "driver this == player && (this getVariable 'am_lightbar') == 0";
  127. statement = "this setVariable ['am_lightbar',1,true];this animate [""lamp1"",1,true];this animate [""lamp2"",1,true]";
  128. onlyForplayer = 0;
  129. };
  130. class codeone {
  131. displayName = "Blaulicht Aus";
  132. position = "drivewheel";
  133. radius = 1000;
  134. condition = "driver this == player && (this getVariable 'am_lightbar') == 1";
  135. statement = "this setVariable ['am_lightbar',0,true];this animate [""lamp1"",0,true];this animate [""lamp2"",0,true]";
  136. onlyForplayer = 0;
  137. };
  138. class sirenon {
  139. displayName = "Sirene An";
  140. position = "drivewheel";
  141. radius = 1000;
  142. condition = "driver this == player && (this getVariable 'am_siren') == 0";
  143. statement = "this setVariable ['AM_siren',1,true]";
  144. onlyForplayer = 0;
  145. };
  146. class sirenoff {
  147. displayName = "Sirene Aus";
  148. position = "drivewheel";
  149. radius = 1000;
  150. condition = "driver this == player && (this getVariable 'am_siren') == 1";
  151. statement = "this setVariable ['AM_siren',0,true]";
  152. onlyForplayer = 0;
  153. };
  154. class folgen_on {
  155. displayName = "Bitte Folgen An";
  156. position = "drivewheel";
  157. radius = 1000;
  158. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 0";
  159. statement = "this setVariable ['am_bitte_folgen',1,true]";
  160. onlyForplayer = 0;
  161. };
  162. class folgen_off {
  163. displayName = "Bitte Folgen Aus";
  164. position = "drivewheel";
  165. radius = 1000;
  166. condition = "driver this == player && (this getVariable 'am_bitte_folgen') == 1";
  167. statement = "this setVariable ['am_bitte_folgen',0,true]";
  168. onlyForplayer = 0;
  169. };
  170. };
  171.  
  172. hiddenSelections[] = {
  173. "Camo1",
  174. "Camo2",
  175. "Camo3",
  176. "Lightbar_3",
  177. "Lightbar_4",
  178. "LED_1",
  179. "LED_2",
  180. "light_r",
  181. "light_l",
  182. "body",
  183. "karoserie",
  184. "palivo",
  185. "dir_1", // 13
  186. "dir_2",
  187. "dir_3",
  188. "dir_4",
  189. "dir_5",
  190. "dir_6",
  191. "dir_7",
  192. "dir_8",
  193. "dir_9",
  194. "dir_10",
  195. "dir_11",
  196. "dir_12",
  197. "dir_13",
  198. "dir_14",
  199. "dir_15",
  200. "dir_16",
  201. "dir_17",
  202. "dir_18",
  203. "dir_19",
  204. "dir_20",
  205. "dir_21",
  206. "dir_22", // 34
  207. "dir",
  208. "Bitte", //35
  209. "Folgen" //36
  210. };
  211. hiddenSelectionsTextures[] = {"AF_wheeled\vehicles\audi_q3\textures\NEF.paa", "", "", "", "", "", ""};
  212. class EventHandlers
  213. {
  214. init = "[_this select 0] execVM '\AF_wheeled\Lightbar\am_lightbar.sqf'; [_this select 0] execVM '\AF_wheeled\Lightbar\am_sirens.sqf'; [_this select 0] execVM '\AF_Wheeled\Lightbar\af_directionals.sqf'; [_this select 0] execVM '\AF_Wheeled\Lightbar\am_bitte_folgen.sqf';";
  215. };
  216. #include "physx.hpp"
  217. #include "sounds.hpp"
  218. };
  219.  
  220. class AF_audi_q3_UC: AF_Vehicle_Base{
  221. scope=2;
  222. model="AF_wheeled\vehicles\audi_q3\audi_q3_U";
  223. displayName = "2013 Audi Q3 (Zivil)(Schwarz)";
  224. class UserActions {
  225. class codetwo {
  226. displayName = "Blaulicht An";
  227. position = "drivewheel";
  228. radius = 1000;
  229. condition = "driver this == player && (this getVariable 'am_lightbar') == 0";
  230. statement = "this setVariable ['am_lightbar',1,true]";
  231. onlyForplayer = 0;
  232. };
  233. class codeone {
  234. displayName = "Blaulicht Aus";
  235. position = "drivewheel";
  236. radius = 1000;
  237. condition = "driver this == player && (this getVariable 'am_lightbar') == 1";
  238. statement = "this setVariable ['am_lightbar',0,true]";
  239. onlyForplayer = 0;
  240. };
  241. class sirenon {
  242. displayName = "Sirene An";
  243. position = "drivewheel";
  244. radius = 1000;
  245. condition = "driver this == player && (this getVariable 'am_siren') == 0";
  246. statement = "this setVariable ['AM_siren',1,true]";
  247. onlyForplayer = 0;
  248. };
  249. class sirenoff {
  250. displayName = "Sirene Aus";
  251. position = "drivewheel";
  252. radius = 1000;
  253. condition = "driver this == player && (this getVariable 'am_siren') == 1";
  254. statement = "this setVariable ['AM_siren',0,true]";
  255. onlyForplayer = 0;
  256. };
  257. };
  258.  
  259. hiddenSelections[] = {
  260. "Camo1",
  261. "Camo2",
  262. "Camo3",
  263. "Lightbar_3",
  264. "Lightbar_4",
  265. "LED_1",
  266. "LED_2",
  267. "light_r",
  268. "light_l",
  269. "body",
  270. "karoserie",
  271. "palivo"
  272. };
  273. //hiddenSelectionsTextures[] = {"\AF_Wheeled\vehicles\mercedes_c63\Textures\blue.paa", "", "", "", "", "", "", "", "", "", "","",""};
  274. hiddenSelectionsTextures[] = {"\AF_wheeled\colors\black.paa", "", "", "", "", "", ""};
  275. class EventHandlers
  276. {
  277. init = "[_this select 0] execVM '\AF_wheeled\Lightbar\am_lightbar.sqf'; [_this select 0] execVM '\AF_wheeled\Lightbar\am_sirens.sqf';";
  278. };
  279. #include "physx.hpp"
  280. #include "sounds.hpp"
  281. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement