Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.22 KB | None | 0 0
  1. class B_UH60L_med_F;
  2. class LMG_M240_UH60;
  3. class CfgPatches
  4. {
  5. class uh60
  6. {
  7. units[]=
  8. {
  9. "B_MH60L_F",
  10. "B_MH60L_noprobe_F",
  11. "B_UH60L_F",
  12. "B_MH60L_gray_F",
  13. "B_UH60L_med_F",
  14. "B_HH60A_gray_F",
  15. "B_HH60A_gray_doors_F",
  16. "B_MH60M_noprobe_F",
  17. };
  18. weapons[]=
  19. {
  20. "LMG_M240_UH60",
  21. "LMG_M240_UH60_2",
  22. "LMG_M134_MH60",
  23. "LMG_M134_MH60_2",
  24. "HMG_GAU21_HH60",
  25. "HMG_GAU21_HH60_2"
  26.  
  27. };
  28. requiredVersion=0.1;
  29. requiredAddons[]=
  30. {
  31. "A3_Air_F",
  32. "A3_Weapons_F"
  33. };
  34. };
  35. };
  36. class CfgVehicleClasses
  37. {
  38. class YuraPetrov_helicopters
  39. {
  40. displayname="$STR_BLACKHAWKS_YURA_PETROV";
  41. };
  42. };
  43. class CfgMagazines
  44. {
  45. class 500Rnd_127x99_mag;
  46. class 2000Rnd_127x99_mag_Tracer_Red: 500Rnd_127x99_mag
  47. {
  48. scope=2;
  49. count=2000;
  50. ammo="B_127x99_Ball_Tracer_Red";
  51. displayName="12.7mm AA MG Tracer (Red) Mag";
  52. descriptionShort="Caliber: 1.27x99 mm NATO<br/>Rounds: 2000<br />Used in: Vehicles";
  53. };
  54. };
  55. class CfgWeapons
  56. {
  57. class M134_minigun;
  58. class LMG_M134_MH60: M134_minigun
  59. {
  60. displayName="M134 GAU-17/7.62";
  61. reloadMagazineSound[]=
  62. {
  63. "A3\Sounds_F\weapons\Other\reload_bolt_1",
  64. 10,
  65. 1,
  66. 20
  67. };
  68. class GunParticles
  69. {
  70. class effect1
  71. {
  72. positionName="machinegun_end";
  73. directionName="machinegun_beg";
  74. effectName="MachineGunCloud";
  75. };
  76. };
  77. magazines[]=
  78. {
  79. "5000Rnd_762x51_Yellow_Belt"
  80. };
  81. };
  82. class LMG_M134_MH60_2: LMG_M134_MH60
  83. {
  84. class GunParticles
  85. {
  86. class effect1
  87. {
  88. positionName="machinegun_end";
  89. directionName="machinegun_beg";
  90. effectName="MachineGunCloud";
  91. };
  92. };
  93. };
  94. class LMG_Zafir_F;
  95. class HMG_GAU21_HH60: LMG_Zafir_F
  96. {
  97. displayName="M3M GAU-21/12.7";
  98. reloadMagazineSound[]=
  99. {
  100. "A3\Sounds_F\weapons\Other\reload_bolt_1",
  101. 10,
  102. 1,
  103. 20
  104. };
  105. magazines[]=
  106. {
  107. "500Rnd_127x99_mag_Tracer_Green",
  108. "500Rnd_127x99_mag_Tracer_Red",
  109. "500Rnd_127x99_mag_Tracer_Yellow"
  110. };
  111. class GunParticles
  112. {
  113. class effect1
  114. {
  115. positionName="muzzle_beg";
  116. directionName="muzzle_end";
  117. effectName="MachineGunCloud";
  118. };
  119. };
  120. };
  121. class HMG_GAU21_HH60_2: HMG_GAU21_HH60
  122. {
  123. class GunParticles
  124. {
  125. class effect1
  126. {
  127. positionName="muzzle_beg_2";
  128. directionName="muzzle_end_2";
  129. effectName="MachineGunCloud";
  130. };
  131. magazines[]=
  132. {
  133. "500Rnd_127x99_mag_Tracer_Green",
  134. "500Rnd_127x99_mag_Tracer_Red",
  135. "500Rnd_127x99_mag_Tracer_Yellow"
  136. };
  137. };
  138. };
  139. };
  140. class CfgVehicles
  141. {
  142. class Helicopter;
  143. class Helicopter_Base_F: Helicopter
  144. {
  145. class Turrets;
  146. class HitPoints;
  147. };
  148. class Helicopter_Base_H: Helicopter_Base_F
  149. {
  150. class RotorLibHelicopterProperties;
  151. class ViewOptics;
  152. class Turrets: Turrets
  153. {
  154. class CopilotTurret;
  155. class MainTurret;
  156. class RightDoorGunCust;
  157. };
  158. class AnimationSources;
  159. class Eventhandlers;
  160. class HitPoints: HitPoints
  161. {
  162. class HitHull;
  163. class HitFuel;
  164. class HitAvionics;
  165. class HitMissiles;
  166. class HitEngine;
  167. class HitHRotor;
  168. class HitVRotor;
  169. class HitGlass1;
  170. class HitGlass2;
  171. class HitGlass3;
  172. class HitGlass4;
  173. class HitGlass5;
  174. class HitGlass6;
  175. };
  176. };
  177. class Heli_Transport_01_base_F: Helicopter_Base_H
  178. {
  179. class Turrets: Turrets
  180. {
  181. class CopilotTurret;
  182. class MainTurret;
  183. class RightDoorGun;
  184. };
  185. };
  186. class B_UH60L_base_F: Heli_Transport_01_base_F
  187. {
  188. author="Yuri Petrov";
  189. vehicleClass="YuraPetrov_helicopters";
  190. model="\uh60\mh60l\mh60l.p3d";
  191. icon="\uh60\UI\icon_uh60m_ca.paa";
  192. GetInAction="GetInHeli_Transport_01Cargo";
  193. gearRetracting=0;
  194. weapons[] = {"CMFlareLauncher"};
  195. magazines[] = {"168Rnd_CMFlare_Chaff_Magazine"};
  196. radarTargetSize=0.950000;
  197. irTargetSize=0.850000;
  198. lockDetectionSystem="8 + 4";
  199. incomingMissileDetectionSystem="8 + 16";
  200. enableManualFire=0;
  201. availableForSupportTypes[]=
  202. {
  203. "Drop",
  204. "Transport"
  205. };
  206. liftForceCoef=1;
  207. cyclicAsideForceCoef=0.80000001;
  208. cyclicForwardForceCoef=0.64999998;
  209. bodyFrictionCoef=1.05;
  210. backRotorForceCoef=0.60000002;
  211. class MFD
  212. {
  213. };
  214. class UserActions
  215. {
  216. class form_lights
  217. {
  218. displayName="$STR_BLACKHAWKS_FORM_LIGHTS_ON";
  219. condition="this animationPhase ""formation_lights"" == 1 and player in this and isengineon this";
  220. statement="this animate [""formation_lights"",0]; this animate [""tail_lights"",0];";
  221. position="pilotcontrol";
  222. radius=10;
  223. onlyforplayer=1;
  224. showWindow=0;
  225. hideOnUse=1;
  226. };
  227. class form_lights_off
  228. {
  229. displayName="$STR_BLACKHAWKS_FORM_LIGHTS_OFF";
  230. condition="this animationPhase ""formation_lights"" == 0 and player in this";
  231. statement="this animate [""formation_lights"",1]; this animate [""tail_lights"",1];";
  232. position="pilotcontrol";
  233. radius=10;
  234. onlyforplayer=1;
  235. showWindow=0;
  236. hideOnUse=1;
  237. };
  238. };
  239. class AnimationSources: AnimationSources
  240. {
  241. class Probe_hide
  242. {
  243. source="user";
  244. animPeriod=0.0099999998;
  245. initPhase=0;
  246. };
  247. class rope1hide
  248. {
  249. source="user";
  250. animPeriod=0.0099999998;
  251. initPhase=0;
  252. };
  253. class rope2hide
  254. {
  255. source="user";
  256. animPeriod=0.0099999998;
  257. initPhase=0;
  258. };
  259. class TiltBlade_1
  260. {
  261. source="user";
  262. animPeriod=0;
  263. initPhase=0.30000001;
  264. };
  265. class TiltBlade_2
  266. {
  267. source="user";
  268. animPeriod=0;
  269. initPhase=0.30000001;
  270. };
  271. class TiltBlade_3
  272. {
  273. source="user";
  274. animPeriod=0;
  275. initPhase=0.30000001;
  276. };
  277. class TiltBlade_4
  278. {
  279. source="user";
  280. animPeriod=0;
  281. initPhase=0.30000001;
  282. };
  283. class TiltTailBlade_1
  284. {
  285. source="user";
  286. animPeriod=0;
  287. initPhase=0.30000001;
  288. };
  289. class TiltTailBlade_2
  290. {
  291. source="user";
  292. animPeriod=0;
  293. initPhase=0.30000001;
  294. };
  295. class TiltTailBlade_3
  296. {
  297. source="user";
  298. animPeriod=0;
  299. initPhase=0.30000001;
  300. };
  301. class TiltTailBlade_4
  302. {
  303. source="user";
  304. animPeriod=0;
  305. initPhase=0.30000001;
  306. };
  307. class TiltTailRotor
  308. {
  309. source="user";
  310. animPeriod=0;
  311. initPhase=0.30000001;
  312. };
  313. class MovePilotDoor
  314. {
  315. source="user";
  316. animPeriod=1;
  317. initPhase=0;
  318. };
  319. class MoveCopilotDoor
  320. {
  321. source="user";
  322. animPeriod=1;
  323. initPhase=0;
  324. };
  325. class MoveCargoDoor
  326. {
  327. source="user";
  328. animPeriod=1;
  329. initPhase=0;
  330. };
  331. class MoveCargo2Door
  332. {
  333. source="user";
  334. animPeriod=1;
  335. initPhase=0;
  336. };
  337. class formation_lights
  338. {
  339. source="user";
  340. animPeriod=0;
  341. initPhase=1;
  342. };
  343. class CollisionLightRed_source
  344. {
  345. source="MarkerLight";
  346. markerLight="CollisionRed";
  347. };
  348. class tail_lights: formation_lights
  349. {
  350. };
  351. };
  352. class CargoTurret;
  353. class Eventhandlers: Eventhandlers
  354. {
  355. init="_this execVM ""\uh60\scripts\rotor.sqf";
  356. };
  357. };
  358. class B_MH60L_F: B_UH60L_base_F
  359. {
  360. _generalMacro="B_MH60L_F";
  361. model="\uh60\mh60l\mh60l.p3d";
  362. displayName="MH-60L Spec ops BH";
  363. transportSoldier=7;
  364. cargoAction[]=
  365. {
  366. "passenger_flatground_1",
  367. "passenger_flatground_4",
  368. "passenger_flatground_2",
  369. "passenger_flatground_3",
  370. "passenger_flatground_2",
  371. "passenger_flatground_1",
  372. "passenger_flatground_2"
  373. };
  374. hideWeaponsCargo=0;
  375. cargoProxyIndexes[]={10,11,12,13,14,15};
  376. scope=2;
  377. side=1;
  378. faction="BLU_F";
  379. crew="B_Helipilot_F";
  380. typicalCargo[]=
  381. {
  382. "B_Helipilot_F"
  383. };
  384. class RenderTargets
  385. {
  386. class MFD_01
  387. {
  388. renderTarget="rendertarget0";
  389. class CameraView1
  390. {
  391. pointPosition="PiP0";
  392. pointDirection="PiP0_dir";
  393. renderVisionMode=1;
  394. renderQuality=2;
  395. fov=0.050000001;
  396. };
  397. };
  398. };
  399. class Damage
  400. {
  401. tex[]={};
  402. mat[]=
  403. {
  404. "uh60\t1\flare_dispenser.rvmat",
  405. "uh60\t1\flare_dispenser_damage.rvmat",
  406. "uh60\t1\flare_dispenser_destruct.rvmat",
  407. "uh60\t1\flirl.rvmat",
  408. "uh60\t1\flirl_damage.rvmat",
  409. "uh60\t1\flirl_destruct.rvmat",
  410. "uh60\t1\gloss.rvmat",
  411. "uh60\t1\gloss_damage.rvmat",
  412. "uh60\t1\gloss_destruct.rvmat",
  413. "uh60\t1\intl_1.rvmat",
  414. "uh60\t1\intl_1_damage.rvmat",
  415. "uh60\t1\intl_1_destruct.rvmat",
  416. "uh60\t1\intl_2.rvmat",
  417. "uh60\t1\intl_2_damage.rvmat",
  418. "uh60\t1\intl_2_destruct.rvmat",
  419. "uh60\t1\mh60l01.rvmat",
  420. "uh60\t1\mh60l01_damage.rvmat",
  421. "uh60\t1\mh60l01_destruct.rvmat",
  422. "uh60\t1\mh60l02.rvmat",
  423. "uh60\t1\mh60l02_damage.rvmat",
  424. "uh60\t1\mh60l02_destruct.rvmat",
  425. "uh60\t1\mh60l03.rvmat",
  426. "uh60\t1\mh60l03_damage.rvmat",
  427. "uh60\t1\mh60l03_destruct.rvmat",
  428. "uh60\t1\mh60l04.rvmat",
  429. "uh60\t1\mh60l04_damage.rvmat",
  430. "uh60\t1\mh60l04_destruct.rvmat",
  431. "uh60\t1\mh60l05.rvmat",
  432. "uh60\t1\mh60l05_damage.rvmat",
  433. "uh60\t1\mh60l05_destruct.rvmat",
  434. "uh60\t1\rotorl.rvmat",
  435. "uh60\t1\rotorl_damage.rvmat",
  436. "uh60\t1\rotorl_destruct.rvmat",
  437. "uh60\t\glasses.rvmat",
  438. "uh60\t\glasses_damage.rvmat",
  439. "uh60\t\glasses_damage.rvmat",
  440. "uh60\t\glass_veh_int.rvmat",
  441. "uh60\t\glass_veh_int_damage.rvmat",
  442. "uh60\t\glass_veh_int_damage.rvmat"
  443. };
  444. };
  445. class Turrets: Turrets
  446. {
  447. class CopilotTurret: CopilotTurret
  448. {
  449. body="flir_base";
  450. gun="flir";
  451. animationSourceBody="flir_base";
  452. animationSourceGun="flir";
  453. gunBeg="gun";
  454. gunEnd="gunnerview";
  455. gunnerOutOpticsShowCursor=0;
  456. gunnerOpticsShowCursor=0;
  457. gunnerOpticsModel="\A3\Weapons_F_Beta\Reticle\Optics_Commander_01_F.p3d";
  458. soundServo[]=
  459. {
  460. "A3\sounds_f\dummysound",
  461. 0.0099999998,
  462. 1,
  463. 10
  464. };
  465. minElev=-90;
  466. maxElev=10;
  467. initElev=0;
  468. minTurn=-180;
  469. maxTurn=180;
  470. initTurn=0;
  471. outGunnerMayFire=1;
  472. gunnerForceOptics=0;
  473. usePip=1;
  474. class ViewOptics: ViewOptics
  475. {
  476. initAngleX=0;
  477. minAngleX=-30;
  478. maxAngleX=30;
  479. initAngleY=0;
  480. minAngleY=-100;
  481. maxAngleY=100;
  482. initFov=0.055;
  483. minFov=0.0070000002;
  484. maxFov=0.1;
  485. visionMode[]=
  486. {
  487. "Normal",
  488. "NVG",
  489. "Ti"
  490. };
  491. thermalMode[]={0,2};
  492. };
  493. class ViewGunner: ViewOptics
  494. {
  495. initAngleX=-15;
  496. minAngleX=-45;
  497. maxAngleX=45;
  498. initFov=0.89999998;
  499. minFov=0.41999999;
  500. maxFov=0.89999998;
  501. visionMode[]={};
  502. };
  503. };
  504. class MainTurret: MainTurret
  505. {
  506. selectionFireAnim="zasleh_2";
  507. minTurn=10;
  508. maxTurn=170;
  509. minElev=-50;
  510. maxElev=15;
  511. weapons[]=
  512. {
  513. "LMG_M134_MH60"
  514. };
  515. magazines[]=
  516. {
  517. "5000Rnd_762x51_Yellow_Belt"
  518. };
  519. };
  520. class RightDoorGun: RightDoorGun
  521. {
  522. minTurn=-170;
  523. maxTurn=-10;
  524. minElev=-50;
  525. maxElev=15;
  526. weapons[]=
  527. {
  528. "LMG_M134_MH60_2"
  529. };
  530. magazines[]=
  531. {
  532. "5000Rnd_762x51_Yellow_Belt"
  533. };
  534. };
  535. class CargoTurret_01: CargoTurret
  536. {
  537. gunnerAction="passenger_bench_1";
  538. gunnerCompartments="Compartment2";
  539. memoryPointsGetInGunner="pos cargo";
  540. memoryPointsGetInGunnerDir="pos cargo dir";
  541. gunnerName="$STR_A3_TURRETS_BENCH_R1";
  542. proxyIndex=1;
  543. maxElev=45;
  544. minElev=-50;
  545. maxTurn=50;
  546. minTurn=-50;
  547. isPersonTurret=1;
  548. ejectDeadGunner=0;
  549. class dynamicViewLimits
  550. {
  551. CargoTurret_04[]={-65,95};
  552. };
  553. playerPosition=4;
  554. soundAttenuationTurret="";
  555. disableSoundAttenuation=1;
  556. gunnerGetInAction="GetInHeli_Light_01bench";
  557. };
  558. class CargoTurret_02: CargoTurret_01
  559. {
  560. gunnerCompartments="Compartment3";
  561. gunnerName="$STR_A3_TURRETS_BENCH_L2";
  562. proxyIndex=2;
  563. class dynamicViewLimits
  564. {
  565. CargoTurret_03[]={-65,95};
  566. };
  567. };
  568. class CargoTurret_03: CargoTurret_02
  569. {
  570. gunnerCompartments="Compartment3";
  571. gunnerName="$STR_A3_TURRETS_BENCH_L1";
  572. proxyIndex=3;
  573. class dynamicViewLimits
  574. {
  575. CargoTurret_02[]={-95,65};
  576. };
  577. };
  578. class CargoTurret_04: CargoTurret_01
  579. {
  580. gunnerCompartments="Compartment2";
  581. gunnerName="$STR_A3_TURRETS_BENCH_R2";
  582. proxyIndex=4;
  583. class dynamicViewLimits
  584. {
  585. CargoTurret_01[]={-95,65};
  586. };
  587. };
  588. };
  589. };
  590. class B_MH60L_gray_F: B_MH60L_F
  591. {
  592. displayName="MH-60L twin M2 (gray)";
  593. model="\uh60\mh60l\mh60l_gray.p3d";
  594. class Turrets: Turrets
  595. {
  596. class CopilotTurret: CopilotTurret
  597. {
  598. };
  599. class MainTurret: MainTurret
  600. {
  601. selectionFireAnim="zasleh_2";
  602. minTurn=0;
  603. maxTurn=180;
  604. minElev=-50;
  605. maxElev=15;
  606. weapons[]=
  607. {
  608. "HMG_GAU21_HH60"
  609. };
  610. magazines[]=
  611. {
  612. "500Rnd_127x99_mag_Tracer_Red"
  613. };
  614. };
  615. class RightDoorGun: RightDoorGun
  616. {
  617. minTurn=-180;
  618. maxTurn=0;
  619. minElev=-50;
  620. maxElev=15;
  621. weapons[]=
  622. {
  623. "HMG_GAU21_HH60_2"
  624. };
  625. magazines[]=
  626. {
  627. "500Rnd_127x99_mag_Tracer_Red"
  628. };
  629. };
  630. class CargoTurret_01: CargoTurret_01
  631. {
  632. };
  633. class CargoTurret_02: CargoTurret_02
  634. {
  635. };
  636. class CargoTurret_03: CargoTurret_03
  637. {
  638. };
  639. class CargoTurret_04: CargoTurret_04
  640. {
  641. };
  642. };
  643. class AnimationSources: AnimationSources
  644. {
  645. class CollisionLightRed_source
  646. {
  647. source="MarkerLight";
  648. markerLight="CollisionRed";
  649. };
  650. class formation_lights
  651. {
  652. source="user";
  653. animPeriod=0;
  654. initPhase=1;
  655. };
  656. class copilot_door
  657. {
  658. source="door";
  659. animPeriod=0.40000001;
  660. initPhase=0;
  661. };
  662. class Pilot_Door
  663. {
  664. source="door";
  665. animPeriod=0.60000002;
  666. initPhase=0;
  667. };
  668. class cargo_door_r
  669. {
  670. source="door";
  671. animPeriod=1;
  672. initPhase=0;
  673. };
  674. class Muzzle_flash
  675. {
  676. source="ammorandom";
  677. weapon="HMG_GAU21_HH60";
  678. };
  679. class ReloadAnim
  680. {
  681. source="reload";
  682. weapon="HMG_GAU21_HH60";
  683. };
  684. class Muzzle_flash2
  685. {
  686. source="ammorandom";
  687. weapon="HMG_GAU21_HH60_2";
  688. };
  689. class ReloadAnim2
  690. {
  691. source="reload";
  692. weapon="HMG_GAU21_HH60_2";
  693. };
  694. };
  695. };
  696. class B_HH60A_gray_F: B_MH60L_gray_F
  697. {
  698. displayName="HH-60G Pave Hawk";
  699. model="\uh60\mh60l\hh60a.p3d";
  700. precisegetinout=1;
  701. getInAction="pilot_Heli_Light_02_Enter";
  702. getOutAction="pilot_Heli_Light_02_exit";
  703. driverDoor="pilot_door";
  704. class Turrets: Turrets
  705. {
  706. class CopilotTurret: CopilotTurret
  707. {
  708. gunnerDoor="copilot_door";
  709. precisegetinout=1;
  710. memoryPointsGetInGunnerPrecise="pos copilot";
  711. gunnerGetInAction="copilot_Heli_Light_02_Enter";
  712. gunnerGetOutAction="copilot_Heli_Light_02_Exit";
  713. };
  714. class MainTurret: MainTurret
  715. {
  716. CanEject = 1;
  717. isCopilot = 0;
  718. body = "mainTurret";
  719. gun = "mainGun";
  720. animationSourceHatch = "";
  721. animationSourceBody = "mainTurret";
  722. animationSourceGun = "mainGun";
  723. gunnerType = "B_helicrew_F";
  724. minElev = -50;
  725. maxElev = 15;
  726. initElev = "-50";
  727. minTurn = 5;
  728. maxTurn = 170;
  729. initTurn = 30;
  730. stabilizedInAxes = 0;
  731. gunnerName = "$STR_A3_LEFT_GUNNER";
  732. weapons[] = {"HMG_GAU21_HH60"};
  733. magazines[] = {"500Rnd_127x99_mag_Tracer_Red"};
  734. commanding = -2;
  735. primaryGunner = 1;
  736.  
  737.  
  738. class RightDoorGun: RightDoorGunCust
  739. {
  740. CanEject = 1;
  741. isCopilot = 0;
  742. body = "mainTurret2";
  743. gun = "mainGun2";
  744. animationSourceBody = "mainTurret2";
  745. animationSourceGun = "mainGun2";
  746. selectionFireAnim = "zasleh_1";
  747. gunnerType = "B_helicrew_F";
  748. minElev = -50;
  749. maxElev = 15;
  750. initElev = "-50";
  751. minTurn = -170;
  752. maxTurn = -5;
  753. initTurn = 145;
  754. stabilizedInAxes = 0;
  755. proxyIndex = 2;
  756. gunnerName = "$STR_A3_RIGHT_GUNNER";
  757. weapons[] = {"HMG_GAU21_HH60_2"};
  758. magazines[] = {"500Rnd_127x99_mag_Tracer_Red"};
  759. commanding = -3;
  760. gunBeg = "muzzle_beg_2";
  761. gunEnd = "muzzle_end_2";
  762. primaryGunner = 0;
  763. memoryPointGun = "";
  764. memoryPointGunnerOptics = "Eye2";
  765. gunnerCompartments = "Compartment2";
  766. memoryPointsGetInGunner = "pos gunner2";
  767. memoryPointsGetInGunnerDir = "pos gunner2 dir";
  768. gunnerDoor = "";
  769. turretCanSee = "1 + 2 + 4 + 8 + 16";
  770. canUseScanners = 0;
  771. };
  772. class CargoTurret_01: CargoTurret_01
  773. {
  774. };
  775. class CargoTurret_02: CargoTurret_02
  776. {
  777. };
  778. class CargoTurret_03: CargoTurret_03
  779. {
  780. };
  781. class CargoTurret_04: CargoTurret_04
  782. {
  783. };
  784. };
  785. magazines[] =
  786. {
  787. "500Rnd_127x99_mag_Tracer_Red"
  788. };
  789. };
  790. hiddenSelections[]=
  791. {
  792. "num1",
  793. "num2"
  794. };
  795. hiddenSelectionsTextures[]=
  796. {
  797. "\uh60\t1\numbers\5_ca.paa",
  798. "\uh60\t1\numbers\6_ca.paa"
  799. };
  800. class Eventhandlers: Eventhandlers
  801. {
  802. init="_this execVM ""\uh60\scripts\randomize.sqf""; _this execVM ""\uh60\scripts\rotor.sqf""; (_this select 0) addMagzineTurret [""500Rnd_127x99_mag_Tracer_Red"", [2]];";
  803. };
  804. };
  805. class B_HH60A_gray_doors_F: B_HH60A_gray_F
  806. {
  807. displayName="HH-60A closeble cargo doors";
  808. model="\uh60\mh60l\hh60a_doors.p3d";
  809. precisegetinout=1;
  810. getInAction="pilot_Heli_Light_02_Enter";
  811. getOutAction="pilot_Heli_Light_02_exit";
  812. driverDoor="pilot_door";
  813. cargoDoors[]=
  814. {
  815. "cargo_door_r"
  816. };
  817. class Turrets: Turrets
  818. {
  819. class CopilotTurret: CopilotTurret
  820. {
  821. gunnerDoor="copilot_door";
  822. precisegetinout=1;
  823. memoryPointsGetInGunnerPrecise="pos copilot";
  824. gunnerGetInAction="copilot_Heli_Light_02_Enter";
  825. gunnerGetOutAction="copilot_Heli_Light_02_Exit";
  826. };
  827. class MainTurret: MainTurret
  828. {
  829. gunnerDoor="cargo_door_r";
  830. };
  831. class RightDoorGun: RightDoorGun
  832. {
  833. gunnerDoor="cargo_door_r";
  834. };
  835. };
  836. hiddenSelections[]=
  837. {
  838. "num1",
  839. "num2"
  840. };
  841. hiddenSelectionsTextures[]=
  842. {
  843. "\uh60\t1\numbers\5_ca.paa",
  844. "\uh60\t1\numbers\6_ca.paa"
  845. };
  846. class Eventhandlers: Eventhandlers
  847. {
  848. init="_this execVM ""\uh60\scripts\randomize.sqf""; _this execVM ""\uh60\scripts\rotor.sqf"";";
  849. };
  850. class UserActions: UserActions
  851. {
  852. class door_open
  853. {
  854. displayName="$STR_BLACKHAWKS_CLOSE_DOORS";
  855. condition="this doorPhase ""cargo_door_r"" == 1 and player in this";
  856. statement="this animateDoor [""cargo_door_r"",0];";
  857. position="pilotcontrol";
  858. radius=10;
  859. onlyforplayer=1;
  860. showWindow=0;
  861. hideOnUse=1;
  862. };
  863. class door_close
  864. {
  865. displayName="$STR_BLACKHAWKS_OPEN_DOORS";
  866. condition="this doorPhase ""cargo_door_r"" == 0 and player in this";
  867. statement="this animateDoor [""cargo_door_r"",1];";
  868. position="pilotcontrol";
  869. radius=10;
  870. onlyforplayer=1;
  871. showWindow=0;
  872. hideOnUse=1;
  873. };
  874. };
  875. };
  876. class B_MH60L_noprobe_F: B_MH60L_F
  877. {
  878. displayName="MH-60L(no probe) spec ops BH";
  879. class Eventhandlers: Eventhandlers
  880. {
  881. init="_this execVM ""\uh60\scripts\hide_probe.sqf""; _this execVM ""\uh60\scripts\rotor.sqf"";";
  882. };
  883. class AnimationSources: AnimationSources
  884. {
  885. };
  886. };
  887. class B_MH60M_noprobe_F: B_HH60A_gray_F
  888. {
  889. _generalMacro="B_MH60L_F";
  890. model="\uh60\mh60l\mh60l.p3d";
  891. displayName="MH-60L Blackhawk";
  892. transportSoldier=7;
  893. cargoAction[]=
  894. {
  895. "passenger_flatground_1",
  896. "passenger_flatground_4",
  897. "passenger_flatground_2",
  898. "passenger_flatground_3",
  899. "passenger_flatground_2",
  900. "passenger_flatground_1",
  901. "passenger_flatground_2"
  902. };
  903. hideWeaponsCargo=0;
  904. cargoProxyIndexes[]={10,11,12,13,14,15};
  905. scope=2;
  906. side=1;
  907. faction="BLU_F";
  908. crew="B_Helipilot_F";
  909. typicalCargo[]=
  910. {
  911. "B_Helipilot_F"
  912. };
  913. class RenderTargets
  914. {
  915. class MFD_01
  916. {
  917. renderTarget="rendertarget0";
  918. class CameraView1
  919. {
  920. pointPosition="PiP0";
  921. pointDirection="PiP0_dir";
  922. renderVisionMode=1;
  923. renderQuality=2;
  924. fov=0.050000001;
  925. };
  926. };
  927. };
  928. class Eventhandlers: Eventhandlers
  929. {
  930. init="_this execVM ""\uh60\scripts\hide_probe.sqf""; _this execVM ""\uh60\scripts\rotor.sqf"";";
  931. };
  932. class Damage
  933. {
  934. tex[]={};
  935. mat[]=
  936. {
  937. "uh60\t\glasses.rvmat",
  938. "uh60\t\glasses_damage.rvmat",
  939. "uh60\t\glasses_damage.rvmat",
  940. "uh60\t\glass_veh_int.rvmat",
  941. "uh60\t\glass_veh_int_damage.rvmat",
  942. "uh60\t\glass_veh_int_damage.rvmat",
  943. "uh60\t\uh60l01.rvmat",
  944. "uh60\t\uh60l01_damage.rvmat",
  945. "uh60\t\uh60l01_destruct.rvmat",
  946. "uh60\t\uh60l04.rvmat",
  947. "uh60\t\uh60l04_damage.rvmat",
  948. "uh60\t\uh60l04_destruct.rvmat",
  949. "uh60\t\uh60l05.rvmat",
  950. "uh60\t\uh60l05_damage.rvmat",
  951. "uh60\t\uh60l05_destruct.rvmat",
  952. "uh60\t\uh60q02.rvmat",
  953. "uh60\t\uh60q02_damage.rvmat",
  954. "uh60\t\uh60q02_destruct.rvmat",
  955. "uh60\t\uh60q03.rvmat",
  956. "uh60\t\uh60q03_damage.rvmat",
  957. "uh60\t\uh60q03_destruct.rvmat",
  958. "uh60\t\uh60q05.rvmat",
  959. "uh60\t\uh60q05_damage.rvmat",
  960. "uh60\t\uh60q05_destruct.rvmat"
  961. };
  962. };
  963. class AnimationSources: AnimationSources
  964. {
  965. class CollisionLightRed_source
  966. {
  967. source="MarkerLight";
  968. markerLight="CollisionRed";
  969. };
  970. class formation_lights
  971. {
  972. source="user";
  973. animPeriod=0;
  974. initPhase=1;
  975. };
  976. class copilot_door
  977. {
  978. source="door";
  979. animPeriod=0.40000001;
  980. initPhase=0;
  981. };
  982. class Pilot_Door
  983. {
  984. source="door";
  985. animPeriod=0.60000002;
  986. initPhase=0;
  987. };
  988. class cargo_door_r
  989. {
  990. source="door";
  991. animPeriod=1;
  992. initPhase=0;
  993. };
  994. class Minigun {
  995. source = "revolving";
  996. weapon = "LMG_M134_MH60";
  997. };
  998.  
  999. class Muzzle_flash {
  1000. source = "ammorandom";
  1001. weapon = "LMG_M134_MH60";
  1002. };
  1003. class ReloadAnim
  1004. {
  1005. source="reload";
  1006. weapon="LMG_M134_MH60";
  1007. };
  1008. class ReloadMagazine
  1009. {
  1010. source="reloadmagazine";
  1011. weapon="LMG_M134_MH60";
  1012. };
  1013. class Minigun2 {
  1014. source = "revolving";
  1015. weapon = "LMG_M134_MH60_2";
  1016. };
  1017.  
  1018. class Muzzle_flash2 {
  1019. source = "ammorandom";
  1020. weapon = "LMG_M134_MH60_2";
  1021. };
  1022. class ReloadAnim2
  1023. {
  1024. source="reload";
  1025. weapon="LMG_M134_MH60_2";
  1026. };
  1027. class ReloadMagazine2
  1028. {
  1029. source="reloadmagazine";
  1030. weapon="LMG_M134_MH60_2";
  1031. };
  1032. };
  1033. class Turrets: Turrets
  1034. {
  1035. class CopilotTurret: CopilotTurret
  1036. {
  1037. gunnerDoor="copilot_door";
  1038. precisegetinout=1;
  1039. memoryPointsGetInGunnerPrecise="pos copilot";
  1040. gunnerGetInAction="copilot_Heli_Light_02_Enter";
  1041. gunnerGetOutAction="copilot_Heli_Light_02_Exit";
  1042. };
  1043. class MainTurret: MainTurret
  1044. {
  1045. selectionFireAnim="zasleh_2";
  1046. gunnerDoor="cargo_door_r";
  1047. body = "mainTurret";
  1048. gun = "mainGun";
  1049. minTurn=0;
  1050. maxTurn=180;
  1051. minElev=-60;
  1052. maxElev=20;
  1053. animationSourceHatch = "";
  1054. animationSourceBody = "mainTurret";
  1055. animationSourceGun = "mainGun";
  1056. weapons[]=
  1057. {
  1058. "LMG_M134_MH60"
  1059. };
  1060. magazines[]=
  1061. {
  1062. "5000Rnd_762x51_Yellow_Belt"
  1063. };
  1064. };
  1065. class RightDoorGunCust: RightDoorGun
  1066. {
  1067. gunnerDoor="cargo_door_r";
  1068. body = "mainTurret2";
  1069. gun = "mainGun2";
  1070. minTurn=-180;
  1071. maxTurn=0;
  1072. minElev=-60;
  1073. maxElev=20;
  1074. animationSourceBody = "mainTurret2";
  1075. animationSourceGun = "mainGun2";
  1076. weapons[]=
  1077. {
  1078. "LMG_M134_MH60_2"
  1079. };
  1080. magazines[]=
  1081. {
  1082. "5000Rnd_762x51_Yellow_Belt"
  1083. };
  1084. };
  1085. class CargoTurret_01: CargoTurret
  1086. {
  1087. gunnerAction="passenger_inside_2";
  1088. gunnerCompartments="Compartment2";
  1089. memoryPointsGetInGunner="pos cargo";
  1090. memoryPointsGetInGunnerDir="pos cargo dir";
  1091. gunnerName="$STR_A3_TURRETS_BENCH_R1";
  1092. proxyIndex=1;
  1093. maxElev=45;
  1094. minElev=-50;
  1095. maxTurn=70;
  1096. minTurn=20;
  1097. isPersonTurret=1;
  1098. ejectDeadGunner=0;
  1099. class dynamicViewLimits
  1100. {
  1101. CargoTurret_04[]={-65,95};
  1102. };
  1103. playerPosition=4;
  1104. soundAttenuationTurret="";
  1105. disableSoundAttenuation=1;
  1106. gunnerGetInAction="GetInHeli_Transport_01Cargo";
  1107. gunnerDoor="cargo_door_r";
  1108. enabledByAnimationSource="cargo_door_r";
  1109. cantCreateAI=1;
  1110. };
  1111. class CargoTurret_02: CargoTurret_01
  1112. {
  1113. gunnerAction="passenger_inside_2";
  1114. gunnerCompartments="Compartment3";
  1115. gunnerName="$STR_A3_TURRETS_BENCH_L1";
  1116. memoryPointsGetInGunner="pos cargo";
  1117. memoryPointsGetInGunnerDir="pos cargo dir";
  1118. proxyIndex=2;
  1119. maxTurn=-20;
  1120. minTurn=-80;
  1121. };
  1122. class CargoTurret_03: CargoTurret_01
  1123. {
  1124. gunnerAction="passenger_inside_2";
  1125. gunnerCompartments="Compartment2";
  1126. gunnerName="$STR_A3_TURRETS_BENCH_L2";
  1127. memoryPointsGetInGunner="pos cargo";
  1128. memoryPointsGetInGunnerDir="pos cargo dir";
  1129. proxyIndex=3;
  1130. maxTurn=-20;
  1131. minTurn=-80;
  1132. };
  1133. class CargoTurret_04: CargoTurret_01
  1134. {
  1135. gunnerAction="passenger_inside_2";
  1136. gunnerCompartments="Compartment3";
  1137. gunnerName="$STR_A3_TURRETS_BENCH_R1";
  1138. memoryPointsGetInGunner="pos cargo";
  1139. memoryPointsGetInGunnerDir="pos cargo dir";
  1140. proxyIndex=4;
  1141. maxTurn=80;
  1142. minTurn=20;
  1143. };
  1144. };
  1145. class UserActions: UserActions
  1146. {
  1147. class door_open
  1148. {
  1149. displayName="$STR_BLACKHAWKS_CLOSE_DOORS";
  1150. condition="this doorPhase ""cargo_door_r"" == 1 and player in this";
  1151. statement="this animateDoor [""cargo_door_r"",0];";
  1152. position="pilotcontrol";
  1153. radius=10;
  1154. onlyforplayer=1;
  1155. showWindow=0;
  1156. hideOnUse=1;
  1157. };
  1158. class door_close
  1159. {
  1160. displayName="$STR_BLACKHAWKS_OPEN_DOORS";
  1161. condition="this doorPhase ""cargo_door_r"" == 0 and player in this";
  1162. statement="this animateDoor [""cargo_door_r"",1];";
  1163. position="pilotcontrol";
  1164. radius=10;
  1165. onlyforplayer=1;
  1166. showWindow=0;
  1167. hideOnUse=1;
  1168. };
  1169. };
  1170. }
  1171. class B_UH60L_med_F
  1172. {
  1173. displayName="UH-60L medevac";
  1174. model="\uh60\uh60l\uh60l_med.p3d";
  1175. vehicleClass="Support";
  1176. attendant=1;
  1177. supplyRadius=3;
  1178. class TransportItems
  1179. {
  1180. class _xx_FirstAidKit
  1181. {
  1182. name="FirstAidKit";
  1183. count=15;
  1184. };
  1185. };
  1186. cargoProxyIndexes[]={11};
  1187. transportSoldier=3;
  1188. cargoAction[]=
  1189. {
  1190. "passenger_generic01_foldhands",
  1191. "passenger_injured_medevac_truck03",
  1192. "passenger_injured_medevac_truck02",
  1193. {
  1194. {
  1195. class Turrets: Turrets
  1196. };
  1197. {
  1198. class CopilotTurret: CopilotTurret
  1199. };
  1200. {
  1201. class MainTurret: MainTurret
  1202. };
  1203. {
  1204. class RightDoorGun: RightDoorGun
  1205. };
  1206. {
  1207. class CargoTurret_01: CargoTurret_01
  1208. };
  1209. };
  1210. };
  1211. };
  1212. };
  1213. class cfgMods
  1214. {
  1215. author="76561198041815156";
  1216. timepacked="1450196504";
  1217. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement