Advertisement
audiocustoms

NH90

May 25th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.08 KB | None | 0 0
  1.  
  2.  
  3. #define _ARMA_
  4.  
  5.  
  6. class CfgPatches
  7. {
  8. class BW_NH90
  9. {
  10. units[] = {"BW_NH90","BW_NH90Armed"};
  11. weapons[] = {};
  12. requiredVersion = 0.1;
  13. requiredAddons[] = {"A3_Air_F","A3_Weapons_F","HAFM_NH90_Config"};
  14. };
  15. };
  16.  
  17. class Extended_Init_EventHandlers
  18. {
  19. class BW_NH90
  20. {
  21. BW_NH90_clientInit = "_this execVM ""\TF47_NH90\scripts\betty.sqf""; _this execVM ""\TF47_NH90\scripts\alert.sqf""";
  22. };
  23. class BW_NH90Armed
  24. {
  25. BW_NH90Armed_clientInit = "_this execVM ""\TF47_NH90\scripts\betty.sqf""; _this execVM ""\TF47_NH90\scripts\alert.sqf""";
  26. };
  27. };
  28.  
  29. class CfgVehicleClasses
  30. {
  31. class TF47_Helis
  32. {
  33. displayName = "Helicopters";
  34. };
  35. };
  36. class CfgFactionClasses
  37. {
  38. class Bundeswehr
  39. {
  40. displayName = "Bundeswehr";
  41. priority = 8;
  42. side = 1;
  43. icon = "\TF47_NH90\UI\cfgFactionClasses_ger_ca.paa";
  44. };
  45. };
  46. class CfgVehicles
  47. {
  48. class NH90;
  49. class BW_NH90: NH90
  50. {
  51. author = "audiocustoms";
  52. _generalMacro = "BW_NH90";
  53. scope = 2;
  54. side = 1;
  55. faction = "Bundeswehr";
  56. displayName = "NH90 BW Transport";
  57. vehicleClass = "Air";
  58. crew = "B_Helipilot_F";
  59. typicalCargo[] =
  60. {
  61. "B_Helipilot_F",
  62. "B_Helipilot_F"
  63. };
  64. availableForSupportTypes[] =
  65. {
  66. "Drop","Transport"
  67. };
  68. hiddenSelectionsTextures[] =
  69. {
  70. "TF47_NH90\data\BWouterHaul_co.paa",
  71. "TF47_NH90\data\BWupperTail_co.paa",
  72. "TF47_NH90\data\BWmisc_co.paa",
  73. "TF47_NH90\data\BWdoors_co.paa"
  74. };
  75. hiddenSelectionsMaterials[] =
  76. {
  77. "\TF47_NH90\data\BWouterHaul.rvmat",
  78. "\TF47_NH90\data\BWupperTail.rvmat",
  79. "\TF47_NH90\data\BWmisc.rvmat",
  80. "\TF47_NH90\data\BWdoors.rvmat"
  81. };
  82. class Sounds
  83. {
  84.  
  85. class RotorExt
  86. {
  87. sound[] = {"TF47_NH90\sounds\Heli_NH90_01_ext_rotor",db6,1.0,3500};
  88. frequency = "rotorSpeed * (1-rotorThrust/5) * 1.2";
  89. volume = "camPos*((rotorSpeed-0.72)*6)";
  90. cone[] = {1.6,3.14,1.6,0.95};
  91. };
  92.  
  93. class EngineInt
  94. {
  95. sound[] = {"TF47_NH90\sounds\Heli_NH90_01_int_engine",db3,1.0};
  96. frequency = "rotorSpeed*(1+rotorThrust/6)*0.8";
  97. volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
  98. };
  99.  
  100. };
  101. };
  102. class NH90Armed_AAF;
  103. class BW_NH90Armed: NH90Armed_AAF
  104. {
  105. author = "audiocustoms";
  106. _generalMacro = "BW_NH90Armed";
  107. scope = 2;
  108. side = 1;
  109. faction = "Bundeswehr";
  110. displayName = "NH90 BW Armed";
  111. vehicleClass = "Air";
  112. crew = "B_Helipilot_F";
  113. typicalCargo[] =
  114. {
  115. "B_Helipilot_F",
  116. "B_Helipilot_F"
  117. };
  118. availableForSupportTypes[] =
  119. {
  120. "Drop","Transport"
  121. };
  122. hiddenSelectionsTextures[] =
  123. {
  124. "TF47_NH90\data\BWouterHaul_co.paa",
  125. "TF47_NH90\data\BWupperTail_co.paa",
  126. "TF47_NH90\data\BWmisc_co.paa",
  127. "TF47_NH90\data\BWdoors_co.paa"
  128. };
  129. hiddenSelectionsMaterials[] =
  130. {
  131. "\TF47_NH90\data\BWouterHaul.rvmat",
  132. "\TF47_NH90\data\BWupperTail.rvmat",
  133. "\TF47_NH90\data\BWmisc.rvmat",
  134. "\TF47_NH90\data\BWdoors.rvmat"
  135. };
  136. class Sounds
  137. {
  138.  
  139. class RotorExt
  140. {
  141. sound[] = {"TF47_NH90\sounds\Heli_NH90_01_ext_rotor",db6,1.0,3500};
  142. frequency = "rotorSpeed * (1-rotorThrust/5) * 1.2";
  143. volume = "camPos*((rotorSpeed-0.72)*6)";
  144. cone[] = {1.6,3.14,1.6,0.95};
  145. };
  146.  
  147. class EngineInt
  148. {
  149. sound[] = {"TF47_NH90\sounds\Heli_NH90_01_int_engine",db3,1.0};
  150. frequency = "rotorSpeed*(1+rotorThrust/6)*0.8";
  151. volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
  152. };
  153.  
  154. };
  155. };
  156. };
  157. class CfgSounds
  158. {
  159.  
  160. ////////// Bitching Betty Sounds //////////
  161.  
  162. // Info Sounds
  163. class cargo_attached {
  164. name = "cargo_attached";
  165. sound[] = {"\TF47_NH90\sounds\info_cargo_attached.wss", 1, 1.0};
  166. titles[] = {};
  167. };
  168. class cargo_detached {
  169. name = "cargo_detached";
  170. sound[] = {"\TF47_NH90\sounds\info_cargo_detached.wss", 1, 1.0};
  171. titles[] = {};
  172. };
  173. class engine_on {
  174. name = "engine_on";
  175. sound[] = {"\TF47_NH90\sounds\info_engine_on.wss", 1, 1.0};
  176. titles[] = {};
  177. };
  178.  
  179.  
  180. // Caution Sounds
  181. class fuel_low {
  182. name = "fuel_low";
  183. sound[] = {"\TF47_NH90\sounds\caution_fuel_low.wss", 1, 1.0};
  184. titles[] = {};
  185. };
  186. class warning_gear_up {
  187. name = "warning_gear_up";
  188. sound[] = {"\TF47_NH90\sounds\caution_gear.wss", 1, 1.0};
  189. titles[] = {};
  190. };
  191. class warning_ramp_open {
  192. name = "warning_ramp_open";
  193. sound[] = {"\TF47_NH90\sounds\caution_ramp.wss", 1, 1.0};
  194. titles[] = {};
  195. };
  196. class maxspeed {
  197. name = "maxspeed";
  198. sound[] = {"\TF47_NH90\sounds\caution_maxspeed.wss", 1, 1.0};
  199. titles[] = {};
  200. };
  201. class landing_gear {
  202. name = "landing_gear";
  203. sound[] = {"\TF47_NH90\sounds\caution_landing_gear.wss", 1, 1.0};
  204. titles[] = {};
  205. };
  206.  
  207.  
  208. // Warning Sounds
  209. class altitude {
  210. name = "altitude";
  211. sound[] = {"\TF47_NH90\sounds\warning_altitude.wss", 1, 1.0};
  212. titles[] = {};
  213. };
  214. class fuel_empty {
  215. name = "fuel_empty";
  216. sound[] = {"\TF47_NH90\sounds\warning_fuel_empty.wss", 1, 1.0};
  217. titles[] = {};
  218. };
  219. class cargo_overweight {
  220. name = "cargo_overweight";
  221. sound[] = {"\TF47_NH90\sounds\warning_cargo_overweight.wss", 1, 1.0};
  222. titles[] = {};
  223. };
  224. class sinkrate {
  225. name = "sinkrate";
  226. sound[] = {"\TF47_NH90\sounds\warning_sinkrate.wss", 1, 1.0};
  227. titles[] = {};
  228. };
  229. class hull_damage {
  230. name = "hull_damage";
  231. sound[] = {"\TF47_NH90\sounds\warning_hull_damage.wss", 1, 1.0};
  232. titles[] = {};
  233. };
  234. class hull_critical {
  235. name = "hull_critical";
  236. sound[] = {"\TF47_NH90\sounds\warning_hull_critical.wss", 1, 1.0};
  237. titles[] = {};
  238. };
  239. class engine_damage {
  240. name = "engine_damage";
  241. sound[] = {"\TF47_NH90\sounds\warning_engine_damage.wss", 1, 1.0};
  242. titles[] = {};
  243. };
  244. class engine_critical {
  245. name = "engine_critical";
  246. sound[] = {"\TF47_NH90\sounds\warning_engine_critical.wss", 1, 1.0};
  247. titles[] = {};
  248. };
  249. class instruments_damage {
  250. name = "instruments_damage";
  251. sound[] = {"\TF47_NH90\sounds\warning_instruments_damage.wss", 1, 1.0};
  252. titles[] = {};
  253. };
  254. class instruments_critical {
  255. name = "instruments_critical";
  256. sound[] = {"\TF47_NH90\sounds\warning_instruments_critical.wss", 1, 1.0};
  257. titles[] = {};
  258. };
  259. class mainrotor_damage {
  260. name = "mainrotor_damage";
  261. sound[] = {"\TF47_NH90\sounds\warning_mainrotor_damage.wss", 1, 1.0};
  262. titles[] = {};
  263. };
  264. class mainrotor_critical {
  265. name = "mainrotor_critical";
  266. sound[] = {"\TF47_NH90\sounds\warning_mainrotor_critical.wss", 1, 1.0};
  267. titles[] = {};
  268. };
  269. class tailrotor_damage {
  270. name = "tailrotor_damage";
  271. sound[] = {"\TF47_NH90\sounds\warning_tailrotor_damage.wss", 1, 1.0};
  272. titles[] = {};
  273. };
  274. class tailrotor_critical {
  275. name = "tailrotor_damage";
  276. sound[] = {"\TF47_NH90\sounds\warning_tailrotor_critical.wss", 1, 1.0};
  277. titles[] = {};
  278. };
  279. class fuel_pressure_damage {
  280. name = "fuel_pressure_damage";
  281. sound[] = {"\TF47_NH90\sounds\warning_fuelpressure_damage.wss", 1, 1.0};
  282. titles[] = {};
  283. };
  284. class fuel_pressure_critical {
  285. name = "fuel_pressure_critical";
  286. sound[] = {"\TF47_NH90\sounds\warning_fuelpressure_critical.wss", 1, 1.0};
  287. titles[] = {};
  288. };
  289.  
  290.  
  291. // Critical / Failure Sounds
  292. class pullUp {
  293. name = "pullup";
  294. sound[] = {"\TF47_NH90\sounds\critical_pullup.wss", 1, 1.0};
  295. titles[] = {};
  296. };
  297. class engine_failure {
  298. name = "engine_failure";
  299. sound[] = {"\TF47_NH90\sounds\critical_engine_failure.wss", 1, 1.0};
  300. titles[] = {};
  301. };
  302. class instruments_failure {
  303. name = "instruments_failure";
  304. sound[] = {"\TF47_NH90\sounds\critical_instruments_failure.wss", 1, 1.0};
  305. titles[] = {};
  306. };
  307. class mainrotor_failure {
  308. name = "mainrotor_failure";
  309. sound[] = {"\TF47_NH90\sounds\critical_mainrotor_failure.wss", 1, 1.0};
  310. titles[] = {};
  311. };
  312. class tailrotor_failure {
  313. name = "tailrotor_failure";
  314. sound[] = {"\TF47_NH90\sounds\critical_tailrotor_failure.wss", 1, 1.0};
  315. titles[] = {};
  316. };
  317. class fuel_pressure_failure {
  318. name = "fuel_pressure_failure";
  319. sound[] = {"\TF47_NH90\sounds\critical_fuelpressure_failure.wss", 1, 1.0};
  320. titles[] = {};
  321. };
  322.  
  323. // Missile Warning Sounds
  324. class Missile3OClockH {
  325. name = "Missile3OClockH";
  326. sound[] = {"\TF47_NH90\sounds\critical_missile03.wss", 2, 1.0};
  327. titles[] = {};
  328. };
  329. class Missile6OClockH {
  330. name = "Missile6OClockH";
  331. sound[] = {"\TF47_NH90\sounds\critical_missile06.wss", 2, 1.0};
  332. titles[] = {};
  333. };
  334. class Missile9OClockH {
  335. name = "Missile9OClockH";
  336. sound[] = {"\TF47_NH90\sounds\critical_missile09.wss", 2, 1.0};
  337. titles[] = {};
  338. };
  339. class Missile12OClockH {
  340. name = "Missile12OClockH";
  341. sound[] = {"\TF47_NH90\sounds\critical_missile12.wss", 2, 1.0};
  342. titles[] = {};
  343. };
  344. class Missile3OClockL {
  345. name = "Missile3OClockL";
  346. sound[] = {"\TF47_NH90\sounds\critical_missile03.wss", 2, 1.0};
  347. titles[] = {};
  348. };
  349. class Missile6OClockL {
  350. name = "Missile6OClockL";
  351. sound[] = {"\TF47_NH90\sounds\critical_missile06.wss", 2, 1.0};
  352. titles[] = {};
  353. };
  354. class Missile9OClockL {
  355. name = "Missile9OClockL";
  356. sound[] = {"\TF47_NH90\sounds\critical_missile09.wss", 2, 1.0};
  357. titles[] = {};
  358. };
  359. class Missile12OClockL {
  360. name = "Missile12OClockL";
  361. sound[] = {"\TF47_NH90\sounds\critical_missile12.wss", 2, 1.0};
  362. titles[] = {};
  363. };
  364. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement