Advertisement
Guest User

Untitled

a guest
Jun 15th, 2010
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.55 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3. class Tank;
  4. class MARCO_Default
  5. {
  6. isDiscrete=1;
  7. skeletonInherit="";
  8. skeletonBones[]={};
  9. };
  10. class MARCO_Vehicle: MARCO_Default
  11. {
  12. isDiscrete=1;
  13. skeletonInherit="MARCO_Default";
  14. skeletonBones[]=
  15. {
  16. "ukaz_rpm",
  17. "",
  18. "ukaz_rychlo",
  19. "",
  20. "volant",
  21. "",
  22. "otocvez",
  23. "",
  24. "otochlaven",
  25. "otocvez"
  26. };
  27. };
  28. class MARCO_Plane: MARCO_Vehicle
  29. {
  30. skeletonInherit="MARCO_Vehicle";
  31. skeletonBones[]=
  32. {
  33. "alt",
  34. "",
  35. "alt2",
  36. "",
  37. "mph",
  38. "",
  39. "mph2",
  40. "",
  41. "vert_speed",
  42. "",
  43. "vert_speed2",
  44. "",
  45. "nm_alt",
  46. "",
  47. "hud_alt",
  48. "",
  49. "hud_speed",
  50. "",
  51. "rpm",
  52. "",
  53. "kompas",
  54. "",
  55. "kompas2",
  56. "",
  57. "hodinova",
  58. "",
  59. "hodinova2",
  60. "",
  61. "minutova",
  62. "",
  63. "minutova2",
  64. "",
  65. "horizont_dive",
  66. "",
  67. "horizont",
  68. "horizont_dive",
  69. "horizont_dive2",
  70. "",
  71. "horizont2",
  72. "horizont_dive2",
  73. "lkh klapka",
  74. "",
  75. "pkh klapka",
  76. "",
  77. "lkd klapka",
  78. "",
  79. "pkd klapka",
  80. "",
  81. "leva smerovka",
  82. "",
  83. "leva vejskovka",
  84. "",
  85. "prava smerovka",
  86. "",
  87. "prava vejskovka",
  88. "",
  89. "ls klapka",
  90. "",
  91. "ps klapka",
  92. "",
  93. "predni kolo",
  94. "",
  95. "levy kolo",
  96. "",
  97. "pravy kolo",
  98. "",
  99. "vrtule",
  100. "",
  101. "damageHide",
  102. ""
  103. };
  104. };
  105. class MARCO_LearJetskeleton: MARCO_Plane
  106. {
  107. skeletonInherit="MARCO_Plane";
  108. skeletonBones[]=
  109. {
  110. "alt",
  111. "",
  112. "alt2",
  113. "",
  114. "mph",
  115. "",
  116. "mph2",
  117. "",
  118. "vert_speed",
  119. "",
  120. "vert_speed2",
  121. "",
  122. "nm_alt",
  123. "",
  124. "hud_alt",
  125. "",
  126. "hud_speed",
  127. "",
  128. "rpm",
  129. "",
  130. "kompas",
  131. "",
  132. "kompas2",
  133. "",
  134. "hodinova",
  135. "",
  136. "hodinova2",
  137. "",
  138. "minutova",
  139. "",
  140. "minutova2",
  141. "",
  142. "horizont_dive",
  143. "",
  144. "horizont",
  145. "horizont_dive",
  146. "horizont_dive2",
  147. "",
  148. "horizont2",
  149. "horizont_dive2",
  150. "lkh klapka",
  151. "",
  152. "pkh klapka",
  153. "",
  154. "lkd klapka",
  155. "",
  156. "pkd klapka",
  157. "",
  158. "leva smerovka",
  159. "",
  160. "leva vejskovka",
  161. "",
  162. "prava smerovka",
  163. "",
  164. "prava vejskovka",
  165. "",
  166. "ls klapka",
  167. "",
  168. "ps klapka",
  169. "",
  170. "predni kolo",
  171. "",
  172. "levy kolo",
  173. "",
  174. "pravy kolo",
  175. "",
  176. "vrtule",
  177. "",
  178. "damageHide",
  179. "",
  180. "aileron_1",
  181. "",
  182. "aileron_2",
  183. "",
  184. "airbrake_1_1",
  185. "",
  186. "airbrake_1_2",
  187. ""
  188. };
  189. };
  190. class MARCO_Head
  191. {
  192. isDiscrete=0;
  193. skeletonInherit="";
  194. skeletonBones[]=
  195. {
  196. "neck",
  197. "",
  198. "neck1",
  199. "neck",
  200. "head",
  201. "neck1",
  202. "lBrow",
  203. "head",
  204. "mBrow",
  205. "head",
  206. "rBrow",
  207. "head",
  208. "lMouth",
  209. "head",
  210. "mMouth",
  211. "head",
  212. "rMouth",
  213. "head",
  214. "eyelids",
  215. "head",
  216. "LLip",
  217. "head"
  218. };
  219. };
  220. class MARCO_ManSkeleton
  221. {
  222. isDiscrete=0;
  223. skeletonInherit="MARCO_Head";
  224. skeletonBones[]=
  225. {
  226. "weapon",
  227. "",
  228. "launcher",
  229. "",
  230. "Camera",
  231. "",
  232. "Spine",
  233. "",
  234. "Spine1",
  235. "",
  236. "Spine2",
  237. "",
  238. "Spine3",
  239. "",
  240. "Pelvis",
  241. "",
  242. "LeftShoulder",
  243. "",
  244. "LeftArm",
  245. "",
  246. "LeftArmRoll",
  247. "",
  248. "LeftForeArm",
  249. "",
  250. "LeftForeArmRoll",
  251. "",
  252. "LeftHand",
  253. "",
  254. "LeftHandRing",
  255. "",
  256. "LeftHandRing1",
  257. "",
  258. "LeftHandRing2",
  259. "",
  260. "LeftHandRing3",
  261. "",
  262. "LeftHandPinky1",
  263. "",
  264. "LeftHandPinky2",
  265. "",
  266. "LeftHandPinky3",
  267. "",
  268. "LeftHandMiddle1",
  269. "",
  270. "LeftHandMiddle2",
  271. "",
  272. "LeftHandMiddle3",
  273. "",
  274. "LeftHandIndex1",
  275. "",
  276. "LeftHandIndex2",
  277. "",
  278. "LeftHandIndex3",
  279. "",
  280. "LeftHandThumb1",
  281. "",
  282. "LeftHandThumb2",
  283. "",
  284. "LeftHandThumb3",
  285. "",
  286. "RightShoulder",
  287. "",
  288. "RightArm",
  289. "",
  290. "RightArmRoll",
  291. "",
  292. "RightForeArm",
  293. "",
  294. "RightForeArmRoll",
  295. "",
  296. "RightHand",
  297. "",
  298. "RightHandRing",
  299. "",
  300. "RightHandRing1",
  301. "",
  302. "RightHandRing2",
  303. "",
  304. "RightHandRing3",
  305. "",
  306. "RightHandPinky1",
  307. "",
  308. "RightHandPinky2",
  309. "",
  310. "RightHandPinky3",
  311. "",
  312. "RightHandMiddle1",
  313. "",
  314. "RightHandMiddle2",
  315. "",
  316. "RightHandMiddle3",
  317. "",
  318. "RightHandIndex1",
  319. "",
  320. "RightHandIndex2",
  321. "",
  322. "RightHandIndex3",
  323. "",
  324. "RightHandThumb1",
  325. "",
  326. "RightHandThumb2",
  327. "",
  328. "RightHandThumb3",
  329. "",
  330. "LeftUpLeg",
  331. "",
  332. "LeftUpLegRoll",
  333. "",
  334. "LeftLeg",
  335. "",
  336. "LeftLegRoll",
  337. "",
  338. "LeftFoot",
  339. "",
  340. "LeftToeBase",
  341. "",
  342. "RightUpLeg",
  343. "",
  344. "RightUpLegRoll",
  345. "",
  346. "RightLeg",
  347. "",
  348. "RightLegRoll",
  349. "",
  350. "RightFoot",
  351. "",
  352. "RightToeBase",
  353. ""
  354. };
  355. };
  356. };
  357. class Rotation
  358. {
  359. type="rotation";
  360. memory=1;
  361. minValue=0;
  362. maxValue=1;
  363. angle0=0;
  364. angle1=1;
  365. };
  366. class CfgModels
  367. {
  368. class MARCO_Default
  369. {
  370. sectionsInherit="";
  371. sections[]={};
  372. skeletonName="";
  373. };
  374. class Tank;
  375. class MARCO_Vehicle: MARCO_Default
  376. {
  377. sectionsInherit="MARCO_Default";
  378. sections[]=
  379. {
  380. "velka vrtule",
  381. "mala vrtule",
  382. "velka vrtule staticka",
  383. "mala vrtule staticka",
  384. "cislo",
  385. "grupa",
  386. "side",
  387. "sektor",
  388. "clan",
  389. "clan_sign",
  390. "podsvit pristroju",
  391. "poskozeni",
  392. "L svetlo",
  393. "P svetlo",
  394. "otochlaven",
  395. "otocvez",
  396. "volant",
  397. "zasleh"
  398. };
  399. skeletonName="MARCO_Vehicle";
  400. class Animations
  401. {
  402. class damageHide
  403. {
  404. type="hide";
  405. source="damage";
  406. selection="damageHide";
  407. };
  408. class wheel
  409. {
  410. type="rotation";
  411. source="drivingWheel";
  412. selection="volant";
  413. axis="osavolantkon";
  414. memory="false";
  415. angle0="rad 180";
  416. angle1="rad -180";
  417. minValue=-1;
  418. maxValue=1;
  419. };
  420. };
  421. };
  422. class MARCO_Plane: MARCO_Vehicle
  423. {
  424. sectionsInherit="MARCO_Vehicle";
  425. sections[]=
  426. {
  427. "vrtule staticka",
  428. "vrtule blur",
  429. "trup",
  430. "zbytek"
  431. };
  432. skeletonName="MARCO_Plane";
  433. class Animations
  434. {
  435.  
  436.  
  437.  
  438. class AileronL: Rotation
  439. {
  440. source="aileron";
  441. selection="aileron_1";
  442. axis="aileron_1_axis";
  443. minValue=-1.000000;
  444. maxValue=1.000000;
  445. angle0=-0.436332;
  446. angle1=0.523599;
  447. };
  448. class AileronR: AileronL
  449. {
  450. selection="aileron_2";
  451. axis="aileron_2_axis";
  452. angle0=-0.523599;
  453. angle1=0.436332;
  454. };
  455.  
  456. class IndicatorAltRadar: Rotation
  457. {
  458. source="altRadar";
  459. sourceAddress="loop";
  460. selection="alt";
  461. axis="osa_alt";
  462. memory=0;
  463. maxValue=304;
  464. angle1="rad -360";
  465. };
  466. class IndicatorAltRadar2: IndicatorAltRadar
  467. {
  468. selection="alt2";
  469. axis="osa_alt2";
  470. };
  471. class IndicatorAltBaro: Rotation
  472. {
  473. source="altBaro";
  474. selection="nm_alt";
  475. axis="osa_nm_alt";
  476. memory="false";
  477. maxValue=61;
  478. angle1="rad -180";
  479. };
  480. class IndicatorAltBaro2: IndicatorAltBaro
  481. {
  482. selection="nm_alt2";
  483. axis="osa_nm_alt2";
  484. };
  485. class IndicatorSpeed: Rotation
  486. {
  487. source="speed";
  488. selection="mph";
  489. axis="osa_mph";
  490. memory="false";
  491. maxValue=125;
  492. angle1="rad -320";
  493. };
  494. class IndicatorSpeed2: IndicatorSpeed
  495. {
  496. selection="mph2";
  497. axis="osa_mph2";
  498. };
  499. class IndicatorVertSpeed: Rotation
  500. {
  501. source="vertSpeed";
  502. selection="vert_speed";
  503. axis="osa_vert_speed";
  504. minValue=-30;
  505. maxValue=30;
  506. angle1="rad -300";
  507. };
  508. class IndicatorVertSpeed2: IndicatorVertSpeed
  509. {
  510. selection="vert_speed2";
  511. axis="osa_vert_speed2";
  512. };
  513. class IndicatorRPM: Rotation
  514. {
  515. source="rpm";
  516. selection="rpm";
  517. axis="osa_rpm";
  518. memory="false";
  519. maxValue=12;
  520. angle1="rad -320";
  521. };
  522. class IndicatorRPM2: IndicatorRPM
  523. {
  524. selection="rpm2";
  525. axis="osa_rpm2";
  526. };
  527. class IndicatorCompass: Rotation
  528. {
  529. source="direction";
  530. selection="kompas";
  531. axis="osa_kompas";
  532. memory="false";
  533. minValue=-3.141593;
  534. maxValue=3.141593;
  535. angle0=-3.141593;
  536. angle1=3.141593;
  537. };
  538. class IndicatorCompass2: IndicatorCompass
  539. {
  540. selection="kompas2";
  541. axis="osa_kompas2";
  542. };
  543. class WatchHour: Rotation
  544. {
  545. source="clockHour";
  546. selection="hodinova";
  547. axis="osa_time";
  548. memory="false";
  549. angle1="rad -360";
  550. };
  551. class WatchHour2: WatchHour
  552. {
  553. selection="hodinova2";
  554. axis="osa_time2";
  555. };
  556. class WatchMinute: Rotation
  557. {
  558. source="clockMinute";
  559. selection="minutova";
  560. axis="osa_time";
  561. memory="false";
  562. angle1="rad -360";
  563. };
  564. class WatchMinute2: WatchMinute
  565. {
  566. selection="minutova2";
  567. axis="osa_time2";
  568. };
  569. class HorizonBank
  570. {
  571. type="rotationZ";
  572. source="horizonBank";
  573. selection="horizont";
  574. axis="osa_horizont";
  575. memory="false";
  576. minValue="rad -360";
  577. maxValue="rad +360";
  578. angle0="rad -360";
  579. angle1="rad +360";
  580. };
  581. class HorizonDive
  582. {
  583. type="rotationX";
  584. source="horizonDive";
  585. selection="horizont";
  586. axis="osa_horizont";
  587. memory="false";
  588. minValue="rad -360";
  589. maxValue="rad +360";
  590. angle0="rad -360";
  591. angle1="rad +360";
  592. };
  593. class Horizon2Bank: HorizonBank
  594. {
  595. selection="horizont2";
  596. axis="osa_horizont2";
  597. };
  598. class Horizon2Dive: HorizonDive
  599. {
  600. selection="horizont2";
  601. axis="osa_horizont2";
  602. };
  603. class FWheel
  604. {
  605. type="rotation";
  606. source="gear";
  607. selection="predni kolo";
  608. axis="osa predniho kola";
  609. minValue=-1;
  610. maxValue=1;
  611. angle0="rad -104.4";
  612. angle1="rad 104.4";
  613. };
  614. class LWheel: FWheel
  615. {
  616. selection="levy kolo";
  617. axis="osa leveho kola";
  618. angle0="rad -81";
  619. angle1="rad 81";
  620. };
  621. class RWheel: LWheel
  622. {
  623. selection="pravy kolo";
  624. axis="osa praveho kola";
  625. };
  626. class FWheelRot
  627. {
  628. type="rotationX";
  629. source="wheel";
  630. selection="predni kolo rot";
  631. axis="predni kolo rot";
  632. memory="false";
  633. minValue=0;
  634. maxValue=2;
  635. sourceAddress="loop";
  636. angle0=0;
  637. angle1="-rad 360";
  638. };
  639. class LWheelRot: FWheelRot
  640. {
  641. selection="levy kolo rot";
  642. axis="levy kolo rot";
  643. minValue=0;
  644. maxValue=2.300000;
  645. };
  646. class RWheelRot: LWheelRot
  647. {
  648. selection="pravy kolo rot";
  649. axis="pravy kolo rot";
  650. };
  651. class LFlap
  652. {
  653. type="rotation";
  654. source="flap";
  655. selection="ls klapka";
  656. axis="osa ls klapky";
  657. angle0=0;
  658. angle1="rad -28.6";
  659. };
  660. class RFlap
  661. {
  662. type="rotation";
  663. source="flap";
  664. selection="ps klapka";
  665. axis="osa ps klapky";
  666. angle0=0;
  667. angle1="rad 28.6";
  668. };
  669. class LElevator
  670. {
  671. type="rotation";
  672. source="elevator";
  673. selection="leva vejskovka";
  674. axis="osa leve vejskovky";
  675. minValue=-1;
  676. maxValue=1;
  677. angle0="rad 28.6";
  678. angle1="rad -28.6";
  679. };
  680. class RElevator: LElevator
  681. {
  682. selection="prava vejskovka";
  683. axis="osa prave vejskovky";
  684. };
  685. class LAileronT
  686. {
  687. type="rotation";
  688. source="aileronT";
  689. selection="lkh klapka";
  690. axis="osa lkh klapky";
  691. minValue=-0.500000;
  692. maxValue=1.400000;
  693. angle0=-0.500000;
  694. angle1=1.400000;
  695. };
  696. class RAileronT
  697. {
  698. type="rotation";
  699. source="aileronB";
  700. selection="pkh klapka";
  701. axis="osa pkh klapky";
  702. minValue=-1.400000;
  703. maxValue=0.500000;
  704. angle0=-1.400000;
  705. angle1=0.500000;
  706. };
  707. class LAileronB
  708. {
  709. type="rotation";
  710. source="aileronB";
  711. selection="lkd klapka";
  712. axis="osa lkd klapky";
  713. minValue=-1.400000;
  714. maxValue=0.500000;
  715. angle0=-1.400000;
  716. angle1=0.500000;
  717. };
  718. class RAileronB
  719. {
  720. type="rotation";
  721. source="aileronT";
  722. selection="pkd klapka";
  723. axis="osa pkd klapky";
  724. minValue=-0.500000;
  725. maxValue=1.400000;
  726. angle0=-0.500000;
  727. angle1=1.400000;
  728. };
  729. class LRudder
  730. {
  731. type="rotation";
  732. source="rudder";
  733. selection="leva smerovka";
  734. axis="osa leve smerovky";
  735. minValue=-1;
  736. maxValue=1;
  737. angle0="rad 22.9";
  738. angle1="rad -22.9";
  739. };
  740. class RRudder: LRudder
  741. {
  742. selection="prava smerovka";
  743. axis="osa prave smerovky";
  744. };
  745. class Rotor
  746. {
  747. type="rotation";
  748. source="rotor";
  749. selection="vrtule";
  750. axis="osa vrtule";
  751. sourceAddress="1";
  752. angle0=0;
  753. angle1="rad 1440";
  754. };
  755. class Component07_1
  756. {
  757. selection="Component07";
  758. };
  759. class Component07_2
  760. {
  761. selection="Component07";
  762. };
  763. };
  764. };
  765. class LearJet: MARCO_Plane
  766. {
  767. sectionsInherit="MARCO_Plane";
  768. sections[]={};
  769. skeletonName="MARCO_LearJetskeleton";
  770. };
  771. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement