Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.43 KB | None | 0 0
  1. #define BULLET_HIDE(x,from,count) class Bullet##x\
  2. {\
  3. type="hide";\
  4. source="revolving";\
  5. sourceAddress="mirror";\
  6. selection=bullet##x;\
  7. minValue=-1.000000;\
  8. maxValue= 0.000000;\
  9. hideValue=((count+x-from-2)/count)+0.00001;\
  10. };
  11. class Rotation;
  12. class CfgSkeletons
  13. {
  14. class Vehicle;
  15. class Car;
  16. class Motorcycle:Car
  17. {
  18. skeletonInherit="Vehicle";
  19. skeletonBones[]=
  20. {
  21. "drivewheel",
  22. "",
  23. "ukaz_rychlo",
  24. "drivewheel",
  25. "ukaz_rychlo2",
  26. "drivewheel",
  27. "ukaz_rpm",
  28. "drivewheel",
  29. "wheel_2_1_damper nerot",
  30. "",
  31. "wheel_2_1_damper",
  32. "drivewheel",
  33. "wheel_2_2_damper",
  34. "",
  35. "wheel_2_1",
  36. "wheel_2_1_damper",
  37. "wheel_2_2",
  38. "wheel_2_2_damper",
  39. "OtocVez",
  40. "",
  41. "OtocHlaven",
  42. "OtocVez",
  43. "stojanek",
  44. ""
  45. };
  46. };
  47. class bicycle: Motorcycle
  48. {
  49. skeletonInherit="Motorcycle";
  50. skeletonBones[]=
  51. {
  52. "slapky",
  53. "",
  54. "slapka l",
  55. "slapky",
  56. "slapka p",
  57. "slapky"
  58. };
  59. };
  60. class BRDM2:Car
  61. {
  62. isDiscrete=1;
  63. skeletonInherit="Car";
  64. skeletonBones[]=
  65. {
  66. /*"drivewheel","",
  67. "ukaz_rychlo","",
  68. "ukaz_rychlo2","",
  69. "ukaz_rpm","",*/
  70. /*"OtocVez","",
  71. "OtocHlaven","OtocVez",*/
  72. "OtocVez_cargo","",
  73. /*"prop_3","",
  74. "prop_4","",*/
  75. "poklopy01","",
  76. "prop_5","",
  77. "RecoilHlaven","otocHlaven"
  78. };
  79. };
  80. class BRDM2_HQ:Car
  81. {
  82. skeletonInherit="BRDM2";
  83. skeletonBones[]=
  84. {
  85. "OtocHlaven_Shake","OtocHlaven",
  86. "ammo_belt","OtocHlaven_Shake",
  87. "bullet001","bullet002",
  88. "bullet002","bullet003",
  89. "bullet003","bullet004",
  90. "bullet004","bullet005",
  91. "bullet005","bullet006",
  92. "bullet006","ammo_belt",
  93. "bullet007hide","OtocHlaven_Shake",
  94. "feedtray_cover","OtocHlaven_Shake",
  95. "magazine","OtocHlaven_Shake"
  96. };
  97. };
  98. class HMMWVSkeleton:Car
  99. {
  100. isDiscrete=1;
  101. skeletonInherit="Car";
  102. skeletonBones[]=
  103. {
  104. "ammo_belt","OtocHlaven"
  105. };
  106. };
  107. class HMMWV_M2_Skeleton:HMMWVSkeleton
  108. {
  109. isDiscrete=1;
  110. skeletonInherit="HMMWVSkeleton";
  111. skeletonBones[]=
  112. {
  113.  
  114. "ammo_belt","OtocHlaven_Shake",
  115. "OtocHlaven_Shake","OtocHlaven",
  116. "bolt","OtocHlaven_Shake",
  117. "recoil","OtocHlaven_Shake",
  118. "charging_handle","OtocHlaven_Shake",
  119. "magazine","OtocHlaven_Shake",
  120. "feedtray_cover","OtocHlaven_Shake",
  121. "bullet001","bullet002",
  122. "bullet002","bullet003",
  123. "bullet003","bullet004",
  124. "bullet004","bullet005",
  125. "bullet005","bullet006",
  126. "bullet006","bullet007",
  127. "bullet007","bullet008",
  128. "bullet008","bullet009",
  129. "bullet009","bullet010",
  130. "bullet010","bullet011",
  131. "bullet011","bullet012",
  132. "bullet012","ammo_belt"
  133. };
  134. };
  135. class 5t_guntruckSkeleton:Car
  136. {
  137. isDiscrete=1;
  138. skeletonInherit="Car";
  139. skeletonBones[]=
  140. {
  141. "ammo_belt",
  142. "OtocHlaven"
  143. };
  144. };
  145. class landrover_mgSkeleton:Car
  146. {
  147. isDiscrete=1;
  148. skeletonInherit="Car";
  149. skeletonBones[]=
  150. {
  151. "ammo_belt",
  152. "OtocHlaven"
  153. };
  154. };
  155. class uaz_mgSkeleton:Car
  156. {
  157. isDiscrete=1;
  158. skeletonInherit="Car";
  159. skeletonBones[]=
  160. {
  161. "ammo_belt","OtocHlaven_Shake",
  162. "OtocHlaven_Shake","OtocHlaven",
  163. "magazine","OtocHlaven_Shake",
  164. "feedtray_cover","OtocHlaven_Shake",
  165. "bullet001","bullet002",
  166. "bullet002","bullet003",
  167. "bullet003","bullet004",
  168. "bullet004","ammo_belt"
  169. };
  170. };
  171. class UAZ_SPG9:Car
  172. {
  173. isDiscrete=1;
  174. skeletonInherit="Car";
  175. skeletonBones[]=
  176. {
  177. "ammo_hide",
  178. "OtocHlaven"
  179. };
  180. };
  181. class Uaz:Car
  182. {
  183. isDiscrete=1;
  184. skeletonInherit="Car";
  185. };
  186. class StrykerSkeleton:Car
  187. {
  188. isDiscrete=1;
  189. skeletonInherit="";
  190. skeletonBones[]=
  191. {
  192. "DriveWheel",
  193. "",
  194. "fuel",
  195. "",
  196. "rpm",
  197. "",
  198. "mph",
  199. "",
  200. "wheel_1_1_damper",
  201. "",
  202. "wheel_1_2_damper",
  203. "",
  204. "wheel_2_1_damper",
  205. "",
  206. "wheel_2_2_damper",
  207. "",
  208. "wheel_3_1_damper",
  209. "",
  210. "wheel_3_2_damper",
  211. "",
  212. "wheel_4_1_damper",
  213. "",
  214. "wheel_4_2_damper",
  215. "",
  216. "wheel_1_1_steering",
  217. "wheel_1_1_damper",
  218. "wheel_1_2_steering",
  219. "wheel_1_2_damper",
  220. "wheel_2_1_steering",
  221. "wheel_2_1_damper",
  222. "wheel_2_2_steering",
  223. "wheel_2_2_damper",
  224. "wheel_1_1",
  225. "wheel_1_1_steering",
  226. "wheel_1_2",
  227. "wheel_1_2_steering",
  228. "wheel_2_1",
  229. "wheel_2_1_steering",
  230. "wheel_2_2",
  231. "wheel_2_2_steering",
  232. "wheel_3_1",
  233. "wheel_3_1_damper",
  234. "wheel_3_2",
  235. "wheel_3_2_damper",
  236. "wheel_4_1",
  237. "wheel_4_1_damper",
  238. "wheel_4_2",
  239. "wheel_4_2_damper",
  240. "turret",
  241. "",
  242. "gun",
  243. "turret",
  244. "hatch_driver",
  245. "",
  246. "hatch_Gunner",
  247. "",
  248. "fuel_1",
  249. "",
  250. "ukaz_rpm",
  251. "",
  252. "ukaz_rychlo",
  253. "",
  254. "prop_01",
  255. "",
  256. "prop_02",
  257. "",
  258. "prop_03",
  259. "",
  260. "prop_04",
  261. "",
  262. "prop_05",
  263. "",
  264. "prop_1",
  265. "",
  266. "prop_2",
  267. "",
  268. "prop_3",
  269. "",
  270. "prop_4",
  271. "",
  272. "prop_5",
  273. "",
  274. "ukaz_rychlo2",
  275. "",
  276. "damageHide",
  277. ""
  278. };
  279. };
  280. class Ural_Zu23:Car
  281. {
  282. skeletonInherit="Car";
  283. skeletonBones[]=
  284. {
  285. "hlaven1",
  286. "otochlaven",
  287. "hlaven2",
  288. "otochlaven"
  289. };
  290. };
  291. class Ural_BM21:Car
  292. {
  293.  
  294. skeletonInherit="Car";
  295. skeletonBones[]=
  296. {
  297.  
  298. "damageVez","OtocVez",
  299. "damageHlaven","OtocHlaven",
  300. "otocvez","",
  301. "otochlaven","otocvez",
  302. "klika","otochlaven",
  303. "paka A","otochlaven",
  304. "paka B","otochlaven",
  305. "mala paka A","otocvez",
  306. "mala paka B","otocvez"
  307. };
  308. };
  309. };
  310. class CfgModels
  311. {
  312. class Vehicle;
  313. class Car: Vehicle
  314. {
  315. sectionsInherit="Vehicle";
  316. sections[]=
  317. {
  318. "ammo",
  319. "sklo predni p",
  320. "sklo predni l",
  321. "zadni svetlo",
  322. "brzdove svetlo",
  323. "spz",
  324. "karoserie",
  325. "motor",
  326. "zbran",
  327. "vez",
  328. "zbytek",
  329. /*
  330. "wheel_1_1_hide",
  331. "wheel_1_2_hide",
  332. "wheel_1_3_hide",
  333. "wheel_1_4_hide",
  334. "wheel_2_1_hide",
  335. "wheel_2_2_hide",
  336. "wheel_2_3_hide",
  337. "wheel_2_4_hide",
  338. */
  339. "clan",
  340. "clan_sign",
  341. "zasleh",
  342. "P svetlo",
  343. "L svetlo",
  344. "palivo",
  345. "glass1",
  346. "glass2",
  347. "glass3",
  348. "glass4"
  349. };
  350. skeletonName="Car";
  351. class Animations
  352. {
  353. // destruct START
  354. class damageHide
  355. {
  356. type="hide";
  357. source="damage"; //damage //test
  358. selection="damageHide";
  359. hideValue=1.0;
  360. };
  361. class damageHideVez:damageHide
  362. {
  363. selection="OtocVez";
  364. };
  365. class damageHideHlaven:damageHide
  366. {
  367. selection="OtocHlaven";
  368. };
  369.  
  370. // Wheels START
  371. // Wheels Complete Destruct START
  372. class wheel_1_1_destruct
  373. {
  374. type="hide";
  375. selection="wheel_1_1_hide";
  376. source="HitLFWheel";
  377. minValue = 0; // upravit na 0.99
  378. maxValue = 1; // upravit na 1.0
  379. hidevalue = 0.99;
  380. };
  381. class wheel_1_2_destruct:wheel_1_1_destruct {source="HitLBWheel";selection="wheel_1_2_hide";};
  382. class wheel_1_3_destruct:wheel_1_1_destruct {source="HitLMWheel";selection="wheel_1_3_hide";};
  383. class wheel_1_4_destruct:wheel_1_1_destruct {source="HitLF2Wheel";selection="wheel_1_4_hide";};
  384.  
  385. class wheel_2_1_destruct:wheel_1_1_destruct {source="HitRFWheel";selection="wheel_2_1_hide";};
  386. class wheel_2_2_destruct:wheel_1_1_destruct {source="HitRBWheel";selection="wheel_2_2_hide";};
  387. class wheel_2_3_destruct:wheel_1_1_destruct {source="HitRMWheel";selection="wheel_2_3_hide";};
  388. class wheel_2_4_destruct:wheel_1_1_destruct {source="HitRF2Wheel";selection="wheel_2_4_hide";};
  389.  
  390. class wheel_1_1_destruct_unhide
  391. {
  392. type="hide";
  393. selection="wheel_1_1_unhide";
  394. source="HitLFWheel";
  395. minValue = -1; // upravit na 0.99
  396. maxValue = 0; // upravit na 1.0
  397. hidevalue = 0.01;
  398. sourceAddress="mirror";
  399. };
  400. class wheel_1_2_destruct_unhide:wheel_1_1_destruct_unhide {source="HitLBWheel";selection="wheel_1_2_unhide";};
  401. class wheel_1_3_destruct_unhide:wheel_1_1_destruct_unhide {source="HitLMWheel";selection="wheel_1_3_unhide";};
  402. class wheel_1_4_destruct_unhide:wheel_1_1_destruct_unhide {source="HitLF2Wheel";selection="wheel_1_4_unhide";};
  403.  
  404. class wheel_2_1_destruct_unhide:wheel_1_1_destruct_unhide {source="HitRFWheel";selection="wheel_2_1_unhide";};
  405. class wheel_2_2_destruct_unhide:wheel_1_1_destruct_unhide {source="HitRBWheel";selection="wheel_2_2_unhide";};
  406. class wheel_2_3_destruct_unhide:wheel_1_1_destruct_unhide {source="HitRMWheel";selection="wheel_2_3_unhide";};
  407. class wheel_2_4_destruct_unhide:wheel_1_1_destruct_unhide {source="HitRF2Wheel";selection="wheel_2_4_unhide";};
  408.  
  409. // Wheels Complete Destruct END
  410.  
  411. #define DamageOffset 0.2
  412. // Wheels Damage START
  413. class wheel_1_1_Damage:wheel_1_1_destruct
  414. {
  415. type="translation";
  416. axis="Basic_Damper_Destruct_Axis";
  417. memory=1;
  418. selection="wheel_1_1_damper_land";
  419. source="HitLFWheel";
  420. minValue = 0.0;
  421. maxValue = 1;
  422. offset0 = 0;
  423. offset1 = DamageOffset;
  424. };
  425. class wheel_1_2_Damage:wheel_1_1_Damage {source="HitLBWheel";selection="wheel_1_2_damper_land";};
  426. class wheel_1_3_Damage:wheel_1_1_Damage {source="HitLMWheel";selection="wheel_1_3_damper_land";};
  427. class wheel_1_4_Damage:wheel_1_1_Damage {source="HitLF2Wheel";selection="wheel_1_4_damper_land";};
  428.  
  429. class wheel_2_1_Damage:wheel_1_1_Damage {source="HitRFWheel";selection="wheel_2_1_damper_land";};
  430. class wheel_2_2_Damage:wheel_1_1_Damage {source="HitRBWheel";selection="wheel_2_2_damper_land";};
  431. class wheel_2_3_Damage:wheel_1_1_Damage {source="HitRMWheel";selection="wheel_2_3_damper_land";};
  432. class wheel_2_4_Damage:wheel_1_1_Damage {source="HitRF2Wheel";selection="wheel_2_4_damper_land";};
  433.  
  434.  
  435. // animace damper smerem nahoru START
  436. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damage {selection="wheel_1_1_damper";offset1 = -1*DamageOffset;};
  437. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitLBWheel";selection="wheel_1_2_damper";};
  438. class wheel_1_3_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitLMWheel";selection="wheel_1_3_damper";};
  439. class wheel_1_4_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitLF2Wheel";selection="wheel_1_4_damper";};
  440.  
  441. class wheel_2_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitRFWheel";selection="wheel_2_1_damper";};
  442. class wheel_2_2_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitRBWheel";selection="wheel_2_2_damper";};
  443. class wheel_2_3_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitRMWheel";selection="wheel_2_3_damper";};
  444. class wheel_2_4_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {source="HitRF2Wheel";selection="wheel_2_4_damper";};
  445. // animace damper smerem nahoru END
  446.  
  447. // Wheels Damage END
  448. // Wheels END
  449.  
  450. //Glass Damage START
  451. class Glass1_destruct
  452. {
  453. type="hide";
  454. selection="glass1";
  455. source="HitGlass1";
  456. minValue = 0; // upravit na 0.99
  457. maxValue = 1; // upravit na 1.0
  458. hidevalue = 0.99;
  459. };
  460. class Glass2_destruct:Glass1_destruct{selection="glass2";source="HitGlass2";};
  461. class Glass3_destruct:Glass1_destruct{selection="glass3";source="HitGlass3";};
  462. class Glass4_destruct:Glass1_destruct{selection="glass4";source="HitGlass4";};
  463. //Glass Damage END
  464.  
  465. // destruct END
  466. class IndicatorSpeed
  467. {
  468. animPeriod=0;
  469. type="rotation";
  470. source="speed";
  471. selection="ukaz_rychlo";
  472. axis="osa_rychlo";
  473. memory=0;
  474. minValue=0.000000;
  475. maxValue=16.670000;
  476. angle0=0.000000;
  477. angle1=2.879793;
  478. };
  479. class IndicatorSpeed2
  480. {
  481. type="rotation";
  482. source="speed";
  483. selection="ukaz_rychlo2";
  484. axis="osa_rychlo2";
  485. memory=0;
  486. animPeriod=0;
  487. minValue=0;
  488. maxValue=16.670000;
  489. angle0=0;
  490. angle1="rad -240";
  491. };
  492. class IndicatorRPM
  493. {
  494. animPeriod=0;
  495. type="rotation";
  496. source="rpm";
  497. selection="ukaz_rpm";
  498. axis="osa_rpm";
  499. memory=0;
  500. minValue=0.000000;
  501. maxValue=1.000000;
  502. angle0=0.000000;
  503. angle1=2.967060;
  504. };
  505. class DrivingWheel
  506. {
  507. type="rotation";
  508. source="drivingWheel";
  509. selection="drivewheel";
  510. axis="driveWheel_axis";
  511. memory=1;
  512. animPeriod=0;
  513. minValue=-1;
  514. maxValue=1;
  515. angle0=-8;
  516. angle1=8;
  517. };
  518. class TurnFrontWheelR
  519. {
  520. type="rotationY";
  521. source="drivingWheel";
  522. selection="wheel_2_1_steering";
  523. axis="wheel_2_1_steering_axis";
  524. memory=1;
  525. animPeriod=0;
  526. sourceAddress="loop";
  527. minValue="rad -180";
  528. maxValue="rad +180";
  529. angle0="rad +90";
  530. angle1="rad -90";
  531. };
  532. class TurnFrontWheelL: TurnFrontWheelR
  533. {
  534. selection="wheel_1_1_steering";
  535. axis="wheel_1_1_steering_axis";
  536. };
  537. class TurnFrontWheelR2: TurnFrontWheelR
  538. {
  539. selection="wheel_2_4_steering";
  540. axis="wheel_2_4_steering_axis";
  541. };
  542. class TurnFrontWheelL2: TurnFrontWheelR
  543. {
  544. selection="wheel_1_4_steering";
  545. axis="wheel_1_4_steering_axis";
  546. };
  547. class FrontWheelR
  548. {
  549. type="rotationX";
  550. source="wheel";
  551. selection="wheel_2_1";
  552. axis="wheel_2_1_axis";
  553. memory=1;
  554. animPeriod=0;
  555. sourceAddress="loop";
  556. minValue=0;
  557. maxValue=1;
  558. angle0=0;
  559. angle1="rad -360";
  560. };
  561. class FrontWheel2R: FrontWheelR
  562. {
  563. selection="wheel_2_4";
  564. axis="wheel_2_4_axis";
  565. };
  566. class BackWheelR: FrontWheelR
  567. {
  568. selection="wheel_2_2";
  569. axis="wheel_2_2_axis";
  570. };
  571. class BackWheel2R: FrontWheelR
  572. {
  573. selection="wheel_2_3";
  574. axis="wheel_2_3_axis";
  575. };
  576. class FrontWheelL: FrontWheelR
  577. {
  578. selection="wheel_1_1";
  579. axis="wheel_1_1_axis";
  580. };
  581. class FrontWheel2L: FrontWheelR
  582. {
  583. selection="wheel_1_4";
  584. axis="wheel_1_4_axis";
  585. };
  586. class BackWheelL: FrontWheelR
  587. {
  588. selection="wheel_1_2";
  589. axis="wheel_1_2_axis";
  590. };
  591. class BackWheel2L: FrontWheelR
  592. {
  593. selection="wheel_1_3";
  594. axis="wheel_1_3_axis";
  595. };
  596. class FrontWheelDamperR
  597. {
  598. type="translationY";
  599. source="damper";
  600. selection="wheel_2_1_damper_land";
  601. axis="";
  602. animPeriod=0;
  603. minValue=-1000;
  604. maxValue=1000;
  605. };
  606. class FrontWheelDamper2R: FrontWheelDamperR
  607. {
  608. selection="wheel_2_4_damper_land";
  609. };
  610. class BackWheelDamperR: FrontWheelDamperR
  611. {
  612. selection="wheel_2_2_damper_land";
  613. };
  614. class BackWheelDamper2R: FrontWheelDamperR
  615. {
  616. selection="wheel_2_3_damper_land";
  617. };
  618. class FrontWheelDamperL: FrontWheelDamperR
  619. {
  620. selection="wheel_1_1_damper_land";
  621. };
  622. class FrontWheelDamper2L: FrontWheelDamperR
  623. {
  624. selection="wheel_1_4_damper_land";
  625. };
  626. class BackWheelDamperL: FrontWheelDamperR
  627. {
  628. selection="wheel_1_2_damper_land";
  629. };
  630. class BackWheelDamper2L: FrontWheelDamperR
  631. {
  632. selection="wheel_1_3_damper_land";
  633. };
  634. class damageVez: damageHide
  635. {
  636. selection="damageVez";
  637. };
  638. class damageHlaven: damageHide
  639. {
  640. selection="damageHlaven";
  641. };
  642. };
  643. };
  644. class Motorcycle: Vehicle
  645. {
  646. sectionsInherit="Vehicle";
  647. sections[]=
  648. {
  649. "ammo",
  650. "sklo predni p",
  651. "sklo predni l",
  652. "zadni svetlo",
  653. "brzdove svetlo",
  654. "spz"
  655. };
  656. skeletonName="Motorcycle";
  657. class Animations
  658. {
  659. class IndicatorSpeed
  660. {
  661. type="rotation";
  662. source="speed";
  663. selection="ukaz_rychlo";
  664. axis="osa_rychlo";
  665. memory=0;
  666. animPeriod=0;
  667. minValue=0;
  668. maxValue="140 / 3.6";
  669. angle0=0;
  670. angle1="rad 280";
  671. };
  672. class IndicatorSpeed2
  673. {
  674. type="rotation";
  675. source="speed";
  676. selection="ukaz_rychlo2";
  677. axis="osa_rychlo2";
  678. memory=0;
  679. animPeriod=0;
  680. minValue=0;
  681. maxValue=16.670000;
  682. angle0=0;
  683. angle1="rad -240";
  684. };
  685. class IndicatorRPM
  686. {
  687. type="rotation";
  688. source="rpm";
  689. selection="ukaz_rpm";
  690. axis="osa_rpm";
  691. memory=0;
  692. animPeriod=0;
  693. minValue=0;
  694. maxValue=1;
  695. angle0=0;
  696. angle1="rad -340";
  697. };
  698. class DrivingWheel
  699. {
  700. type="rotation";
  701. source="drivingWheel";
  702. selection="drivewheel";
  703. begin="osadrivewheelZac";
  704. end="osadrivewheelKon";
  705. memory=1;
  706. animPeriod=0;
  707. minValue=-1;
  708. maxValue=1;
  709. angle0=-18;
  710. angle1=18;
  711. };
  712. class Support
  713. {
  714. type="rotationX";
  715. source="support";
  716. selection="stojanek";
  717. axis="osa stojanku";
  718. memory=1;
  719. animPeriod=0;
  720. angle0=0;
  721. angle1="-rad 90";
  722. };
  723. class FrontWheel
  724. {
  725. type="rotationX";
  726. source="wheel";
  727. selection="wheel_2_1";
  728. axis="";
  729. memory=1;
  730. animPeriod=0;
  731. sourceAddress="loop";
  732. minValue=0;
  733. maxValue=1;
  734. angle0=0;
  735. angle1="rad -360";
  736. };
  737. class BackWheel: FrontWheel
  738. {
  739. selection="wheel_2_2";
  740. };
  741. class FrontWheelDamperVirt
  742. {
  743. type="translationY";
  744. source="FrontDamper";
  745. selection="wheel_2_1_damper nerot";
  746. axis="";
  747. animPeriod=0;
  748. minValue=-1000;
  749. maxValue=1000;
  750. };
  751. class FrontWheelDamper: FrontWheelDamperVirt
  752. {
  753. source="FrontDamper";
  754. selection="wheel_2_1_damper_land";
  755. };
  756. class BackWheelDamper: FrontWheelDamperVirt
  757. {
  758. source="BackDamper";
  759. selection="wheel_2_2_damper_land";
  760. };
  761. };
  762. };
  763. class Bicycle: Motorcycle
  764. {
  765. sectionsInherit="Motorcycle";
  766. skeletonName="Bicycle";
  767. class Animations: Animations
  768. {
  769. class Pedals
  770. {
  771. type="rotation";
  772. source="pedals";
  773. selection="slapky";
  774. axis="osa slapek";
  775. memory="true";
  776. animPeriod=0;
  777. angle0=0;
  778. angle1="rad 360";
  779. };
  780. class PedalL
  781. {
  782. type="rotation";
  783. source="pedals";
  784. selection="slapka L";
  785. axis="osa slapky L";
  786. memory="true";
  787. animPeriod=0;
  788. angle0=0;
  789. angle1="rad -360";
  790. };
  791. class PedalR
  792. {
  793. type="rotation";
  794. source="pedals";
  795. selection="slapka P";
  796. axis="osa slapky P";
  797. memory="true";
  798. animPeriod=0;
  799. angle0=0;
  800. angle1="rad -360";
  801. };
  802. };
  803. };
  804. class ural: Car
  805. {
  806. skeletonName="car";
  807. sectionsInherit="car";
  808. sections[]=
  809. {
  810. "ammo",
  811. "Camo1",
  812. "Camo2"
  813. };
  814. class Animations: Animations
  815. {
  816. // Dampers Destruct START
  817. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.33;};
  818. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.33;};
  819. class wheel_1_3_Damage:wheel_1_3_Damage {offset1 = 0.33;};
  820.  
  821. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.33;};
  822. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.33;};
  823. class wheel_2_3_Damage:wheel_2_3_Damage {offset1 = 0.33;};
  824. // Dampers Destruct END
  825.  
  826. // animace damper smerem nahoru START
  827. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.33;};
  828. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.33;};
  829. class wheel_1_3_Damper_Damage_BackAnim:wheel_1_3_Damper_Damage_BackAnim {offset1 = -0.33;};
  830.  
  831. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.33;};
  832. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.33;};
  833. class wheel_2_3_Damper_Damage_BackAnim:wheel_2_3_Damper_Damage_BackAnim {offset1 = -0.33;};
  834. // animace damper smerem nahoru END
  835.  
  836.  
  837. class TurnFrontWheelR: TurnFrontWheelR
  838. {
  839. angle0="rad +80";
  840. angle1="rad -80";
  841. };
  842. class TurnFrontWheelL: TurnFrontWheelL
  843. {
  844. angle0="rad +80";
  845. angle1="rad -80";
  846. };
  847. class IndicatorSpeed: IndicatorSpeed
  848. {
  849. maxValue=26;
  850. angle1="rad 180";
  851. };
  852. class IndicatorRPM: IndicatorRPM
  853. {
  854. angle1=2.181662;
  855. };
  856. class fuel
  857. {
  858. type="rotation";
  859. source="fuel";
  860. selection="fuel_1";
  861. axis="fuel_1_axis";
  862. memory=0;
  863. minValue=0.000000;
  864. maxValue=1.000000;
  865. angle0=-1.221730;
  866. angle1=1.221730;
  867. };
  868. class prop_1
  869. {
  870. type="rotation";
  871. source="rpm";
  872. selection="prop_1";
  873. axis="prop_1_axis";
  874. memory=0;
  875. minValue=0.000000;
  876. maxValue=1.000000;
  877. angle0=-1.396263;
  878. angle1=-1.919862;
  879. };
  880. class prop_2
  881. {
  882. type="rotation";
  883. source="rpm";
  884. selection="prop_2";
  885. axis="prop_2_axis";
  886. memory=0;
  887. minValue=0.000000;
  888. maxValue=1.000000;
  889. angle0=-1.570796;
  890. angle1=-2.617994;
  891. };
  892. };
  893. };
  894. class Ural_Open: ural
  895. {
  896. sections[]=
  897. {
  898. "Camo1",
  899. "Camo2"
  900. };
  901. };
  902. class ural_refuel: ural
  903. {
  904. sections[]=
  905. {
  906. "Camo1",
  907. "Camo2",
  908. "Camo3"
  909. };
  910. };
  911. class ural_repair: ural
  912. {
  913. sections[]=
  914. {
  915. "Camo1",
  916. "Camo2"
  917. };
  918. };
  919. class ural_reammo: ural
  920. {
  921. sections[]=
  922. {
  923. "Camo1",
  924. "Camo2"
  925. };
  926. };
  927. class ural_civil1: ural
  928. {
  929. sections[]=
  930. {
  931. "Camo1",
  932. "Camo2"
  933. };
  934. };
  935. class ural_civil2: ural
  936. {
  937. sections[]={};
  938. };
  939. class Ural_ZU23: Ural_Open
  940. {
  941. skeletonName="Ural_Zu23";
  942. sectionsInherit="Ural_Open";
  943. sections[]=
  944. {
  945. "zasleh"
  946. };
  947. class Animations:Animations
  948. {
  949. class TurnFrontWheelR:TurnFrontWheelR
  950. {
  951. memory="true";
  952. };
  953. class TurnFrontWheelL: TurnFrontWheelL
  954. {
  955. memory="true";
  956. };
  957. class MainTurret
  958. {
  959. type="rotation";
  960. source="mainTurret";
  961. selection="otocvez";
  962. axis="otocvez_axis";
  963. memory=1;
  964. animPeriod=0;
  965. minValue="rad -360";
  966. maxValue="rad +360";
  967. angle0="rad -360";
  968. angle1="rad +360";
  969. };
  970. class MainGun
  971. {
  972. type="rotation";
  973. source="mainGun";
  974. selection="otochlaven";
  975. axis="otochlaven_axis";
  976. memory=1;
  977. animPeriod=0;
  978. minValue="rad -360";
  979. maxValue="rad +360";
  980. angle0="rad -360";
  981. angle1="rad +360";
  982. };
  983. class MainGun_shake_1
  984. {
  985. type="translation";
  986. source="fire_anim";
  987. selection="otochlaven";
  988. axis="fire_axis";
  989. memory=1;
  990. sourceAddress="mirror";
  991. minValue=0.0;
  992. maxValue=0.00155;
  993. offset0=0.0;
  994. offset1=-0.03;
  995. };
  996. class MainGun_shake_2
  997. {
  998. type="translation";
  999. source="fire_anim";
  1000. selection="otochlaven";
  1001. axis="otocvez_axis";
  1002. memory=1;
  1003. sourceAddress="mirror";
  1004. minValue=0.0;
  1005. maxValue=0.00243;
  1006. offset0=0.0;
  1007. offset1=-0.2;
  1008. };
  1009. class hlaven2_fire
  1010. {
  1011. type="translation";
  1012. source="fire_anim";
  1013. selection="hlaven2";
  1014. axis="fire_axis";
  1015. memory=1;
  1016. sourceAddress="mirror";
  1017. minValue=0.002;
  1018. maxValue=0.005;
  1019. offset0=-0.250000;
  1020. offset1=0.000000;
  1021. };
  1022. class hlaven1_fire
  1023. {
  1024. type="translation";
  1025. source="fire_anim";
  1026. selection="hlaven1";
  1027. axis="fire_axis";
  1028. memory=1;
  1029. sourceAddress="mirror";
  1030. minValue=0.0;
  1031. maxValue=0.002;
  1032. offset0=-0.250000;
  1033. offset1=0.000000;
  1034. };
  1035. };
  1036. };
  1037. class BM21: Ural
  1038. {
  1039. skeletonName="Ural_BM21";
  1040. sections[]=
  1041. {
  1042. "Camo3","Camo1"
  1043. };
  1044. class Animations:Animations
  1045. {
  1046. class TurnFrontWheelR:TurnFrontWheelR
  1047. {
  1048. memory="true";
  1049. };
  1050. class TurnFrontWheelL: TurnFrontWheelL
  1051. {
  1052. memory="true";
  1053. };
  1054. class MainTurret
  1055. {
  1056. type="rotation";
  1057. source="mainTurret";
  1058. selection="otocvez";
  1059. axis="osaveze";
  1060. memory=1;
  1061. animPeriod=0;
  1062. minValue="rad -360";
  1063. maxValue="rad +360";
  1064. angle0="rad -360";
  1065. angle1="rad +360";
  1066. };
  1067. class MainGun
  1068. {
  1069. type="rotation";
  1070. source="mainGun";
  1071. selection="otochlaven";
  1072. axis="osahlavne";
  1073. memory=1;
  1074. animPeriod=0;
  1075. minValue="rad -360";
  1076. maxValue="rad +360";
  1077. angle0="rad -360";
  1078. angle1="rad +360";
  1079. };
  1080. class MainKlika:MainGun
  1081. {
  1082. selection="klika";
  1083. axis="osa klika";
  1084. angle0="rad (-3600*5)";
  1085. angle1="rad (+3600*5)";
  1086. };
  1087. class MainPakaA:MainGun
  1088. {
  1089. selection="Paka A";
  1090. axis="osa Paka A";
  1091. angle0="rad (360)";
  1092. angle1="rad (-360)";
  1093. };
  1094. class MainPakaB:MainGun
  1095. {
  1096. selection="Paka B";
  1097. axis="osa Paka B";
  1098. angle0="rad (-310)";
  1099. angle1="rad (310)";
  1100. };
  1101. class MainMalaPakaA:MainGun
  1102. {
  1103. selection="mala paka A";
  1104. axis="osa paka mala";
  1105. angle0="rad (-310)";
  1106. angle1="rad (310)";
  1107. };
  1108. class MainMalaPakaB:MainMalaPakaA
  1109. {
  1110. selection="mala paka B";
  1111. angle0="rad (-310)";
  1112. angle1="rad (310)";
  1113. };
  1114. };
  1115. };
  1116. class hmmwv: Car
  1117. {
  1118. sectionsInherit="Car";
  1119. sections[]=
  1120. {
  1121. "Camo1"
  1122. };
  1123. skeletonName="HMMWVSkeleton";
  1124. class Animations: Animations
  1125. {
  1126. // Dampers Destruct START
  1127. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.20;};
  1128. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.20;};
  1129. // class wheel_1_3_Damage:wheel_1_3_Damage {offset1 = 0.20;};
  1130.  
  1131. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.20;};
  1132. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.20;};
  1133. // class wheel_2_3_Damage:wheel_2_3_Damage {offset1 = 0.20;};
  1134. // Dampers Destruct END
  1135.  
  1136. // animace damper smerem nahoru START
  1137. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.20;};
  1138. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.20;};
  1139. // class wheel_1_3_Damper_Damage_BackAnim:wheel_1_3_Damper_Damage_BackAnim {offset1 = -0.20;};
  1140.  
  1141. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.20;};
  1142. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.20;};
  1143. // class wheel_2_3_Damper_Damage_BackAnim:wheel_2_3_Damper_Damage_BackAnim {offset1 = -0.20;};
  1144. // animace damper smerem nahoru END
  1145.  
  1146. class IndicatorSpeed: IndicatorSpeed
  1147. {
  1148. maxValue=16.670000;
  1149. angle0=-0.174533;
  1150. angle1=3.141593;
  1151. };
  1152. class IndicatorRPM: IndicatorRPM
  1153. {
  1154. angle0=0.000000;
  1155. angle1=1.483530;
  1156. };
  1157. class fuel
  1158. {
  1159. type="rotation";
  1160. source="fuel";
  1161. selection="fuel_1";
  1162. axis="fuel_1_axis";
  1163. memory=0;
  1164. minValue=0.000000;
  1165. maxValue=1.000000;
  1166. angle0=-0.087266;
  1167. angle1=-1.658063;
  1168. };
  1169. class prop_01
  1170. {
  1171. type="rotation";
  1172. source="rpm";
  1173. selection="prop_01";
  1174. axis="prop_01_axis";
  1175. memory=0;
  1176. minValue=0.000000;
  1177. maxValue=0.360000;
  1178. angle0=1.396263;
  1179. angle1=0.000000;
  1180. };
  1181. class prop_02
  1182. {
  1183. type="rotation";
  1184. source="rpm";
  1185. selection="prop_02";
  1186. axis="prop_02_axis";
  1187. memory=0;
  1188. minValue=0.000000;
  1189. maxValue=0.640000;
  1190. angle0=0.349066;
  1191. angle1=-0.349066;
  1192. };
  1193. };
  1194. };
  1195. class hmmwvTurret: hmmwv
  1196. {
  1197. class Animations: Animations
  1198. {
  1199. class MainTurret
  1200. {
  1201. type="rotationY";
  1202. source="mainTurret";
  1203. selection="OtocVez";
  1204. axis="OsaVeze";
  1205. animPeriod=0;
  1206. minValue="rad -360";
  1207. maxValue="rad +360";
  1208. angle0="rad -360";
  1209. angle1="rad +360";
  1210. };
  1211. class MainGun: MainTurret
  1212. {
  1213. type="rotationX";
  1214. source="mainGun";
  1215. selection="OtocHlaven";
  1216. axis="OsaHlavne";
  1217. };
  1218. class damageHlaven: damageHide
  1219. {
  1220. selection="damageHlaven";
  1221. };
  1222. };
  1223. };
  1224. class hmmwv50: hmmwvTurret
  1225. {
  1226. skeletonName="HMMWV_M2_Skeleton";
  1227. class Animations: Animations
  1228. {
  1229. class ammo_belt_rotation
  1230. {
  1231. type="rotationZ";
  1232. source="ReloadAnim";
  1233. selection="ammo_belt";
  1234. axis="ammo_belt_axis";
  1235. memory=1;
  1236. sourceAddress="loop";
  1237. minValue=0.000000;
  1238. maxValue=1.0000;
  1239. angle0=0.000000;
  1240. angle1=-0.209440;
  1241. };
  1242. class Barrel_recoil:ammo_belt_rotation
  1243. {
  1244. type="translation";
  1245. selection="recoil";
  1246. axis="recoil_axis";
  1247. sourceAddress="mirror";
  1248. minValue=0.0;
  1249. maxValue=0.5;
  1250. offset0=0;
  1251. offset1=-0.05;
  1252. };
  1253. class Bolt_recoil:Barrel_recoil
  1254. {
  1255. selection="bolt";
  1256. offset0=0;
  1257. maxValue=0.5;
  1258. offset1=-0.25;
  1259. };
  1260. class Turret_shake:Barrel_recoil
  1261. {
  1262. selection="OtocHlaven_Shake";
  1263. axis="osaveze";
  1264. offset0=0;
  1265. offset1=-0.002;
  1266. maxValue=0.05;
  1267. };
  1268. class Turret_shake_aside:Turret_shake
  1269. {
  1270. axis="osahlavne";
  1271. maxValue=0.05*1.3;
  1272. };
  1273. class Charging_handle_shake:Barrel_recoil
  1274. {
  1275. type="rotation";
  1276. selection="Charging_handle";
  1277. axis="Charging_handle_axis";
  1278. sourceAddress="mirror";
  1279. maxValue=0.005;
  1280. angle0=0.000000;
  1281. angle1=-0.1;
  1282. };
  1283. class Feedtray_cover_up
  1284. {
  1285. type="rotation";
  1286. source="reloadMagazine";
  1287. selection="feedtray_cover";
  1288. axis="feedtray_cover_axis";
  1289. memory=1;
  1290. minValue=0.1000000;
  1291. maxValue=0.130000;
  1292. angle0=0.000000;
  1293. angle1=-1.570796;
  1294. };
  1295. class Feedtray_cover_down:feedtray_cover_up
  1296. {
  1297. minValue=0.860000;
  1298. maxValue=0.900000;
  1299. angle0=0.000000;
  1300. angle1=1.570796;
  1301. };
  1302. class Bolt_reload_begin:Bolt_recoil
  1303. {
  1304. type="translation";
  1305. sourceAddress="clamp";
  1306. source="reloadMagazine";
  1307. minValue=0.00000;
  1308. maxValue=0.0200000;
  1309. };
  1310. class Bolt_reload_end:bolt_reload_begin
  1311. {
  1312. minValue=0.050000;
  1313. maxValue=0.070000;
  1314. offset0=0;
  1315. offset1=+0.25;
  1316. };
  1317. class Charging_handle_reload_begin:Bolt_reload_begin{selection="Charging_handle";};
  1318. class Charging_handle_reload_end:Bolt_reload_end{selection="Charging_handle";};
  1319.  
  1320. class Magazine_hide
  1321. {
  1322. type="hide";
  1323. source="reloadMagazine";
  1324. sourceAddress="mirror";
  1325. selection="magazine";
  1326. minValue=0.0;
  1327. maxValue=0.5;
  1328. hideValue=0.56;
  1329. };
  1330.  
  1331. BULLET_HIDE(001,12,100)
  1332. BULLET_HIDE(002,12,100)
  1333. BULLET_HIDE(003,12,100)
  1334. BULLET_HIDE(004,12,100)
  1335. BULLET_HIDE(005,12,100)
  1336. BULLET_HIDE(006,12,100)
  1337. BULLET_HIDE(007,12,100)
  1338. BULLET_HIDE(008,12,100)
  1339. BULLET_HIDE(009,12,100)
  1340. BULLET_HIDE(010,12,100)
  1341. BULLET_HIDE(011,12,100)
  1342. BULLET_HIDE(012,12,100)
  1343. };
  1344. };
  1345. class HMMWVmk19: hmmwvTurret
  1346. {
  1347. skeletonName="HMMWVSkeleton";
  1348. class Animations: Animations
  1349. {
  1350. class ammo_belt_rotation
  1351. {
  1352. type="rotationZ";
  1353. source="belt_rotation";
  1354. selection="ammo_belt";
  1355. axis="ammo_belt_axis";
  1356. memory=1;
  1357. sourceAddress="loop";
  1358. minValue=0.000000;
  1359. maxValue=0.020000;
  1360. angle0=0.000000;
  1361. angle1=-0.383972;
  1362. };
  1363. };
  1364. };
  1365. class HMMWVTOW: hmmwvTurret
  1366. {
  1367. sections[]=
  1368. {
  1369. "Camo1","Camo2"
  1370. };
  1371. };
  1372.  
  1373. class landrover_closed: hmmwv
  1374. {
  1375. class Animations: Animations
  1376. {
  1377. class IndicatorSpeed: IndicatorSpeed
  1378. {
  1379. maxValue=41.599998;
  1380. angle0=0.061087;
  1381. angle1=4.363323;
  1382. };
  1383. };
  1384. };
  1385. class landrover_open: landrover_closed
  1386. {
  1387. };
  1388. class landrover_police: landrover_closed
  1389. {
  1390. };
  1391. class landrover_mg: landrover_closed
  1392. {
  1393. skeletonName="landrover_mgSkeleton";
  1394. class Animations: Animations
  1395. {
  1396. class ammo_belt_rotation
  1397. {
  1398. type="rotationZ";
  1399. source="belt_rotation";
  1400. selection="ammo_belt";
  1401. axis="ammo_belt_axis";
  1402. memory=1;
  1403. sourceAddress="loop";
  1404. minValue=0.000000;
  1405. maxValue=0.010000;
  1406. angle0=0.000000;
  1407. angle1=-0.209440;
  1408. };
  1409. class MainTurret
  1410. {
  1411. type="rotationY";
  1412. source="mainTurret";
  1413. selection="OtocVez";
  1414. axis="OsaVeze";
  1415. animPeriod=0;
  1416. minValue="rad -360";
  1417. maxValue="rad +360";
  1418. angle0="rad -360";
  1419. angle1="rad +360";
  1420. };
  1421. class MainGun: MainTurret
  1422. {
  1423. type="rotationX";
  1424. source="mainGun";
  1425. selection="OtocHlaven";
  1426. axis="OsaHlavne";
  1427. };
  1428. };
  1429. };
  1430. class uaz: Car
  1431. {
  1432. sectionsInherit="Car";
  1433. skeletonName="uaz";
  1434. sections[]=
  1435. {
  1436. "camo1",
  1437. "camo2"
  1438. };
  1439. class Animations: Animations
  1440. {
  1441. // Dampers Destruct START
  1442. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.19;};
  1443. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.19;};
  1444.  
  1445. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.19;};
  1446. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.19;};
  1447. // Dampers Destruct END
  1448.  
  1449. // animace damper smerem nahoru START
  1450. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.19;};
  1451. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.19;};
  1452.  
  1453. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.19;};
  1454. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.19;};
  1455. // animace damper smerem nahoru END
  1456.  
  1457. class TurnFrontWheelR: TurnFrontWheelR
  1458. {
  1459. angle0="rad +80";
  1460. angle1="rad -80";
  1461. };
  1462. class TurnFrontWheelL: TurnFrontWheelL
  1463. {
  1464. angle0="rad +80";
  1465. angle1="rad -80";
  1466. };
  1467. class IndicatorSpeed: IndicatorSpeed
  1468. {
  1469. maxValue=33.299999;
  1470. angle1=4.363323;
  1471. };
  1472. class IndicatorRPM: IndicatorRPM
  1473. {
  1474. angle0=-0.610865;
  1475. angle1=0.610865;
  1476. };
  1477. class fuel
  1478. {
  1479. type="rotation";
  1480. source="fuel";
  1481. selection="fuel_1";
  1482. axis="fuel_1_axis";
  1483. memory=0;
  1484. minValue=0.000000;
  1485. maxValue=1.000000;
  1486. angle0=1.396263;
  1487. angle1=0.349066;
  1488. };
  1489. class prop_2
  1490. {
  1491. type="rotation";
  1492. source="rpm";
  1493. selection="prop_2";
  1494. axis="prop_2_axis";
  1495. memory=0;
  1496. minValue=0.000000;
  1497. maxValue=1.000000;
  1498. angle0=0.698132;
  1499. angle1=0.733038;
  1500. };
  1501. class prop_1
  1502. {
  1503. type="rotation";
  1504. source="rpm";
  1505. selection="prop_1";
  1506. axis="prop_1_axis";
  1507. memory=0;
  1508. minValue=0.000000;
  1509. maxValue=1.000000;
  1510. angle0=1.308997;
  1511. angle1=1.326450;
  1512. };
  1513. };
  1514. };
  1515. //base
  1516. class uaz_turret: uaz
  1517. {
  1518. class Animations: Animations
  1519. {
  1520. class MainTurret
  1521. {
  1522. type="rotationY";
  1523. source="mainTurret";
  1524. selection="OtocVez";
  1525. axis="OsaVeze";
  1526. animPeriod=0;
  1527. minValue="rad -360";
  1528. maxValue="rad +360";
  1529. angle0="rad -360";
  1530. angle1="rad +360";
  1531. };
  1532. class MainGun: MainTurret
  1533. {
  1534. type="rotationX";
  1535. source="mainGun";
  1536. selection="OtocHlaven";
  1537. axis="OsaHlavne";
  1538. };
  1539. class fuel
  1540. {
  1541. type="rotation";
  1542. source="fuel";
  1543. selection="fuel_1";
  1544. axis="fuel_1_axis";
  1545. memory=0;
  1546. minValue=0.000000;
  1547. maxValue=1.000000;
  1548. angle0=1.396263;
  1549. angle1=0.349066;
  1550. };
  1551. class prop_2
  1552. {
  1553. type="rotation";
  1554. source="rpm";
  1555. selection="prop_2";
  1556. axis="prop_2_axis";
  1557. memory=0;
  1558. minValue=0.000000;
  1559. maxValue=1.000000;
  1560. angle0=0.698132;
  1561. angle1=0.733038;
  1562. };
  1563. class prop_1
  1564. {
  1565. type="rotation";
  1566. source="rpm";
  1567. selection="prop_1";
  1568. axis="prop_1_axis";
  1569. memory=0;
  1570. minValue=0.000000;
  1571. maxValue=1.000000;
  1572. angle0=1.308997;
  1573. angle1=1.326450;
  1574. };
  1575. };
  1576. };
  1577. class uaz_mg: uaz_turret
  1578. {
  1579. skeletonName="uaz_mgSkeleton";
  1580. class Animations: Animations
  1581. {
  1582. class ammo_belt_rotation
  1583. {
  1584. type="rotationZ";
  1585. source="ReloadAnim";
  1586. selection="ammo_belt";
  1587. axis="ammo_belt_axis";
  1588. memory=1;
  1589. sourceAddress="loop";
  1590. minValue=0.000000;
  1591. maxValue=1.0000;
  1592. angle0=0.000000;
  1593. angle1=-0.209440;
  1594. };
  1595. class Turret_shake:ammo_belt_rotation
  1596. {
  1597. selection="OtocHlaven_Shake";
  1598. axis="osaveze";
  1599. offset0=0;
  1600. offset1=-0.002;
  1601. maxValue=0.05;
  1602. type="translation";
  1603. sourceAddress="mirror";
  1604. minValue=0.0;
  1605. };
  1606. class Turret_shake_aside:Turret_shake
  1607. {
  1608. axis="osahlavne";
  1609. maxValue=0.05*1.3;
  1610. };
  1611. class Feedtray_cover_up
  1612. {
  1613. type="rotation";
  1614. source="reloadMagazine";
  1615. selection="feedtray_cover";
  1616. axis="feedtray_cover_axis";
  1617. memory=1;
  1618. minValue=0.1000000;
  1619. maxValue=0.130000;
  1620. angle0=0.000000;
  1621. angle1=-1.570796;
  1622. };
  1623. class Feedtray_cover_down:feedtray_cover_up
  1624. {
  1625. minValue=0.860000;
  1626. maxValue=0.900000;
  1627. angle0=0.000000;
  1628. angle1=1.570796;
  1629. };
  1630. class Magazine_hide
  1631. {
  1632. type="hide";
  1633. source="reloadMagazine";
  1634. sourceAddress="mirror";
  1635. selection="magazine";
  1636. minValue=0.0;
  1637. maxValue=0.5;
  1638. hideValue=0.56;
  1639. };
  1640. BULLET_HIDE(001,4,50)
  1641. BULLET_HIDE(002,4,50)
  1642. BULLET_HIDE(003,4,50)
  1643. BULLET_HIDE(004,4,50)
  1644. };
  1645. }
  1646. class uaz_granade: uaz_turret
  1647. {
  1648. };
  1649. class uaz_spg9: uaz_turret
  1650. {
  1651. skeletonName="UAZ_SPG9";
  1652. class Animations: Animations
  1653. {
  1654. class ammo_hide
  1655. {
  1656. type="hide";
  1657. source="reloadanim";
  1658. selection="ammo_hide";
  1659. minValue=0;
  1660. maxValue=1;
  1661. hidevalue = 0.1;
  1662. };
  1663. };
  1664. };
  1665. class BRDM2: Car
  1666. {
  1667. sectionsInherit="Car";
  1668. sections[]=
  1669. {
  1670. "Camo1",
  1671. "Camo2"
  1672. };
  1673. skeletonName="BRDM2";
  1674. class Animations: Animations
  1675. {
  1676. // Dampers Destruct START
  1677. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.18;};
  1678. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.18;};
  1679.  
  1680. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.18;};
  1681. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.18;};
  1682. // Dampers Destruct END
  1683.  
  1684. // animace damper smerem nahoru START
  1685. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.18;};
  1686. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.18;};
  1687.  
  1688. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.18;};
  1689. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.18;};
  1690. // animace damper smerem nahoru END
  1691. class MainTurret
  1692. {
  1693. type="rotationY";
  1694. source="mainTurret";
  1695. selection="OtocVez";
  1696. axis="OsaVeze";
  1697. animPeriod=0;
  1698. minValue="rad -360";
  1699. maxValue="rad +360";
  1700. angle0="rad -360";
  1701. angle1="rad +360";
  1702. };
  1703. class MainGun: MainTurret
  1704. {
  1705. type="rotationX";
  1706. source="mainGun";
  1707. selection="OtocHlaven";
  1708. axis="OsaHlavne";
  1709. };
  1710. class TurnFrontWheelR: TurnFrontWheelR
  1711. {
  1712. angle0="rad +80";
  1713. angle1="rad -80";
  1714. };
  1715. class TurnFrontWheelL: TurnFrontWheelL
  1716. {
  1717. angle0="rad +80";
  1718. angle1="rad -80";
  1719. };
  1720. class IndicatorSpeed: IndicatorSpeed
  1721. {
  1722. type="rotation";
  1723. source="speed";
  1724. selection="ukaz_rychlo";
  1725. axis="osa_rychlo";
  1726. memory=0;
  1727. minValue=0.000000;
  1728. maxValue=38.799999;
  1729. angle0=2.443461;
  1730. angle1=-2.478368;
  1731. };
  1732. class IndicatorSpeed2: IndicatorSpeed2
  1733. {
  1734. type="rotation";
  1735. source="speed";
  1736. selection="ukaz_rychlo2";
  1737. axis="osa_rychlo2";
  1738. memory=0;
  1739. minValue=0.000000;
  1740. maxValue=10.000000;
  1741. angle0=-2.268928;
  1742. angle1=-1.396263;
  1743. };
  1744. class IndicatorRPM: IndicatorRPM
  1745. {
  1746. type="rotation";
  1747. source="rpm";
  1748. selection="ukaz_rpm";
  1749. axis="osa_rpm";
  1750. memory=0;
  1751. minValue=0.000000;
  1752. maxValue=1.000000;
  1753. angle0=2.268928;
  1754. angle1=-2.181662;
  1755. };
  1756. class fuel
  1757. {
  1758. type="rotation";
  1759. source="fuel";
  1760. selection="fuel_1";
  1761. axis="fuel_1_axis";
  1762. memory=0;
  1763. minValue=0.000000;
  1764. maxValue=1.000000;
  1765. angle0=-0.436332;
  1766. angle1=0.523599;
  1767. };
  1768. class prop_1
  1769. {
  1770. type="rotation";
  1771. source="fuel";
  1772. selection="prop_1";
  1773. axis="prop_1_axis";
  1774. memory=0;
  1775. minValue=0.000000;
  1776. maxValue=1.000000;
  1777. angle0=0.872665;
  1778. angle1=-0.872665;
  1779. };
  1780. class prop_5
  1781. {
  1782. type="rotation";
  1783. source="rpm";
  1784. selection="prop_5";
  1785. axis="prop_5_axis";
  1786. memory=0;
  1787. minValue=0.340000;
  1788. maxValue=1.000000;
  1789. angle0=0.645772;
  1790. angle1=-0.645772;
  1791. };
  1792. class prop_4
  1793. {
  1794. type="rotation";
  1795. source="rpm";
  1796. selection="prop_4";
  1797. axis="prop_4_axis";
  1798. memory=0;
  1799. minValue=0.300000;
  1800. maxValue=0.840000;
  1801. angle0=0.349066;
  1802. angle1=-0.349066;
  1803. };
  1804. class prop_2
  1805. {
  1806. type="rotation";
  1807. source="rpm";
  1808. selection="prop_2";
  1809. axis="prop_2_axis";
  1810. memory=0;
  1811. minValue=0.000000;
  1812. maxValue=0.540000;
  1813. angle0=0.610865;
  1814. angle1=-0.174533;
  1815. };
  1816. class prop_3
  1817. {
  1818. type="rotation";
  1819. source="rpm";
  1820. selection="prop_3";
  1821. axis="prop_3_axis";
  1822. memory=0;
  1823. minValue=0.000000;
  1824. maxValue=0.260000;
  1825. angle0=0.349066;
  1826. angle1=-0.087266;
  1827. };
  1828. class mainTurret_Cargo
  1829. {
  1830. type="rotationY";
  1831. source="mainTurret";
  1832. selection="OtocVez_cargo";
  1833. axis="OtocVez_cargo_axis";
  1834. memory=0;
  1835. minValue=-6.283190;
  1836. maxValue=6.283190;
  1837. angle0=-6.283185;
  1838. angle1=6.283185;
  1839. };
  1840. class DrivingWheel: DrivingWheel
  1841. {
  1842. axis="drivewheel_axis";
  1843. };
  1844. class poklopy01_1
  1845. {
  1846. type="rotation";
  1847. source="rpm";
  1848. selection="poklopy01";
  1849. axis="poklopy01_axis";
  1850. memory=0;
  1851. minValue=0.000000;
  1852. maxValue=0.200000;
  1853. angle0=0.000000;
  1854. angle1=-0.785398;
  1855. };
  1856. class recoil_BEGIN
  1857. {
  1858. type="translation";
  1859. source="recoil_source";
  1860. selection="RecoilHlaven";
  1861. axis="RecoilHlaven_axis";
  1862. memory=1;
  1863. minValue=0.5;
  1864. maxValue=0.8;
  1865. offset0=0;
  1866. offset1=-0.2;
  1867. };
  1868. class recoil_END:recoil_BEGIN
  1869. {
  1870. minValue=0.85;
  1871. maxValue=1.0;
  1872. offset0=0;
  1873. offset1=0.2;
  1874. };
  1875. };
  1876. };
  1877. class BRDM2_HQ: BRDM2
  1878. {
  1879. skeletonName="BRDM2_HQ";
  1880. class Animations: Animations
  1881. {
  1882. class ammo_belt_rotation
  1883. {
  1884. source="ReloadAnim";
  1885. selection="ammo_belt";
  1886. axis="ammo_belt_axis";
  1887. memory=1;
  1888. offset0=0.184;
  1889. offset1=0.0;
  1890. type="translation";
  1891. minValue=0.3;
  1892. maxValue=1.0;
  1893. };
  1894. class ammo_belt_bullet007hide_hide:ammo_belt_rotation
  1895. {
  1896. type="hide";
  1897. selection="bullet007hide";
  1898. sourceAddress="mirror";
  1899. minValue=-1.0;
  1900. maxValue=0.0;
  1901. hideValue=0.25;
  1902. };
  1903. class feedtray_cover_up
  1904. {
  1905. type="rotation";
  1906. source="reloadMagazine";
  1907. selection="feedtray_cover";
  1908. axis="feedtray_cover_axis";
  1909. memory=1;
  1910. minValue=0.000000;
  1911. maxValue=0.0500000;
  1912. angle0=0.000000;
  1913. angle1=1.570796;
  1914. };
  1915. class feedtray_cover_down:feedtray_cover_up
  1916. {
  1917. minValue=0.950000;
  1918. maxValue=1.000000;
  1919. angle0=0.000000;
  1920. angle1=-1.570796;
  1921. };
  1922. class Turret_shake:ammo_belt_rotation
  1923. {
  1924. type="translation";
  1925. sourceAddress="mirror";
  1926. selection="OtocHlaven_Shake";
  1927. axis="osaveze";
  1928. offset0=0;
  1929. offset1=-0.002;
  1930. minValue=0.0;
  1931. maxValue=0.05;
  1932. };
  1933. class Turret_shake_aside:Turret_shake
  1934. {
  1935. axis="osahlavne";
  1936. maxValue=0.05*1.3;
  1937. offset0=0;
  1938. offset1=-0.02;
  1939. };
  1940. class Magazine_hide
  1941. {
  1942. type="hide";
  1943. source="reloadMagazine";
  1944. sourceAddress="mirror";
  1945. selection="magazine";
  1946. minValue=0.0;
  1947. maxValue=0.5;
  1948. hideValue=0.56;
  1949. };
  1950. BULLET_HIDE(001,7,100)
  1951. BULLET_HIDE(002,7,100)
  1952. BULLET_HIDE(003,7,100)
  1953. BULLET_HIDE(004,7,100)
  1954. BULLET_HIDE(005,7,100)
  1955. BULLET_HIDE(006,7,100)
  1956. class bullet007hide_hide: Magazine_hide
  1957. {
  1958. selection="bullet007hide";
  1959. hideValue=0.01;
  1960. };
  1961. };
  1962. };
  1963. class BRDM2_ATGM: BRDM2
  1964. {
  1965. };
  1966. class skodovka: Car
  1967. {
  1968. skeletonName="car";
  1969. sectionsInherit="car";
  1970. sections[]=
  1971. {
  1972. "Camo1",
  1973. "Camo2"
  1974. };
  1975. class Animations: Animations
  1976. {
  1977. // Dampers Destruct START
  1978. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.12;};
  1979. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.12;};
  1980.  
  1981. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.12;};
  1982. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.12;};
  1983. // Dampers Destruct END
  1984.  
  1985. // animace damper smerem nahoru START
  1986. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.12;};
  1987. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.12;};
  1988.  
  1989. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.12;};
  1990. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.12;};
  1991. // animace damper smerem nahoru END
  1992.  
  1993. class IndicatorSpeed: IndicatorSpeed
  1994. {
  1995. maxValue=50.000000;
  1996. angle1=3.490659;
  1997. };
  1998. class IndicatorRPM: IndicatorRPM
  1999. {
  2000. angle1="rad 175";
  2001. };
  2002. class fuel
  2003. {
  2004. type="rotation";
  2005. source="fuel";
  2006. selection="fuel_1";
  2007. axis="fuel_1_axis";
  2008. memory=0;
  2009. minValue=0.000000;
  2010. maxValue=1.000000;
  2011. angle0=-1.483530;
  2012. angle1=0.000000;
  2013. };
  2014. class prop_01
  2015. {
  2016. type="rotation";
  2017. source="rpm";
  2018. selection="prop_01";
  2019. axis="prop_01_axis";
  2020. memory=0;
  2021. minValue=0.000000;
  2022. maxValue=0.360000;
  2023. angle0=0.000000;
  2024. angle1=0.650000;
  2025. };
  2026. };
  2027. };
  2028. class skodovka_blue: skodovka
  2029. {
  2030. sections[]=
  2031. {
  2032. };
  2033. };
  2034. class skodovka_red: skodovka_blue
  2035. {
  2036. };
  2037. class skodovka_green: skodovka
  2038. {
  2039. };
  2040. class tractor: Car
  2041. {
  2042. };
  2043. class Tractor_2: Car {};
  2044. class bus_city: Car
  2045. {
  2046. };
  2047. class car_hatchback: Car
  2048. {
  2049. skeletonName="car";
  2050. sectionsInherit="car";
  2051. sections[]=
  2052. {
  2053. "Camo1"
  2054. };
  2055. class Animations: Animations
  2056. {
  2057. // Dampers Destruct START
  2058. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.12;};
  2059. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.12;};
  2060.  
  2061. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.12;};
  2062. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.12;};
  2063. // Dampers Destruct END
  2064.  
  2065. // animace damper smerem nahoru START
  2066. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.12;};
  2067. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.12;};
  2068.  
  2069. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.12;};
  2070. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.12;};
  2071. // animace damper smerem nahoru END
  2072. };
  2073. };
  2074. class car_sedan: Car
  2075. {
  2076. skeletonName="car";
  2077. sectionsInherit="car";
  2078. sections[]=
  2079. {
  2080. "Camo1"
  2081. };
  2082. class Animations: Animations
  2083. {
  2084. // Dampers Destruct START
  2085. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.1;};
  2086. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.1;};
  2087.  
  2088. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.1;};
  2089. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.1;};
  2090. // Dampers Destruct END
  2091.  
  2092. // animace damper smerem nahoru START
  2093. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.1;};
  2094. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.1;};
  2095.  
  2096. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.1;};
  2097. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.1;};
  2098. // animace damper smerem nahoru END
  2099. };
  2100. };
  2101. class datsun1_civil_1_open: Car
  2102. {
  2103. skeletonName="car";
  2104. sectionsInherit="car";
  2105. sections[]=
  2106. {
  2107. "Camo1"
  2108. };
  2109. class Animations: Animations
  2110. {
  2111. // Dampers Destruct START
  2112. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.13;};
  2113. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.13;};
  2114.  
  2115. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.13;};
  2116. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.13;};
  2117. // Dampers Destruct END
  2118.  
  2119. // animace damper smerem nahoru START
  2120. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.13;};
  2121. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.13;};
  2122.  
  2123. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.13;};
  2124. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.13;};
  2125. // animace damper smerem nahoru END
  2126.  
  2127. class IndicatorSpeed: IndicatorSpeed
  2128. {
  2129. maxValue=44.400002;
  2130. angle0=0.087266;
  2131. angle1=4.537856;
  2132. };
  2133. class IndicatorRPM: IndicatorRPM
  2134. {
  2135. angle1="rad 175";
  2136. };
  2137. };
  2138. };
  2139. class datsun1_civil_2_covered: datsun1_civil_1_open
  2140. {
  2141. };
  2142. class datsun1_civil_3_open: datsun1_civil_1_open
  2143. {
  2144. };
  2145. class hilux1_civil_1_open: Car
  2146. {
  2147. skeletonName="car";
  2148. sectionsInherit="car";
  2149. sections[]=
  2150. {
  2151. "Camo1"
  2152. };
  2153. class Animations: Animations
  2154. {
  2155. // Dampers Destruct START
  2156. class wheel_1_1_Damage:wheel_1_1_Damage {offset1 = 0.14;};
  2157. class wheel_1_2_Damage:wheel_1_2_Damage {offset1 = 0.14;};
  2158.  
  2159. class wheel_2_1_Damage:wheel_2_1_Damage {offset1 = 0.14;};
  2160. class wheel_2_2_Damage:wheel_2_2_Damage {offset1 = 0.14;};
  2161. // Dampers Destruct END
  2162.  
  2163. // animace damper smerem nahoru START
  2164. class wheel_1_1_Damper_Damage_BackAnim:wheel_1_1_Damper_Damage_BackAnim {offset1 = -0.14;};
  2165. class wheel_1_2_Damper_Damage_BackAnim:wheel_1_2_Damper_Damage_BackAnim {offset1 = -0.14;};
  2166.  
  2167. class wheel_2_1_Damper_Damage_BackAnim:wheel_2_1_Damper_Damage_BackAnim {offset1 = -0.14;};
  2168. class wheel_2_2_Damper_Damage_BackAnim:wheel_2_2_Damper_Damage_BackAnim {offset1 = -0.14;};
  2169. // animace damper smerem nahoru END
  2170.  
  2171. class IndicatorSpeed: IndicatorSpeed
  2172. {
  2173. maxValue=50.000000;
  2174. angle1=3.577925;
  2175. };
  2176. class IndicatorRPM: IndicatorRPM
  2177. {
  2178. angle1="rad 175";
  2179. };
  2180. };
  2181. };
  2182. class hilux1_civil_2_covered: hilux1_civil_1_open
  2183. {
  2184. };
  2185. class hilux1_civil_3_open: hilux1_civil_1_open
  2186. {
  2187. };
  2188.  
  2189. class Flag;
  2190. class Flag_alone: Flag
  2191. {
  2192. sections[] = {"latka"};
  2193. vertexSelections[]={"latka"};
  2194. };
  2195. class FLAG_auto: Flag
  2196. {
  2197. sections[] = {"latka"};
  2198. vertexSelections[]={"latka"};
  2199. };
  2200.  
  2201. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement