Advertisement
Spookygnu

model.cfg

Aug 10th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.59 KB | None | 0 0
  1. #define ADD_COMPONENT(component) \
  2. class Add##component \
  3. { \
  4. selection = z_##component; \
  5. source = Add##component; \
  6. type = hide; \
  7. sourceAddress = mirror; \
  8. minValue = -1; \
  9. maxValue = 0; \
  10. hideValue = 0.5; \
  11. };
  12.  
  13. class Rotation
  14. {
  15. type = "rotation";
  16. memory = 1;
  17. minValue = 0;
  18. maxValue = 1;
  19. angle0 = 0;
  20. angle1 = 1;
  21. };
  22.  
  23. class CfgSkeletons
  24. {
  25. class Default
  26. {
  27. isDiscrete = 1;
  28. skeletonInherit = "";
  29. skeletonBones[] = {};
  30. };
  31. class Vehicle : Default {};
  32. class Plane: Vehicle
  33. {
  34. skeletonInherit="Vehicle";
  35. skeletonBones[]=
  36. {
  37. "alt","",
  38. "alt2","",
  39. "mph","",
  40. "mph2","",
  41. "vert_speed","",
  42. "vert_speed2","",
  43. "nm_alt","",
  44. "hud_alt","",
  45. "hud_speed","",
  46. "rpm","",
  47. "kompas","",
  48. "kompas2","",
  49. "hodinova","",
  50. "hodinova2","",
  51. "minutova","",
  52. "minutova2","",
  53. "lkh klapka","",
  54. "pkh klapka","",
  55. "lkd klapka","",
  56. "pkd klapka","",
  57. "leva smerovka","",
  58. "left elevator","",
  59. "prava smerovka","",
  60. "right elevator","",
  61. "ls klapka","",
  62. "predni kolo","",
  63. "levy kolo","",
  64. "pravy kolo","",
  65. "vrtule 1","",
  66. "vrtule","",
  67. "damageHide","",
  68. "airbrake",""
  69. };
  70. };
  71. class Plane_Base_F: Plane
  72. {
  73. skeletonInherit = "Plane";
  74. skeletonBones[] =
  75. {
  76. "stick_pilot.001",""
  77. };
  78. };
  79. class spkg_hawkt1: Plane_Base_F
  80. {
  81. isDiscrete = 0;
  82. skeletonInherit = "Plane_Base_F";
  83. skeletonBones[] =
  84. {
  85. "stick_pilot.001","",
  86. "horizontBank","",
  87. "horizont","HorizontBank",
  88. "horizont2","",
  89. "rotor","",
  90. "flapL","",
  91. "flapR","",
  92. "elevatorL","",
  93. "elevatorR","",
  94. "rudder","",
  95. "rudder_Small","rudder",
  96. "aileronL","",
  97. "aileronR","",
  98. "airbrake","",
  99. "airbrakeL","",
  100. "airbrakeR","",
  101. "canopymain","",
  102. "nosedoors_back","",
  103. "nosedoors_left","",
  104. "nosedoors_right","",
  105. "damper_1","",
  106. "gear_1_steering","damper_1",
  107. "gear_1_Steering2","damper_1",
  108. "gear_1_damper","gear_1_steering",
  109. "gear_1_stabil_1","gear_1_steering",
  110. "gear_1_stabil_2","gear_1_stabil_1",
  111. "wheel_1","gear_1_stabil_2",
  112. "gear_2","",
  113. "gear_2_damper","gear_2",
  114. "gear_2_stabil","gear_2",
  115. "wheel_2","gear_2_stabil",
  116. "gear_2_hatch_a","",
  117. "gear_2_hatch_b","",
  118. "gear_2_hatch_c","",
  119. "gear_3","",
  120. "gear_3_damper","gear_3",
  121. "gear_3_stabil","gear_3",
  122. "wheel_3","gear_3_stabil",
  123. "gear_3_hatch_a","",
  124. "gear_3_hatch_b","",
  125. "gear_3_hatch_c","",
  126. "ladder","",
  127. "ladder_1","",
  128. "rpm1","",
  129. "rpm2","",
  130. "rpm3","",
  131. "rpm4","",
  132. "rpm5","",
  133. "rpm6","",
  134. "rpm7","",
  135. "rpm8","",
  136. "kompas1","",
  137. "sekundova","",
  138. "climb","",
  139. "speed","",
  140. "fuel","",
  141. "monitory","",
  142. "PositionLights", "",
  143. "CollisionLight_Red", "",
  144. "CollisionLight_White", ""
  145. };
  146. };
  147. };
  148. class CfgModels
  149. {
  150. class Default
  151. {
  152. sectionsInherit="";
  153. sections[] = {};
  154. skeletonName = "";
  155. };
  156. class Vehicle: Default
  157. {
  158. sections[] =
  159. {
  160. "cislo",
  161. "grupa",
  162. "side",
  163. "sektor",
  164. "clan",
  165. "clan_sign",
  166. "podsvit pristroju",
  167. "poskozeni",
  168. "L svetlo",
  169. "P svetlo",
  170. "zasleh"
  171. };
  172. };
  173. class Plane: Vehicle
  174. {
  175. htMin = 60; // Minimum half-cooling time (in seconds)
  176. htMax = 1800; // Maximum half-cooling time (in seconds)
  177. afMax = 200; // Maximum temperature in case the model is alive (in celsius)
  178. mfMax = 100; // Maximum temperature when the model is moving (in celsius)
  179. mFact = 0; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)).
  180. tBody = 0; // Metabolism temperature of the model (in celsius)
  181.  
  182.  
  183. sectionsInherit="Vehicle";
  184. sections[]=
  185. {
  186. "vrtule staticka",
  187. "vrtule blur",
  188. "trup",
  189. "zbytek"
  190. };
  191. skeletonName="Plane";
  192. class Animations
  193. {
  194.  
  195. class damageHide
  196. {
  197. type="hide";
  198. source="damage";
  199. selection="damageHide";
  200. };
  201. class IndicatorAltBaro: Rotation
  202. {
  203. source="altBaro";
  204. sourceAddress="loop";
  205. selection="alt";
  206. axis="osa_alt";
  207. memory=0;
  208. maxValue=304;
  209. angle1="rad -360";
  210. };
  211. class IndicatorAltBaro2: IndicatorAltBaro
  212. {
  213. selection="alt2";
  214. axis="osa_alt2";
  215. };
  216. class IndicatorAltRadar: Rotation
  217. {
  218. source="altRadar";
  219. selection="nm_alt";
  220. axis="osa_nm_alt";
  221. memory="false";
  222. maxValue=61;
  223. angle1="rad -180";
  224. };
  225. class IndicatorAltRadar2: IndicatorAltRadar
  226. {
  227. selection="nm_alt2";
  228. axis="osa_nm_alt2";
  229. };
  230. class IndicatorSpeed: Rotation
  231. {
  232. source="speed";
  233. selection="mph";
  234. axis="osa_mph";
  235. memory="false";
  236. maxValue=125;
  237. angle1="rad -320";
  238. };
  239. class IndicatorSpeed2: IndicatorSpeed
  240. {
  241. selection="mph2";
  242. axis="osa_mph2";
  243. };
  244. class IndicatorVertSpeed: Rotation
  245. {
  246. source="vertSpeed";
  247. selection="vert_speed";
  248. axis="osa_vert_speed";
  249. minValue=-30;
  250. maxValue=30;
  251. angle1="rad -300";
  252. };
  253. class IndicatorVertSpeed2: IndicatorVertSpeed
  254. {
  255. selection="vert_speed2";
  256. axis="osa_vert_speed2";
  257. };
  258. class IndicatorRPM: Rotation
  259. {
  260. source="rpm";
  261. selection="rpm";
  262. axis="osa_rpm";
  263. memory="false";
  264. maxValue=12;
  265. angle1="rad -320";
  266. };
  267. class IndicatorRPM2: IndicatorRPM
  268. {
  269. selection="rpm2";
  270. axis="osa_rpm2";
  271. };
  272. class IndicatorCompass: Rotation
  273. {
  274. source="direction";
  275. selection="kompas";
  276. axis="osa_kompas";
  277. memory="false";
  278. minValue=-3.141593;
  279. maxValue=3.141593;
  280. angle1="rad -360";
  281. };
  282. class IndicatorCompass2: IndicatorCompass
  283. {
  284. selection="kompas2";
  285. axis="osa_kompas2";
  286. };
  287. class WatchHour: Rotation
  288. {
  289. source="clockHour";
  290. selection="hodinova";
  291. axis="osa_time";
  292. memory="false";
  293. angle1="rad -360";
  294. };
  295. class WatchHour2: WatchHour
  296. {
  297. selection="hodinova2";
  298. axis="osa_time2";
  299. };
  300. class WatchMinute: Rotation
  301. {
  302. source="clockMinute";
  303. selection="minutova";
  304. axis="osa_time";
  305. memory="false";
  306. angle1="rad -360";
  307. };
  308. class WatchMinute2: WatchMinute
  309. {
  310. selection="minutova2";
  311. axis="osa_time2";
  312. };
  313. class FWheel
  314. {
  315. type="rotation";
  316. source="gear";
  317. selection="nosewheel";
  318. axis="nosewheel_axis";
  319. minValue=-1;
  320. maxValue=1;
  321. angle0="rad -104.4";
  322. angle1="rad 104.4";
  323. };
  324. class LWheel: FWheel
  325. {
  326. selection="gear_2";
  327. axis="gear_2_axis";
  328. angle0="rad -35";
  329. angle1="rad 35.00000";
  330. };
  331. class RWheel: LWheel
  332. {
  333. selection="gear_3";
  334. axis="gear_3_axis";
  335. angle0="rad -35";
  336. angle1="rad 35.000000";
  337. };
  338. class FWheelRot
  339. {
  340. type="rotationX";
  341. source="wheel";
  342. selection="wheel_1";
  343. axis="wheel_1_axis";
  344. memory="false";
  345. minValue=0;
  346. maxValue=2;
  347. sourceAddress="loop";
  348. angle0="rad 360";
  349. angle1="-rad 360";
  350. };
  351.  
  352. class LWheelRot: FWheelRot
  353. {
  354. selection="wheel_2";
  355. axis="wheel_2_axis";
  356. minValue=1;
  357. maxValue=2.300000;
  358. };
  359. class RWheelRot: LWheelRot
  360. {
  361. selection="wheel_3";
  362. axis="wheel_3_axis";
  363. };
  364. class LFlap
  365. {
  366. type="rotation";
  367. source="flap";
  368. selection="flapL";
  369. axis="flapL_axis";
  370. angle0=0;
  371. angle1="rad -20";
  372. };
  373. class RFlap
  374. {
  375. type="rotation";
  376. source="flap";
  377. selection="flapR";
  378. axis="flapR_axis";
  379. angle0=0;
  380. angle1="rad 20";
  381. };
  382. class airbrakeLeft
  383. {
  384. type="rotation";
  385. source="flap";
  386. selection="airbrakeL";
  387. axis="airbrake_left_axis";
  388. angle0=0;
  389. angle1="rad -20";
  390. };
  391. class airbrakeRight
  392. {
  393. type="rotation";
  394. source="flap";
  395. selection="airbrakeR";
  396. axis="airbrake_right_axis";
  397. angle0=0;
  398. angle1="rad 20";
  399. };
  400. class airbrake
  401. {
  402. type="rotation";
  403. source="speedbrake";
  404. selection="airbrake";
  405. axis="airbrake_axis";
  406. angle0=0;
  407. angle1="rad 20";
  408. };
  409. class LElevator
  410. {
  411. type="rotation";
  412. source="elevator";
  413. selection="elevatorL";
  414. axis="elevatorL_axis";
  415. minValue=-1;
  416. maxValue=1;
  417. angle0="rad -15";
  418. angle1="rad 15";
  419. };
  420. class RElevator: LElevator
  421. {
  422. selection="elevatorR";
  423. axis="elevatorR_axis";
  424. };
  425. class LAileronT
  426. {
  427. type="rotation";
  428. source="aileronl";
  429. selection="aileronL";
  430. axis="aileronLh_axis";
  431. minValue="rad -90";
  432. maxValue="rad 90";
  433. angle0="rad -90";
  434. angle1= "rad 90";
  435. };
  436. class RAileronT
  437. {
  438. type="rotation";
  439. source="aileronr";
  440. selection="aileronr";
  441. axis="aileronrh_axis";
  442. minValue="rad -90";
  443. maxValue="rad 90";
  444. angle0="rad -90";
  445. angle1= "rad 90";
  446. };
  447. class Rotor0
  448. {
  449. type="rotation";
  450. source="rotor";
  451. selection="vrtule";
  452. axis="osa vrtule";
  453. angle0=0;
  454. angle1="rad 360";
  455. };
  456. class Rotor1: Rotor0
  457. {
  458. selection="vrtule 1";
  459. axis="osa vrtule 1";
  460. };
  461. };
  462. };
  463. class Plane_Base_F: Plane
  464. {
  465. skeletonName = Plane_Base_F;
  466.  
  467. class Animations: Animations
  468. {
  469. class Stick_Pilot_Bank
  470. {
  471. type="rotation";
  472. axis="stick_pilot_bank_axis";
  473. source="aileron";
  474. selection="stick_pilot.001";
  475. minValue="rad -360";
  476. maxValue="rad 360";
  477. angle0="rad -44";
  478. angle1="rad 44";
  479. };
  480. class Stick_Pilot_Dive
  481. {
  482. type="rotation";
  483. axis="stick_pilot_dive_axis";
  484. source="elevator";
  485. selection="stick_pilot.001";
  486. minValue="rad -360";
  487. maxValue="rad 360";
  488. angle0="rad -44";
  489. angle1="rad 44";
  490. };
  491. };
  492. };
  493. class spkg_hawkt1: Plane_Base_F
  494. {
  495. sectionsInherit = Plane_Base_F;
  496. sections[] =
  497. {
  498. "zbytek",
  499. "podsvit pristroju",
  500. "clan",
  501. "clan_sign",
  502. "trup",
  503. "motor",
  504. "palivo",
  505. "Light_L",
  506. "Light_R",
  507. "sklo predni L",
  508. "camo1",
  509. "camo2"
  510. };
  511. skeletonName = "spkg_hawkt1";
  512. class Animations: Animations
  513. {
  514. class Rotor: Rotation
  515. {
  516. type = "rotation";
  517. source = "rotor";
  518. selection = "rotor";
  519. axis = "rotor_axis";
  520. memory = 1;
  521. sourceAddress = "clamp";
  522. minValue = 0.000000;
  523. maxValue = 1.000000;
  524. angle0 = 0.000000;
  525. angle1 = 6.283185;
  526. };
  527.  
  528. class FlapL: Rotation
  529. {
  530. source = "flap";
  531. selection = "FlapL";
  532. axis = "FlapL_axis";
  533. minValue = 0.000000;
  534. maxValue = 1.000000;
  535. angle0 = 0.00000;
  536. angle1 = 0.045000;
  537.  
  538. };
  539. class FlapR: FlapL
  540. {
  541. selection = "FlapR";
  542. axis = "FlapR_axis";
  543. angle1 = 0.000000;
  544. angle0 = 0.00000;
  545. };
  546.  
  547. class AileronL: Rotation
  548. {
  549. source = "aileron";
  550. selection = "aileronL";
  551. axis = "aileronLH_axis";
  552. minValue="rad -90";
  553. maxValue="rad 90";
  554. angle0="rad -45";
  555. angle1= "rad 45";
  556. };
  557. class AileronR: AileronL
  558. {
  559. selection = "aileronR";
  560. axis = "aileronRH_axis";
  561. angle0="rad 45";
  562. angle1= "rad -45";
  563. };
  564. class ElevatorL: Rotation
  565. {
  566. source = "elevator";
  567. selection = "elevatorL";
  568. axis = "elevatorL_axis";
  569. minValue = -1.000000;
  570. maxValue = 1.000000;
  571. angle0 = -0.05;
  572. angle1 = 0.05;
  573. };
  574. class ElevatorR: ElevatorL
  575. {
  576. selection = "elevatorR";
  577. axis = "elevatorR_axis";
  578. angle0 = -0.05;
  579. angle1 = 0.05;
  580. };
  581. class Rudder: Rotation
  582. {
  583. source = "rudder";
  584. selection = "rudder";
  585. axis = "rudder_axis";
  586. minValue = -1.000000;
  587. maxValue = 1.000000;
  588. angle0 = -0.375246;
  589. angle1 = 0.375246;
  590. memory = 1;
  591.  
  592. };
  593. class Rudder_Small: Rudder
  594. {
  595. selection = "rudder_Small";
  596. axis = "rudder_Small_axis";
  597. };
  598. class Canopy: Rotation
  599. {
  600. type = "rotation";
  601. source = "cabin";
  602. selection = "canopymain";
  603. axis = "canopy_axis";
  604. memory = 1;
  605. sourceAddress = "clamp";
  606. minValue = 0.000000;
  607. maxValue = 8.000000;
  608. angle0 = -1.326450;
  609. angle1 = 0.000000;
  610. };
  611. class Gear_1: Rotation //OK
  612. {
  613. type = "rotation";
  614. source = "Gear";
  615. selection = "damper_1";
  616. axis = "Gear_1_axis";
  617. memory = 1;
  618. sourceAddress = "clamp";
  619. minValue = 0.00000;
  620. maxValue = 1.0000;
  621. angle0 = 0.000000;
  622. angle1 = 1.95;
  623. };
  624. class gear_1_Steering: Rotation
  625. {
  626. type = "rotation";
  627. source = "noseWheelTurn";
  628. selection = "gear_1_Steering";
  629. axis = "gear_1_damper_axis";
  630. memory = 1;
  631. sourceAddress = "clamp";
  632. minValue = "rad -90";
  633. maxValue = "rad 90";
  634. angle0 = "rad -45";
  635. angle1 = "rad 45";
  636. };
  637. class gear_1_Steering2: gear_1_Steering
  638. {
  639. selection = "gear_1_Steering2";
  640. axis = "gear_1_Steering2_axis";
  641. angle0 = "rad 45";
  642. angle1 = "rad -45";
  643. };
  644. class nosedoorsb: Gear_1
  645. {
  646. selection = "nosedoors_back";
  647. axis = "nosedoorsb_axis";
  648. minValue = 0.00000;
  649. maxValue = 1.00000;
  650. angle0 = 0.000000;
  651. angle1 = -2.4;
  652. };
  653. class nosedoorsl: Gear_1
  654. {
  655. selection = "nosedoors_left";
  656. axis = "nosedoorsl_axis";
  657. minValue = 0.00000;
  658. maxValue = 1.0000;
  659. angle1 = 0.00000;
  660. angle0 = 1.80000;
  661.  
  662. };
  663. class nosedoorsr: Gear_1
  664. {
  665. selection = "nosedoors_right";
  666. axis = "nosedoorsr_axis";
  667. minValue = 0.00000;
  668. maxValue = 1.00000;
  669. angle1 = 0.00000;
  670. angle0 = -1.80000;
  671.  
  672. };
  673. class gear_1_damper: Rotation
  674. {
  675. type = "translation";
  676. source = "altRadar";
  677. selection = "gear_1_damper";
  678. axis = "gear_1_damper_axis";
  679. memory = 1;
  680. sourceAddress = "clamp";
  681. minValue = 0.000000;
  682. maxValue = 1.000000;
  683. offset0 = 0.000000;
  684. offset1 = 0.120000;
  685. };
  686. class gear_1_stabil_1: gear_1_damper
  687. {
  688. type = "rotation";
  689. selection = "gear_1_stabil_1";
  690. axis = "gear_1_stabil_1_axis";
  691. angle1 = 0.261799;
  692. };
  693. class Gear_2: Rotation
  694. {
  695. type = "rotation";
  696. source = "Gear";
  697. selection = "Gear_2";
  698. axis = "Gear_2_axis";
  699. memory = 1;
  700. sourceAddress = "clamp";
  701. minValue = 0.00000;
  702. maxValue = 1.000000;
  703. };
  704. class gear_2_hatch_a: Gear_2
  705. {
  706. selection = "gear_2_hatch_a";
  707. axis = "gear_2_hatcha_axis";
  708. minValue = 0.000000;
  709. maxValue = 1.00000;
  710. angle0 = -1.80000;
  711. angle1 = 0.00000;
  712.  
  713. };
  714. class gear_2_hatch_b: Gear_2
  715. {
  716. selection = "gear_2_hatch_b";
  717. axis = "gear_2_hatchb_axis";
  718. minValue = 0.600000;
  719. maxValue = 1.00000;
  720.  
  721. };
  722. class gear_2_hatch_c: Gear_2
  723. {
  724. selection = "gear_2_hatch_c";
  725. axis = "gear_2_hatchc_axis";
  726. minValue = 1.000000;
  727. maxValue = 1.800000;
  728. angle1 = 0.000000;
  729. angle0 = -1.8;
  730. };
  731. class gear_2_piston_2: Gear_2
  732. {
  733. selection = "gear_2_piston_2";
  734. axis = "gear_2_piston_2_axis";
  735. minValue = 0.000000;
  736. maxValue = 1.000000;
  737. angle0 = 0.000000;
  738. angle1 = 0.959931;
  739. };
  740. class gear_2_piston_1: Gear_2
  741. {
  742. selection = "gear_2_piston_1";
  743. axis = "gear_2_piston_1_axis";
  744. minValue = 0.000000;
  745. maxValue = 1.000000;
  746. angle0 = 0.000000;
  747. angle1 = 0.523599;
  748. };
  749. class Gear_2_damper: Rotation
  750. {
  751. type = "translation";
  752. source = "altRadar";
  753. selection = "Gear_2_damper";
  754. axis = "Gear_2_damper_axis";
  755. memory = 1;
  756. sourceAddress = "clamp";
  757. minValue = 0.000000;
  758. maxValue = 1.000000;
  759. offset0 = 0.150000;
  760. offset1 = 0.000000;
  761. };
  762. class gear_2_stabil: Rotation
  763. {
  764. type = "Rotation";
  765. source = "altRadar";
  766. selection = "gear_2_stabil";
  767. axis = "gear_2_stabil_axis";
  768. memory = 1;
  769. sourceAddress = "clamp";
  770. minValue = 0.000000;
  771. maxValue = 1.000000;
  772. angle0 = 0.226893;
  773. angle1 = 0.000000;
  774. };
  775.  
  776. class Gear_3: Rotation
  777. {
  778. type = "rotation";
  779. source = "Gear";
  780. selection = "Gear_3";
  781. axis = "Gear_3_axis";
  782. memory = 1;
  783. sourceAddress = "clamp";
  784. minValue = 0.000000;
  785. maxValue = 1.000000;
  786.  
  787. };
  788. class gear_3_hatch_a: Gear_3
  789. {
  790. selection = "gear_3_hatch_a";
  791. axis = "gear_3_hatcha_axis";
  792. minValue = 0.000000;
  793. maxValue = 1.00000;
  794. angle1 = 0.00000;
  795. angle0 = 1.80000;
  796.  
  797. };
  798. class gear_3_hatch_b: Gear_3
  799. {
  800. selection = "gear_3_hatch_b";
  801. axis = "gear_3_hatchb_axis";
  802. minValue = 1.000000;
  803. maxValue = 1.800000;
  804.  
  805. };
  806. class gear_3_hatch_c: Gear_3
  807. {
  808. selection = "gear_3_hatch_c";
  809. axis = "gear_3_hatchc_axis";
  810. minValue = 1.000000;
  811. maxValue = 1.800000;
  812. angle1 = 0.000000;
  813. angle0 = -1.8;
  814. };
  815. class airbrakeL: flapL
  816. {
  817. source = "flap";
  818. selection = "airbrakeL";
  819. axis = "airbrake_left_axis";
  820. minValue = 0.000000;
  821. maxValue = 1.800000;
  822. angle1 = 0.000000;
  823. angle0 = 0.000000;
  824. };
  825. class airbrakeR: flapR
  826. {
  827. source = "flap";
  828. selection = "airbrakeR";
  829. axis = "airbrake_right_axis";
  830. minValue = 1.000000;
  831. maxValue = 1.800000;
  832. angle1 = 0.000000;
  833. angle0 = 0.000000;
  834. };
  835. class airbrake: flapR
  836. {
  837. source = "speedbrake";
  838. selection = "airbrake";
  839. axis = "airbrake_axis";
  840. minValue = 0.000000;
  841. maxValue = 1.800000;
  842. angle0 = 0.000000;
  843. angle1 = -1.000000;
  844.  
  845. };
  846.  
  847. class gear_3_piston_2: Gear_3
  848. {
  849. selection = "gear_3_piston_2";
  850. axis = "gear_3_piston_2_axis";
  851. minValue = 0.000000;
  852. maxValue = 1.000000;
  853. angle0 = 0.000000;
  854. angle1 = -0.959931;
  855. };
  856. class gear_3_piston_1: Gear_3
  857. {
  858. selection = "gear_3_piston_1";
  859. axis = "gear_3_piston_1_axis";
  860. minValue = 0.000000;
  861. maxValue = 1.000000;
  862. angle0 = 0.000000;
  863. angle1 = -0.523599;
  864. };
  865. class Gear_3_damper: Rotation
  866. {
  867. type = "translation";
  868. source = "altRadar";
  869. selection = "Gear_3_damper";
  870. axis = "Gear_3_damper_axis";
  871. memory = 1;
  872. sourceAddress = "clamp";
  873. minValue = 0.000000;
  874. maxValue = 1.000000;
  875. offset0 = -0.150000;
  876. offset1 = 0.000000;
  877. };
  878. class gear_3_stabil: Rotation
  879. {
  880. type = "Rotation";
  881. source = "altRadar";
  882. selection = "gear_3_stabil";
  883. axis = "gear_3_stabil_axis";
  884. memory = 1;
  885. sourceAddress = "clamp";
  886. minValue = 0.000000;
  887. maxValue = 1.000000;
  888. angle0 = -0.226893;
  889. angle1 = 0.000000;
  890. };
  891. class Ladder_1: Rotation
  892. {
  893. type = "rotation";
  894. source = "cabin";
  895. selection = "ladder_1";
  896. axis = "ladder_1_axis";
  897. memory = 1;
  898. sourceAddress = "clamp";
  899. minValue = 0.000000;
  900. maxValue = 8.000000;
  901. angle0 = 2.000000;
  902. angle1 = 0.000000;
  903. };
  904. class Ladder: Rotation
  905. {
  906. type = "rotation";
  907. source = "cabin";
  908. selection = "ladder";
  909. axis = "ladder_rot_axis";
  910. memory = 1;
  911. sourceAddress = "clamp";
  912. minValue = 0.000000;
  913. maxValue = 8.000000;
  914. angle0 = 1.000000;
  915. angle1 = 0.000000;
  916. };
  917. class Wheel_1
  918. {
  919. source = "wheel";
  920. sourceAddress = "loop";
  921. type = "rotationX";
  922. selection = "wheel_1";
  923. axis = "wheel_1_axis";
  924. memory = 1;
  925. minValue = 0;
  926. maxValue = 1;
  927. angle0 = "rad 0";
  928. angle1 = "rad -180";
  929. };
  930. class Wheel_2: Wheel_1
  931. {
  932. selection = "wheel_2";
  933. axis = "wheel_2_axis";
  934. };
  935. class Wheel_3: Wheel_1
  936. {
  937. selection = "wheel_3";
  938. axis = "wheel_3_axis";
  939. };
  940. class IndicatorRPM: Rotation
  941. {
  942. source = "rpm";
  943. selection = "rpm";
  944. axis = "rpm_axis";
  945. memory = 1;
  946. minValue = 0.000000;
  947. maxValue = 1.000000;
  948. angle0 = 0.000000;
  949. angle1 = "rad 180";
  950. };
  951. class IndicatorRPM1: IndicatorRPM
  952. {
  953. selection = "rpm1";
  954. axis = "rpm1_axis";
  955. angle1 = "rad 150";
  956. };
  957. class IndicatorRPM2: IndicatorRPM
  958. {
  959. selection = "rpm2";
  960. axis = "rpm2_axis";
  961. angle1 = "rad 210";
  962. };
  963. class IndicatorRPM3: IndicatorRPM
  964. {
  965. selection = "rpm3";
  966. axis = "rpm3_axis";
  967. angle1 = "rad 45";
  968. };
  969. class IndicatorRPM4: IndicatorRPM
  970. {
  971. selection = "rpm4";
  972. axis = "rpm4_axis";
  973. angle1 = "rad -20";
  974. };
  975. class IndicatorRPM5: IndicatorRPM
  976. {
  977. selection = "rpm5";
  978. axis = "rpm5_axis";
  979. angle1 = "rad -110";
  980. };
  981. class IndicatorRPM6: IndicatorRPM
  982. {
  983. selection = "rpm6";
  984. axis = "rpm6_axis";
  985. angle1 = "rad 80";
  986. };
  987. class IndicatorRPM7: IndicatorRPM
  988. {
  989. selection = "rpm7";
  990. axis = "rpm7_axis";
  991. angle1 = "rad -80";
  992. };
  993. class IndicatorRPM8: IndicatorRPM
  994. {
  995. selection = "rpm8";
  996. axis = "rpm8_axis";
  997. angle1 = "rad 53";
  998. };
  999. class IndicatorCompass1: Rotation
  1000. {
  1001. source = "direction";
  1002. selection = "kompas1";
  1003. axis = "kompas1_axis";
  1004. memory = 1;
  1005. minValue = "rad -180";
  1006. maxValue = "rad 180";
  1007. angle0 = "rad -180";
  1008. angle1 = "rad 180";
  1009. };
  1010. class IndicatorCompass2: IndicatorCompass1
  1011. {
  1012. selection = "kompas2";
  1013. axis = "kompas2_axis";
  1014. };
  1015. class HorizontBank: Rotation
  1016. {
  1017. source = horizonBank;
  1018. selection = horizontBank;
  1019. axis = horizontBank_axis;
  1020. minValue = "rad -360";
  1021. maxValue = "rad +360";
  1022. angle0 = "rad -360";
  1023. angle1 = "rad 360";
  1024. };
  1025. class HorizontDive: Rotation
  1026. {
  1027. source = horizonDive;
  1028. selection = horizont;
  1029. axis = horizontDive_axis;
  1030. minValue = "rad -360";
  1031. maxValue = "rad +360";
  1032. angle0 = "rad -360";
  1033. angle1 = "rad 360";
  1034. };
  1035. class Horizon2Bank: Rotation
  1036. {
  1037. source = "horizonBank";
  1038. type = "rotationZ";
  1039. selection = "horizont2";
  1040. axis = "horizont2_axis";
  1041. minValue = "rad -360";
  1042. maxValue = "rad 360";
  1043. angle0 = "rad -360";
  1044. angle1 = "rad 360";
  1045. };
  1046. class WatchHour: Rotation
  1047. {
  1048. source = "clockHour";
  1049. selection = "hodinova";
  1050. axis = "minutova_axis";
  1051. angle1 = "rad -360";
  1052. };
  1053. class WatchMinute: WatchHour
  1054. {
  1055. source = "clockMinute";
  1056. selection = "minutova";
  1057. };
  1058. class WatchSecond: WatchHour
  1059. {
  1060. source = "clockSecond";
  1061. selection = "sekundova";
  1062. };
  1063. // plus start
  1064. class IndicatorClimbPlus_1: rotation
  1065. {
  1066. source = "vertSpeed";
  1067. selection = "climb";
  1068. axis = "climb_axis";
  1069. memory = 1;
  1070. minValue=0;
  1071. maxValue=16.667;
  1072. angle0=0;
  1073. angle1="rad 61";
  1074. };
  1075. class IndicatorClimbPlus_2: IndicatorClimbPlus_1
  1076. {
  1077. minValue=16.667;
  1078. maxValue=33.334;
  1079. angle0=0;
  1080. angle1="rad 30.5";
  1081. };
  1082. class IndicatorClimbPlus_3: IndicatorClimbPlus_2
  1083. {
  1084. minValue=33.334;
  1085. maxValue=100;
  1086. angle0=0;
  1087. angle1="rad 81";
  1088. };
  1089. // minus start
  1090. class IndicatorClimbMinus_1: rotation
  1091. {
  1092. source = "vertSpeed";
  1093. selection = "climb";
  1094. axis = "climb_axis";
  1095. memory = 1;
  1096. minValue=-16.667;
  1097. maxValue=0 ;
  1098. angle0="rad -61";
  1099. angle1=0;
  1100. };
  1101. class IndicatorClimbMinus_2: IndicatorClimbMinus_1
  1102. {
  1103. minValue=-33.334;
  1104. maxValue=-16.667;
  1105. angle0="rad -30.5";
  1106. angle1=0;
  1107. };
  1108. class IndicatorClimbMinus_3: IndicatorClimbMinus_1
  1109. {
  1110. minValue=-100;
  1111. maxValue=-33.334;
  1112. angle0="rad -81";
  1113. angle1=0;
  1114. };
  1115. // minus end
  1116. class IndicatorSpeed_1_5
  1117. {
  1118. type = "rotation";
  1119. source = "speed";
  1120. selection = "speed";
  1121. axis = "mph_axis";
  1122. memory = 1;
  1123. minValue = 0.00000;
  1124. maxValue = 51.47700;
  1125. angle0 = 0;
  1126. angle1 = "rad 88.6";
  1127. };
  1128. class IndicatorSpeed_2_5: IndicatorSpeed_1_5
  1129. {
  1130. minValue = 51.47701;
  1131. maxValue = 77.21600 ;
  1132. angle1 = "rad 57.5";
  1133. };
  1134. class IndicatorSpeed_3_5: IndicatorSpeed_1_5
  1135. {
  1136. minValue = 77.21601;
  1137. maxValue = 102.95500;
  1138. angle1 = "rad 34";
  1139. };
  1140. class IndicatorSpeed_4_5: IndicatorSpeed_1_5
  1141. {
  1142. minValue = 102.95501;
  1143. maxValue = 154.43200;
  1144. angle1 = "rad 54.5";
  1145. };
  1146. class IndicatorSpeed_5_5: IndicatorSpeed_1_5
  1147. {
  1148. minValue = 154.43201;
  1149. maxValue = 308.86400;
  1150. angle1 = "rad 111";
  1151. };
  1152. class IndicatorFuel
  1153. {
  1154. type = "rotation";
  1155. source = "fuel";
  1156. selection = "fuel";
  1157. axis = "fuel_axis";
  1158. memory = 1;
  1159. minValue = 0;
  1160. maxValue = 1;
  1161. angle0 = 0;
  1162. angle1 = "rad 240";
  1163. };
  1164. class Monitors_on
  1165. {
  1166. type = "hide";
  1167. source = "rpm";
  1168. selection = "monitory";
  1169. sourceAddress = "mirror";
  1170. minValue = -1.5;
  1171. maxValue = 0;
  1172. hideValue = 0.99;
  1173. };
  1174. class IndicatorAltBaro
  1175. {
  1176. type = "rotation";
  1177. source = "altBaro";
  1178. selection = "alt";
  1179. axis="alt_axis";
  1180. memory = 1;
  1181. sourceAddress = "loop";
  1182. minValue = 0;
  1183. maxValue = 304.8;
  1184. angle0 = 0;
  1185. angle1 = "rad 360";
  1186. };
  1187. class PositionLights
  1188. {
  1189. type = hide;
  1190. source = collisionLights;
  1191. selection = "PositionLights";
  1192. minValue = 0.0;
  1193. maxValue = 1.0;
  1194. hideValue = 0.0;
  1195. unHideValue = 0.5;
  1196. };
  1197. class CollisionLight_Red_blinking: PositionLights
  1198. {
  1199. source = CollisionLightRed_source;
  1200. selection = "PositionLight_Red_1_pos";
  1201. minValue = 0.5;
  1202. maxValue = 1.0;
  1203.  
  1204. };
  1205. class CollisionLight_Green_blinking: PositionLights
  1206. {
  1207. source = CollisionLightGreen_source;
  1208. selection = "PositionLight_Green_1_pos";
  1209. minValue = 0.7;
  1210. maxValue = 1.0;
  1211.  
  1212. };
  1213. class CollisionLight_White_blinking: PositionLights
  1214. {
  1215. source = CollisionLightWhite_source;
  1216. selection = "PositionLight_White_1_pos";
  1217. minValue = 0.000;
  1218. maxValue = 0.01;
  1219.  
  1220. };
  1221. class cabinLights
  1222. {
  1223. type = hide;
  1224. source = interiorLights;
  1225. selection = "cabin_lights";
  1226. minValue = 0.0;
  1227. maxValue = 1.0;
  1228. hideValue = 0.0;
  1229. unHideValue = 0.5;
  1230. };
  1231. };
  1232. };
  1233. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement