Advertisement
Guest User

mi-17 model.cfg

a guest
Oct 6th, 2012
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.42 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete = 1;
  6. skeletonInherit = "";
  7. skeletonBones[] = {};
  8. };
  9. class Vehicle : Default {};
  10. class Helicopter: Vehicle
  11. {
  12. skeletonInherit="Vehicle";
  13. skeletonBones[]=
  14. {
  15. "velka vrtule",
  16. "",
  17. "mala vrtule",
  18. "",
  19. "otocvez",
  20. "",
  21. "otochlaven",
  22. "otocvez",
  23. "alt",
  24. "",
  25. "alt2",
  26. "",
  27. "nm_alt",
  28. "",
  29. "nm_alt2",
  30. "",
  31. "mph",
  32. "",
  33. "mph2",
  34. "",
  35. "vert_speed",
  36. "",
  37. "vert_speed2",
  38. "",
  39. "rpm",
  40. "",
  41. "rpm2",
  42. "",
  43. "horizont_dive",
  44. "",
  45. "horizont",
  46. "horizont_dive",
  47. "horizont2_dive",
  48. "",
  49. "horizont2",
  50. "horizont2_dive",
  51. "kompas",
  52. "",
  53. "kompas2",
  54. "",
  55. "hodinova",
  56. "",
  57. "hodinova2",
  58. "",
  59. "minutova",
  60. "",
  61. "minutova2",
  62. "",
  63. "damageHide",
  64. "",
  65. "rotorShaft",
  66. ""
  67. };
  68. };
  69. class Mi8skeleton_EP1 : Helicopter
  70. {
  71. SkeletonBones[]=
  72. {
  73. "velka vrtule dive","",
  74. "velka vrtule","velka vrtule dive",
  75. "rotordive","velka vrtule",
  76. "rotor static dive","velka vrtule",
  77. "mala vrtule dive","",
  78. "mala vrtule","mala vrtule dive",
  79. "otocvez","",
  80. "otochlaven","otocvez",
  81. "gatling_1","otochlaven",
  82. "alt","",
  83. "alt2","",
  84. "nm_alt","",
  85. "nm_alt2","",
  86. "mph","",
  87. "mph2","",
  88. "vert_speed","",
  89. "vert_speed2","",
  90. "rpm","",
  91. "rpm2","",
  92. "horizont","",
  93. "horizont2","",
  94. "kompas","",
  95. "kompas2","",
  96. "hodinova","",
  97. "hodinova2","",
  98. "minutova","",
  99. "minutova2","",
  100. "damagehide","",
  101. "damper_front","",
  102. "damper_right","",
  103. "damper_left","",
  104. "rpm3","",
  105. "rpm4","",
  106. "fan1","",
  107. "fan2","",
  108. "hud","",
  109. "hud_hide","hud",
  110. "ah_bank","",
  111. "ah_bank2","",
  112. "ah_pitch","",
  113. "ah_pitch2","",
  114. };
  115. };
  116. };
  117. class Rotation;
  118. class CfgModels
  119. {
  120. class Default
  121. {
  122. sections[] = {};
  123. sectionsInherit="";
  124. skeletonName = "";
  125. };
  126. class Vehicle: Default
  127. {
  128. sections[] =
  129. {
  130. "cislo",
  131. "grupa",
  132. "side",
  133. "sektor",
  134. "clan",
  135. "clan_sign",
  136. "podsvit pristroju",
  137. "poskozeni",
  138. "L svetlo",
  139. "P svetlo",
  140. "zasleh"
  141. };
  142. };
  143. class Helicopter: Vehicle
  144. {
  145. sectionsInherit="Vehicle";
  146. sections[]=
  147. {
  148. "sklo predni p",
  149. "sklo predni l",
  150. "velka vrtule staticka",
  151. "velka vrtule blur",
  152. "mala vrtule staticka",
  153. "mala vrtule blur",
  154. "trup",
  155. "motor",
  156. "elektronika",
  157. "mala vrtule",
  158. "velka vrtule",
  159. "munice",
  160. "zbran",
  161. "vez",
  162. "clan",
  163. "clan_sign",
  164. "glass1",
  165. "glass2",
  166. "glass3",
  167. "glass4",
  168. "glass5",
  169. "glass6",
  170. "podsvit pristroju"
  171. };
  172. skeletonName="Helicopter";
  173. class Animations
  174. {};
  175. };
  176. class mi17_HIP_m : Helicopter
  177. {
  178. skeletonName="Mi8skeleton_EP1";
  179. sections[]=
  180. {
  181. "mala vrtule staticka",
  182. "l svetlo",
  183. "p svetlo",
  184. "velka vrtule staticka",
  185. "podsvit pristroju",
  186. "flag2",
  187. "flag1",
  188. "mala vrtule blur",
  189. "velka vrtule blur",
  190. "zasleh",
  191. "zasleh2",
  192. "camo1",
  193. "camo2",
  194. "camo3",
  195. "camo4",
  196. "trup",
  197. "clan",
  198. "clan_sign",
  199. "glass1",
  200. "glass2",
  201. "glass3",
  202. "glass4",
  203. "glass5",
  204. "glass6",
  205. "motor",
  206. "elektronika",
  207. };
  208. class Animations
  209. {
  210. class Rotor_destructX
  211. {
  212. type="rotationX";
  213. angle0=0;
  214. angle1=-0.3490658;
  215. axis="velka osa";
  216. memory=1;
  217. minValue=0.99;
  218. maxValue=1;
  219. minPhase=0.99;
  220. maxPhase=1;
  221. source="damage";
  222. sourceAddress=0;
  223. selection="velka vrtule";
  224. };
  225. class Rotor_destructY
  226. {
  227. type="rotationY";
  228. angle0=0;
  229. angle1=0.6981317;
  230. axis="velka osa";
  231. memory=1;
  232. minValue=0.99;
  233. maxValue=1;
  234. minPhase=0.99;
  235. maxPhase=1;
  236. source="damage";
  237. sourceAddress=0;
  238. selection="velka vrtule";
  239. };
  240. class rotordive_destructX
  241. {
  242. type="rotationX";
  243. angle0=0;
  244. angle1=-0.08726646;
  245. axis="velka osa";
  246. memory=1;
  247. minValue=0.99;
  248. maxValue=1;
  249. minPhase=0.99;
  250. maxPhase=1;
  251. source="damage";
  252. sourceAddress=0;
  253. selection="rotordive";
  254. };
  255. class rotordive_destructY
  256. {
  257. type="rotationY";
  258. angle0=0;
  259. angle1=-0.2617994;
  260. axis="velka osa";
  261. memory=1;
  262. minValue=0.99;
  263. maxValue=1;
  264. minPhase=0.99;
  265. maxPhase=1;
  266. source="damage";
  267. sourceAddress=0;
  268. selection="rotordive";
  269. };
  270. class rotordive_destructZ
  271. {
  272. type="rotationZ";
  273. angle0=0;
  274. angle1=-0.08726646;
  275. axis="velka osa";
  276. memory=1;
  277. minValue=0.99;
  278. maxValue=1;
  279. minPhase=0.99;
  280. maxPhase=1;
  281. source="damage";
  282. sourceAddress=0;
  283. selection="rotordive";
  284. };
  285. class rotor_static_dive_destructX
  286. {
  287. type="rotationX";
  288. angle0=0;
  289. angle1=0.08726646;
  290. axis="velka osa";
  291. memory=1;
  292. minValue=0.99;
  293. maxValue=1;
  294. minPhase=0.99;
  295. maxPhase=1;
  296. source="damage";
  297. sourceAddress=0;
  298. selection="rotor static dive";
  299. };
  300. class rotor_static_dive_destructY
  301. {
  302. type="rotationY";
  303. angle0=0;
  304. angle1=-0.2617994;
  305. axis="velka osa";
  306. memory=1;
  307. minValue=0.99;
  308. maxValue=1;
  309. minPhase=0.99;
  310. maxPhase=1;
  311. source="damage";
  312. sourceAddress=0;
  313. selection="rotor static dive";
  314. };
  315. class rotor_static_dive_destructZ
  316. {
  317. type="rotationZ";
  318. angle0=0;
  319. angle1=-0.08726646;
  320. axis="velka osa";
  321. memory=1;
  322. minValue=0.99;
  323. maxValue=1;
  324. minPhase=0.99;
  325. maxPhase=1;
  326. source="damage";
  327. sourceAddress=0;
  328. selection="rotor static dive";
  329. };
  330. class mala_vrtule_destructY
  331. {
  332. type="rotationY";
  333. angle0=0;
  334. angle1=0.1745329;
  335. axis="mala osa";
  336. memory=1;
  337. minValue=0.99;
  338. maxValue=1;
  339. minPhase=0.99;
  340. maxPhase=1;
  341. source="damage";
  342. sourceAddress=0;
  343. selection="mala vrtule";
  344. };
  345. class mala_vrtule_destructZ
  346. {
  347. type="rotationZ";
  348. angle0=0;
  349. angle1=0.4363323;
  350. axis="mala osa";
  351. memory=1;
  352. minValue=0.99;
  353. maxValue=1;
  354. minPhase=0.99;
  355. maxPhase=1;
  356. source="damage";
  357. sourceAddress=0;
  358. selection="mala vrtule";
  359. };
  360. class damageHide
  361. {
  362. type="hide";
  363. hideValue=1;
  364. minValue=0;
  365. maxValue=1;
  366. minPhase=0;
  367. maxPhase=1;
  368. source="damage";
  369. sourceAddress=0;
  370. selection="damagehide";
  371. };
  372. class IndicatorAltRadar2
  373. {
  374. type="rotation";
  375. angle0=0;
  376. angle1=-3.141593;
  377. axis="osa_nm_alt2";
  378. memory=1;
  379. minValue=0;
  380. maxValue=61;
  381. minPhase=0;
  382. maxPhase=61;
  383. source="altRadar";
  384. sourceAddress=0;
  385. selection="nm_alt2";
  386. };
  387. class IndicatorCompass
  388. {
  389. type="rotation";
  390. angle0=0;
  391. angle1=-6.283185;
  392. axis="osa_kompas";
  393. memory=1;
  394. minValue=-3.141593;
  395. maxValue=3.141593;
  396. minPhase=-3.141593;
  397. maxPhase=3.141593;
  398. source="direction";
  399. sourceAddress=0;
  400. selection="kompas";
  401. };
  402. class IndicatorCompass2
  403. {
  404. type="rotation";
  405. angle0=0;
  406. angle1=-6.283185;
  407. axis="osa_kompas2";
  408. memory=1;
  409. minValue=-3.141593;
  410. maxValue=3.141593;
  411. minPhase=-3.141593;
  412. maxPhase=3.141593;
  413. source="direction";
  414. sourceAddress=0;
  415. selection="kompas2";
  416. };
  417. class WatchHour
  418. {
  419. type="rotation";
  420. angle0=0;
  421. angle1=-6.283185;
  422. axis="osa_time";
  423. memory=1;
  424. minValue=0;
  425. maxValue=1;
  426. minPhase=0;
  427. maxPhase=1;
  428. source="clockHour";
  429. sourceAddress=0;
  430. selection="hodinova";
  431. };
  432. class WatchMinute
  433. {
  434. type="rotation";
  435. angle0=0;
  436. angle1=-6.283185;
  437. axis="osa_time";
  438. memory=1;
  439. minValue=0;
  440. maxValue=1;
  441. minPhase=0;
  442. maxPhase=1;
  443. source="clockMinute";
  444. sourceAddress=0;
  445. selection="minutova";
  446. };
  447. class HRotor
  448. {
  449. type="rotation";
  450. angle0=0;
  451. angle1=6.283185;
  452. axis="velka osa";
  453. memory=1;
  454. minValue=0;
  455. maxValue=1;
  456. minPhase=0;
  457. maxPhase=1;
  458. source="rotorH";
  459. sourceAddress=0;
  460. selection="velka vrtule";
  461. };
  462. class VRotor
  463. {
  464. type="rotation";
  465. angle0=0;
  466. angle1=6.283185;
  467. axis="mala osa";
  468. memory=1;
  469. minValue=0;
  470. maxValue=1;
  471. minPhase=0;
  472. maxPhase=1;
  473. source="rotorV";
  474. sourceAddress=0;
  475. selection="mala vrtule";
  476. };
  477. class HorizonBank
  478. {
  479. type="rotationZ";
  480. angle0=-6.283185;
  481. angle1=6.283185;
  482. axis=""; //unknown :(
  483. memory=0;
  484. minValue=-6.283185;
  485. maxValue=6.283185;
  486. minPhase=-6.283185;
  487. maxPhase=6.283185;
  488. source="horizonBank";
  489. sourceAddress=0;
  490. selection="horizont";
  491. };
  492. class HorizonDive
  493. {
  494. type="rotationX";
  495. angle0=-6.28319;
  496. angle1=6.28319;
  497. axis=""; //unknown :(
  498. memory=0;
  499. minValue=-6.28319;
  500. maxValue=6.28319;
  501. minPhase=-6.28319;
  502. maxPhase=6.28319;
  503. source="horizonDive";
  504. sourceAddress=0;
  505. selection="horizont";
  506. };
  507. class Horizon2Bank
  508. {
  509. type="rotationZ";
  510. angle0=-6.283185;
  511. angle1=6.283185;
  512. axis=""; //unknown :(
  513. memory=0;
  514. minValue=-6.283185;
  515. maxValue=6.283185;
  516. minPhase=-6.283185;
  517. maxPhase=6.283185;
  518. source="horizonBank";
  519. sourceAddress=0;
  520. selection="horizont2";
  521. };
  522. class Horizon2Dive
  523. {
  524. type="rotationX";
  525. angle0=-6.28319;
  526. angle1=6.28319;
  527. axis=""; //unknown :(
  528. memory=0;
  529. minValue=-6.28319;
  530. maxValue=6.28319;
  531. minPhase=-6.28319;
  532. maxPhase=6.28319;
  533. source="horizonDive";
  534. sourceAddress=0;
  535. selection="horizont2";
  536. };
  537. class fan1
  538. {
  539. type="rotation";
  540. angle0=0;
  541. angle1=15.70796;
  542. axis="fan1_axis";
  543. memory=1;
  544. minValue=0;
  545. maxValue=1;
  546. minPhase=0;
  547. maxPhase=1;
  548. source="rotorH";
  549. sourceAddress=0;
  550. selection="fan1";
  551. };
  552. class fan2
  553. {
  554. type="rotation";
  555. angle0=0;
  556. angle1=15.70796;
  557. axis="fan2_axis";
  558. memory=1;
  559. minValue=0;
  560. maxValue=1;
  561. minPhase=0;
  562. maxPhase=1;
  563. source="rotorV";
  564. sourceAddress=0;
  565. selection="fan2";
  566. };
  567. class damper_front
  568. {
  569. type="rotation";
  570. angle0=0.261799;
  571. angle1=0;
  572. axis="axis_damper_front";
  573. memory=1;
  574. minValue=0;
  575. maxValue=0.3;
  576. minPhase=0;
  577. maxPhase=0.3;
  578. source="altRadar";
  579. sourceAddress=0;
  580. selection="damper_front";
  581. };
  582. class damper_left
  583. {
  584. type="rotation";
  585. angle0=0.1236;
  586. angle1=0;
  587. axis="axis_damper_left";
  588. memory=1;
  589. minValue=0;
  590. maxValue=0.3;
  591. minPhase=0;
  592. maxPhase=0.3;
  593. source="altRadar";
  594. sourceAddress=0;
  595. selection="damper_left";
  596. };
  597. class damper_right
  598. {
  599. type="rotation";
  600. angle0=0.1236;
  601. angle1=0;
  602. axis="axis_damper_right";
  603. memory=1;
  604. minValue=0;
  605. maxValue=0.3;
  606. minPhase=0;
  607. maxPhase=0.3;
  608. source="altRadar";
  609. sourceAddress=0;
  610. selection="damper_right";
  611. };
  612. class IndicatorAltRadar
  613. {
  614. type="rotation";
  615. angle0=0;
  616. angle1=-5.5;
  617. axis="osa_alt";
  618. memory=1;
  619. minValue=0;
  620. maxValue=300;
  621. minPhase=0;
  622. maxPhase=300;
  623. source="altRadar";
  624. sourceAddress=0;
  625. selection="alt";
  626. };
  627. class IndicatorVertSpeed
  628. {
  629. type="rotation";
  630. angle0=3.141593;
  631. angle1=-3.141593;
  632. axis="osa_vert_speed";
  633. memory=1;
  634. minValue=-30;
  635. maxValue=30;
  636. minPhase=-30;
  637. maxPhase=30;
  638. source="vertSpeed";
  639. sourceAddress=0;
  640. selection="vert_speed";
  641. };
  642. class IndicatorVertSpeed2
  643. {
  644. type="rotation";
  645. angle0=3.141593;
  646. angle1=-3.141593;
  647. axis="osa_vert_speed2";
  648. memory=1;
  649. minValue=-30;
  650. maxValue=30;
  651. minPhase=-30;
  652. maxPhase=30;
  653. source="vertSpeed";
  654. sourceAddress=0;
  655. selection="vert_speed2";
  656. };
  657. class IndicatorRPM
  658. {
  659. type="rotation";
  660. angle0=0;
  661. angle1=5.410521;
  662. axis="osa_rpm";
  663. memory=1;
  664. minValue=0;
  665. maxValue=1;
  666. minPhase=0;
  667. maxPhase=1;
  668. source="rpm";
  669. sourceAddress=0;
  670. selection="rpm";
  671. };
  672. class IndicatorRPM2
  673. {
  674. type="rotation";
  675. angle0=0;
  676. angle1=5.410521;
  677. axis="osa_rpm2";
  678. memory=1;
  679. minValue=0;
  680. maxValue=1;
  681. minPhase=0;
  682. maxPhase=1;
  683. source="rpm";
  684. sourceAddress=0;
  685. selection="rpm2";
  686. };
  687. class IndicatorRPM3
  688. {
  689. type="rotation";
  690. angle0=0;
  691. angle1=-5.235988;
  692. axis="osa_rpm3";
  693. memory=1;
  694. minValue=0;
  695. maxValue=0.8;
  696. minPhase=0;
  697. maxPhase=0.8;
  698. source="rpm";
  699. sourceAddress=0;
  700. selection="rpm3";
  701. };
  702. class IndicatorRPM4
  703. {
  704. type="rotation";
  705. angle0=0;
  706. angle1=-5.235988;
  707. axis="osa_rpm4";
  708. memory=1;
  709. minValue=0;
  710. maxValue=0.8;
  711. minPhase=0;
  712. maxPhase=0.8;
  713. source="rpm";
  714. sourceAddress=0;
  715. selection="rpm4";
  716. };
  717. class IndicatorAltBaro
  718. {
  719. type="rotation";
  720. angle0=0;
  721. angle1=-3.141593;
  722. axis="osa_nm_alt";
  723. memory=1;
  724. minValue=0;
  725. maxValue=1000;
  726. minPhase=0;
  727. maxPhase=1000;
  728. source="altBaro";
  729. sourceAddress=0;
  730. selection="nm_alt";
  731. };
  732. class IndicatorAltBaro2
  733. {
  734. type="rotation";
  735. angle0=0;
  736. angle1=-3.141593;
  737. axis="osa_nm_alt2";
  738. memory=1;
  739. minValue=0;
  740. maxValue=1000;
  741. minPhase=0;
  742. maxPhase=1000;
  743. source="altBaro";
  744. sourceAddress=0;
  745. selection="nm_alt2";
  746. };
  747. class IndicatorSpeed
  748. {
  749. type="rotation";
  750. angle0=0;
  751. angle1=-6.108653;
  752. axis="osa_mph";
  753. memory=1;
  754. minValue=0;
  755. maxValue=450;
  756. minPhase=0;
  757. maxPhase=450;
  758. source="speed";
  759. sourceAddress=0;
  760. selection="mph";
  761. };
  762. class IndicatorSpeed2
  763. {
  764. type="rotation";
  765. angle0=0;
  766. angle1=-6.108653;
  767. axis="osa_mph2";
  768. memory=1;
  769. minValue=0;
  770. maxValue=450;
  771. minPhase=0;
  772. maxPhase=450;
  773. source="speed";
  774. sourceAddress=0;
  775. selection="mph2";
  776. };
  777. class rotorTilt
  778. {
  779. type="translation";
  780. offset0=0;
  781. offset1=2.1;
  782. axis="velka osa";
  783. memory=1;
  784. minValue=0;
  785. maxValue=12;
  786. minPhase=0;
  787. maxPhase=12;
  788. source="rpm";
  789. sourceAddress=0;
  790. selection="rotordive";
  791. };
  792. class AH_Bank
  793. {
  794. type="rotationZ";
  795. angle0=6.283185;
  796. angle1=-6.283185;
  797. axis=""; //unknown :(
  798. memory=0;
  799. minValue=-6.283185;
  800. maxValue=6.283185;
  801. minPhase=-6.283185;
  802. maxPhase=6.283185;
  803. source="horizonBank";
  804. sourceAddress=0;
  805. selection="ah_bank";
  806. };
  807. class AH_Pitch
  808. {
  809. type="rotationX";
  810. angle0=-6.283185;
  811. angle1=6.283185;
  812. axis=""; //unknown :(
  813. memory=0;
  814. minValue=-6.283185;
  815. maxValue=6.283185;
  816. minPhase=-6.283185;
  817. maxPhase=6.283185;
  818. source="horizonDive";
  819. sourceAddress=0;
  820. selection="ah_pitch";
  821. };
  822. class AH_Bank2
  823. {
  824. type="rotationZ";
  825. angle0=6.283185;
  826. angle1=-6.283185;
  827. axis=""; //unknown :(
  828. memory=0;
  829. minValue=-6.283185;
  830. maxValue=6.283185;
  831. minPhase=-6.283185;
  832. maxPhase=6.283185;
  833. source="horizonBank";
  834. sourceAddress=0;
  835. selection="ah_bank2";
  836. };
  837. class AH_Pitch2
  838. {
  839. type="rotationX";
  840. angle0=-6.283185;
  841. angle1=6.283185;
  842. axis=""; //unknown :(
  843. memory=0;
  844. minValue=-6.283185;
  845. maxValue=6.283185;
  846. minPhase=-6.283185;
  847. maxPhase=6.283185;
  848. source="horizonDive";
  849. sourceAddress=0;
  850. selection="ah_pitch2";
  851. };
  852. class MainTurret
  853. {
  854. type="rotation";
  855. angle0=-6.283185;
  856. angle1=6.283185;
  857. axis="osaveze";
  858. memory=1;
  859. minValue=-6.283185;
  860. maxValue=6.283185;
  861. minPhase=-6.283185;
  862. maxPhase=6.283185;
  863. source="mainTurret";
  864. sourceAddress=0;
  865. selection="otocvez";
  866. };
  867. class MainGun
  868. {
  869. type="rotation";
  870. angle0=6.283185;
  871. angle1=-6.283185;
  872. axis="osahlavne";
  873. memory=1;
  874. minValue=-6.283185;
  875. maxValue=6.283185;
  876. minPhase=-6.283185;
  877. maxPhase=6.283185;
  878. source="mainGun";
  879. sourceAddress=0;
  880. selection="otochlaven";
  881. };
  882. class MachineGun
  883. {
  884. type="rotation";
  885. angle0=0;
  886. angle1=-1884.956;
  887. axis="gatling_1_axis";
  888. memory=1;
  889. minValue=0;
  890. maxValue=1;
  891. minPhase=0;
  892. maxPhase=1;
  893. source="gatling_1";
  894. sourceAddress=0;
  895. selection="gatling_1";
  896. };
  897.  
  898. class otocvez_damage
  899. {
  900. type="hide";
  901. hideValue=1;
  902. minValue=0;
  903. maxValue=1;
  904. minPhase=0;
  905. maxPhase=1;
  906. source="damage";
  907. sourceAddress=0;
  908. selection="otocvez";
  909. };
  910.  
  911.  
  912. };
  913. };
  914. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement