Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.39 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class CAAir2_MV22
  4. {
  5. units[]=
  6. {
  7. "MV22"
  8. };
  9. weapons[]={};
  10. requiredVersion=0.1;
  11. };
  12. };
  13. class CfgVehicles
  14. {
  15. class Plane;
  16. class MV22: Plane
  17. {
  18. destrType="DestructWreck";
  19. scope=2;
  20. displayName="MV-22B";
  21. vehicleClass="Air";
  22. model="\MV22B\MV22B.p3d";
  23. picture = "\MV22B\picture_MV22_CA.paa";
  24. icon = "\MV22B\icon_MV22_CA.paa";
  25. mapSize=28;
  26. side=1;
  27. faction="BLU_F";
  28. canFloat=0;
  29. waterAngularDampingCoef=10;
  30. waterPPInVehicle=0;
  31. waterResistanceCoef=0.5;
  32. crew="B_Helipilot_F";
  33. maxFordingDepth=0.55000001;
  34. mainRotorSpeed=1;
  35. backRotorSpeed=1;
  36. mainBladeRadius=7.5;
  37. bodyFrictionCoef=0.89999998;
  38. fuelCapacity=6513;
  39. fuelConsumptionRate=0.110;
  40. extCameraPosition[]={0,3,-23};
  41. gearRetracting=1;
  42. gearUpTime=4;
  43. gearDownTime=4;
  44. accuracy=0.5;
  45. LockDetectionSystem=9;
  46. incomingMissileDetectionSystem=18;
  47. attenuationEffectType="HeliAttenuation";
  48. soundGetIn[]=
  49. {
  50. "A3\Sounds_F\air\Plane_Fighter_03\getin",
  51. 0.56234097,
  52. 1
  53. };
  54. soundGetOut[]=
  55. {
  56. "A3\Sounds_F\air\Plane_Fighter_03\getout",
  57. 0.56234097,
  58. 1,
  59. 40
  60. };
  61. soundDammage[]=
  62. {
  63. "",
  64. 0.56234097,
  65. 1
  66. };
  67. soundEngineOnInt[]=
  68. {
  69. "MV22B\sound\ext_start",
  70. 1,
  71. 1
  72. };
  73. soundEngineOnExt[]=
  74. {
  75. "MV22B\sound\ext_start",
  76. 1.77828,
  77. 1,
  78. 500
  79. };
  80. soundEngineOffInt[]=
  81. {
  82. "MV22B\sound\ext_stop",
  83. 1,
  84. 1
  85. };
  86. soundEngineOffExt[]=
  87. {
  88. "MV22B\sound\ext_stop",
  89. 1.77828,
  90. 1,
  91. 500
  92. };
  93. class Sounds
  94. {
  95. class EngineLowOut
  96. {
  97. sound[]=
  98. {
  99. "MV22B\sound\int_engine_low",
  100. 2.5118899,
  101. 1,
  102. 1200
  103. };
  104. frequency="1.0 min (rpm + 0.5)";
  105. volume="camPos*2*(rpm factor[0.95, 0])*(rpm factor[0, 0.95])";
  106. };
  107. class EngineHighOut
  108. {
  109. sound[]=
  110. {
  111. "MV22B\sound\ext_engine_hi",
  112. 2.5118899,
  113. 1.2,
  114. 1400
  115. };
  116. frequency="1";
  117. volume="camPos*4*(rpm factor[0.5, 1.1])*(rpm factor[1.1, 0.5])";
  118. };
  119. class ForsageOut
  120. {
  121. sound[]=
  122. {
  123. "MV22B\sound\ext_forsage",
  124. 1.7782794,
  125. 0.99000001,
  126. 1700
  127. };
  128. frequency="1";
  129. volume="engineOn*camPos*(thrust factor[0.6, 1.0])";
  130. cone[]={3.1400001,3.9200001,2,0.5};
  131. };
  132. class WindNoiseOut
  133. {
  134. sound[]=
  135. {
  136. "MV22B\sound\ext-wind1",
  137. 0.56234097,
  138. 1,
  139. 150
  140. };
  141. frequency="(0.1+(1.2*(speed factor[1, 150])))";
  142. volume="camPos*(speed factor[1, 150])";
  143. };
  144. class EngineLowIn
  145. {
  146. sound[]=
  147. {
  148. "MV22B\sound\int_engine_low",
  149. 1,
  150. 1
  151. };
  152. frequency="1.0 min (rpm + 0.5)";
  153. volume="(1-camPos)*((rpm factor[0.7, 0.1])*(rpm factor[0.1, 0.7]))";
  154. };
  155. class EngineHighIn
  156. {
  157. sound[]=
  158. {
  159. "MV22B\sound\int_engine_hi",
  160. 1,
  161. 1.2
  162. };
  163. frequency="1";
  164. volume="(1-camPos)*(rpm factor[0.85, 1.0])";
  165. };
  166. class ForsageIn
  167. {
  168. sound[]=
  169. {
  170. "MV22B\sound\int_forsage",
  171. 1,
  172. 1
  173. };
  174. frequency="1";
  175. volume="(1-camPos)*(engineOn*(thrust factor[0.6, 1.0]))";
  176. };
  177. class WindNoiseIn
  178. {
  179. sound[]=
  180. {
  181. "MV22B\sound\int-wind1",
  182. 0.50118721,
  183. 1
  184. };
  185. frequency="(0.1+(1.2*(speed factor[1, 150])))";
  186. volume="(1-camPos)*(speed factor[1, 150])";
  187. };
  188. };
  189. ejectSpeed[]={0,-2,0};
  190. cabinOpening=0;
  191. soundLocked[]=
  192. {
  193. "MV22B\sound\ALERTA_ALERTB.wav",
  194. 0.1,
  195. 1,
  196. };
  197. soundIncommingMissile[]=
  198. {
  199. "MV22B\sound\ALERT_A.wav",
  200. 0.1,
  201. 1.5,
  202. };
  203. flapsFrictionCoef=0.31999999;
  204. landingSpeed=130;
  205. acceleration=328;
  206. rudderSensitivity=12;
  207. envelope[]={0,0.15000001,1.1,3,5,5.8299999,6,5.8499999,5.5,4.8000002,3.5999999,1.8,0};
  208. driverAction="pilot_Heli_Transport_01";
  209. cargoIsCoDriver[]={0,0};
  210. cargoAction[]=
  211. {
  212. "pilot_Heli_Transport_01",
  213. "ChopperLight_C_R_static_H",
  214. "ChopperLight_CB_static_H",
  215. "ChopperLight_CB_static_H",
  216. "ChopperLight_CB_static_H",
  217. "ChopperLight_CB_static_H"
  218. };
  219. driverCompartments="Compartment1";
  220. cargoCompartments[]=
  221. {
  222. "Compartment2"
  223. };
  224. maxSpeed=509;
  225. transportSoldier=24;
  226. vtol=4;
  227. supplyradius=2;
  228. armor=25;
  229. damageResistance=0.12;
  230. weapons[]=
  231. {
  232. "CMFlareLauncher"
  233. };
  234. magazines[]=
  235. {
  236. "120Rnd_CMFlare_Chaff_Magazine"
  237. };
  238. selectionRotorStill="engine_static";
  239. selectionRotorMove="engine_blur";
  240. class UserActions
  241. {
  242. class Pack
  243. {
  244. displayName="Pack";
  245. position="zamerny";
  246. radius=9;
  247. condition="this animationphase ""pack_engine_1"" !=1";
  248. statement="[this,1] execvm ""\MV22B\scripts\pack.sqf""";
  249. onlyforplayer=1;
  250. };
  251. class unPack
  252. {
  253. displayName="unPack";
  254. position="zamerny";
  255. radius=9;
  256. condition="this animationphase ""pack_engine_1"" !=0";
  257. statement="[this,0] execvm ""\MV22B\scripts\pack2.sqf""";
  258. onlyforplayer=1;
  259. };
  260. class Door1
  261. {
  262. displayName="Door Open";
  263. position="zamerny";
  264. radius=9;
  265. condition="this animationphase ""door1_top"" !=1";
  266. statement="[this,0] execvm ""\MV22B\scripts\Door.sqf""";
  267. onlyforplayer=1;
  268. };
  269. class Door2
  270. {
  271. displayName="Door close";
  272. position="zamerny";
  273. radius=9;
  274. condition="this animationphase ""door1_top"" !=0";
  275. statement="[this,0] execvm ""\MV22B\scripts\Door.sqf""";
  276. onlyforplayer=1;
  277. };
  278. class rampup
  279. {
  280. displayName="Ramp Open";
  281. position="zamerny";
  282. radius=9;
  283. condition="this animationphase ""ramp_top"" !=1";
  284. statement="[this,1] execvm ""\MV22B\scripts\ramp.sqf""";
  285. onlyforplayer=1;
  286. };
  287. class rampdown
  288. {
  289. displayName="Ramp Close";
  290. position="zamerny";
  291. radius=9;
  292. condition="this animationphase ""ramp_bottom"" !=0";
  293. statement="[this,0] execvm ""\MV22B\scripts\ramp.sqf""";
  294. onlyforplayer=1;
  295. };
  296. };
  297. dammageHalf[]={};
  298. dammageFull[]={};
  299. class AnimationSources
  300. {
  301. class Door_1_1
  302. {
  303. source="user";
  304. animPeriod=0;
  305. };
  306. class Ramp
  307. {
  308. source="user";
  309. animPeriod=0;
  310. };
  311. class pack_engine_1
  312. {
  313. source="user";
  314. animPeriod=0;
  315. };
  316. class engine_prop_1_1_turn: pack_engine_1
  317. {
  318. };
  319. class engine_prop_1_2_turn: pack_engine_1
  320. {
  321. };
  322. class engine_prop_1_3_turn: pack_engine_1
  323. {
  324. };
  325. class engine_prop_2_1_turn: pack_engine_1
  326. {
  327. };
  328. class engine_prop_2_2_turn: pack_engine_1
  329. {
  330. };
  331. class engine_prop_2_3_turn: pack_engine_1
  332. {
  333. };
  334. class engine_prop_1_1_close: pack_engine_1
  335. {
  336. };
  337. class engine_prop_1_3_close: pack_engine_1
  338. {
  339. };
  340. class engine_prop_2_1_close: pack_engine_1
  341. {
  342. };
  343. class engine_prop_2_2_close: pack_engine_1
  344. {
  345. };
  346. class pack_engine_2: pack_engine_1
  347. {
  348. };
  349. class turn_wing: pack_engine_1
  350. {
  351. };
  352. };
  353. class Reflectors
  354. {
  355. class Right
  356. {
  357. color[]={7000,7500,10000};
  358. ambient[]={70,75,100};
  359. intensity=90;
  360. size=1;
  361. innerAngle=15;
  362. outerAngle=65;
  363. coneFadeCoef=10;
  364. position="Light_pos";
  365. direction="Light_dir";
  366. hitpoint="Light_hitpoint";
  367. selection="Light";
  368. useFlare=1;
  369. flareSize=40;
  370. flareMaxDistance=450;
  371. dayLight=0;
  372. class Attenuation
  373. {
  374. start=0;
  375. constant=0;
  376. linear=1;
  377. quadratic=1;
  378. hardLimitStart=100;
  379. hardLimitEnd=200;
  380. };
  381. };
  382. };
  383. class Exhausts
  384. {
  385. class Exhaust02
  386. {
  387. position="exhaust2";
  388. direction="exhaust2_dir";
  389. effect="ExhaustEffectHeli";
  390. };
  391. class Exhaust01
  392. {
  393. position="exhaust1";
  394. direction="exhaust1_dir";
  395. effect="ExhaustEffectHeli";
  396. };
  397. };
  398. class Library
  399. {
  400. libTextDesc="$STR_LIB_MV22";
  401. };
  402. class RenderTargets
  403. {
  404. class driver_display_1
  405. {
  406. renderTarget="rendertarget0";
  407. class CameraView1
  408. {
  409. pointPosition="PIP0_pos";
  410. pointDirection="PIP0_dir";
  411. renderVisionMode=1;
  412. renderQuality=0;
  413. fov=0.40000001;
  414. };
  415. };
  416. class Gunner_1
  417. {
  418. renderTarget="rendertarget3";
  419. class CameraView1
  420. {
  421. pointPosition="PIP3_pos";
  422. pointDirection="PIP3_dir";
  423. renderVisionMode=0;
  424. renderQuality=0;
  425. fov=0.5;
  426. };
  427. };
  428. class Gunner_TV
  429. {
  430. renderTarget="rendertarget4";
  431. class CameraView1
  432. {
  433. pointPosition="PIP3_pos";
  434. pointDirection="PIP3_dir";
  435. renderVisionMode=2;
  436. renderQuality=0;
  437. fov=0.69999999;
  438. };
  439. };
  440. };
  441. };
  442. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement