Advertisement
Spookygnu

Untitled

Aug 10th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.27 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3.  
  4.  
  5. class Default
  6. {
  7. isDiscrete = 1;
  8. skeletonInherit = "";
  9. skeletonBones[] = {};
  10. };
  11. class Vehicle: Default
  12. {
  13. skeletonInherit="Default";
  14. sections[]={};
  15. sectionsInherit= "";
  16. skeletonBones[]=
  17. {
  18. };
  19. };
  20. class Plane: Vehicle
  21. {
  22. skeletonInherit="";
  23. skeletonBones[]=
  24. {
  25.  
  26. };
  27. };
  28. class spkg_hawkt1 : Plane
  29. {
  30. isDiscrete=0;
  31. skeletonInherit="";
  32. skeletonBones[] =
  33. skeletonName = "spkg_hawkt1Skeleton";
  34. {
  35. "aileronL","",
  36. "aileronR","",
  37. "airbrake","",
  38. "airbrake_piston","airbrake",
  39. "airbrake_piston_2","",
  40. "alt","",
  41. "alt2","",
  42. "canopymain","",
  43. "CollisionLight_Red","",
  44. "CollisionLight_White","",
  45. "compass","",
  46. "compass2","",
  47. "damageHide","",
  48. "ElevatorL","",
  49. "ElevatorR","",
  50. "FlapL","",
  51. "FlapR","",
  52. "fuselage","",
  53. "gear_1","",
  54. "gear_1_damper","gear_1",
  55. "gear_1_steering","gear_1",
  56. "gear_1_steering2","gear_1_damper",
  57. "gear_1_stabil_2","gear_1_damper",
  58. "gear_1_stabil_1","gear_1_stabil_2",
  59. "gear_1_stabil_1","gear_1_steering",
  60. "wheel_1","gear_1_stabil_1",
  61. "gear_2","",
  62. "gear_2_damper","gear_2",
  63. "gear_2_stabil","gear_2",
  64. "wheel_2","gear_2_stabil",
  65. "gear_2_hatch_a","",
  66. "gear_2_hatch_b","",
  67. "gear_2_hatch_c","",
  68. "gear_3","",
  69. "gear_3_damper","gear_3",
  70. "gear_3_stabil","gear_3",
  71. "wheel_3","gear_3_stabil",
  72. "gear_3_hatch_a","",
  73. "gear_3_hatch_b","",
  74. "gear_3_hatch_c","",
  75. "horizontBank","",
  76. "horizont","HorizontBank",
  77. "horizont2","",
  78. "hourhand","",
  79. "hourhand2","",
  80. "hud_alt","",
  81. "hud_speed","",
  82. "minutehand","",
  83. "minutehand2","",
  84. "mph","",
  85. "mph2","",
  86. "nm_alt","",
  87. "nosedoors_back","",
  88. "nosedoors_left","",
  89. "nosedoors_right","",
  90. "PositionLights","",
  91. "rpm","",
  92. "rudder","",
  93. "stick_pilot","",
  94. "vert_speed","",
  95. "vert_speed2",""
  96. };
  97. };
  98. };
  99. class Rotation;
  100. class CfgModels
  101. {
  102. class Default
  103. {
  104. isDiscrete = 1;
  105. skeletonInherit = "";
  106. skeletonBones[] = {};
  107. };
  108. class Vehicle: Default
  109. {
  110. skeletonInherit="default";
  111. sections[]={};
  112. sectionsInherit= "";
  113. skeletonBones[]=
  114. {
  115. };
  116. };
  117. class Plane: Vehicle
  118. {
  119.  
  120. htMin = 60; // Minimum half-cooling time (in seconds)
  121. htMax = 1800; // Maximum half-cooling time (in seconds)
  122. afMax = 200; // Maximum temperature in case the model is alive (in celsius)
  123. mfMax = 100; // Maximum temperature when the model is moving (in celsius)
  124. 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)).
  125. tBody = 0; // Metabolism temperature of the model (in celsius)
  126.  
  127. sectionsInherit="Vehicle";
  128. sections[]=
  129. {
  130. skeletonName = "spkg_hawkt1Skeleton";
  131. class Animations : Animations
  132. {
  133. {
  134. class damageHide
  135. {
  136. type = "hide";
  137. source = "damage";
  138. selection = "damageHide";
  139. };
  140.  
  141. class Canopy: Rotation
  142. {
  143. type = "rotation";
  144. source = "cabin";
  145. selection = "canopymain";
  146. axis = "canopy_axis";
  147. memory = 1;
  148. sourceAddress = "clamp";
  149. minValue = 0.000000;
  150. maxValue = 8.000000;
  151. angle0 = -1.326450;
  152. angle1 = 0.000000;
  153. };
  154. //Wheels//////////////////////////////////////////////////////////
  155. class FWheelRot
  156. {
  157. type = "rotationX";
  158. source = "wheel";
  159. selection = "wheel_1";
  160. axis = "wheel_1_axis";
  161. memory = "false";
  162. minValue = 0;
  163. maxValue = 2;
  164. sourceAddress = "loop";
  165. angle0 = "rad 360";
  166. angle1 = "-rad 360";
  167. };
  168.  
  169. class LWheelRot: FWheelRot
  170. {
  171. selection = "wheel_2";
  172. axis = "wheel_2_axis";
  173. minValue = 1;
  174. maxValue = 2.300000;
  175. };
  176. class RWheelRot: LWheelRot
  177. {
  178. selection = "wheel_3";
  179. axis = "wheel_3_axis";
  180. };
  181.  
  182.  
  183. //Flaps,brakes and elevators///////////////////////////////////////
  184.  
  185. class LFlap
  186. {
  187. type = "rotation";
  188. source = "flap";
  189. selection = "flapL";
  190. axis = "flapL_axis";
  191. angle0 = 0;
  192. angle1 = "rad -20";
  193. };
  194. class RFlap
  195. {
  196. type = "rotation";
  197. source = "flap";
  198. selection = "flapR";
  199. axis = "flapR_axis";
  200. angle0 = 0;
  201. angle1 = "rad 20";
  202. };
  203. class airbrake
  204. {
  205. type = "rotation";
  206. source = "speedbrake";
  207. selection = "airbrake";
  208. axis = "airbrake_axis";
  209. angle0 = 0;
  210. angle1 = "rad -45";
  211. };
  212.  
  213. class LElevator
  214. {
  215. type = "rotation";
  216. source = "elevator";
  217. selection = "elevatorL";
  218. axis = "elevatorL_axis";
  219. minValue = -1;
  220. maxValue = 1;
  221. angle0 = "rad -15";
  222. angle1 = "rad 15";
  223. };
  224.  
  225. class RElevator: LElevator
  226. {
  227. selection = "elevatorR";
  228. axis = "elevatorR_axis";
  229. };
  230.  
  231. class LAileronT
  232. {
  233. type = "rotation";
  234. source = "aileronl";
  235. selection = "aileronL";
  236. axis = "aileronLh_axis";
  237. minValue = "rad -90";
  238. maxValue = "rad 90";
  239. angle0 = "rad -90";
  240. angle1 = "rad 90";
  241. };
  242.  
  243. class RAileronT
  244. {
  245. type = "rotation";
  246. source = "aileronr";
  247. selection = "aileronr";
  248. axis = "aileronrh_axis";
  249. minValue = "rad -90";
  250. maxValue = "rad 90";
  251. angle0 = "rad -90";
  252. angle1 = "rad 90";
  253. };
  254.  
  255. class Rudder: Rotation
  256. {
  257. type = "rotation";
  258. source = "rudder";
  259. selection = "rudder";
  260. axis = "rudder_axis";
  261. minValue = "rad -30";
  262. maxValue = "rad 30";
  263. angle0 = "rad -30";
  264. angle1 = "rad 30";
  265. memory = 1;
  266.  
  267. };
  268. {
  269. class cabinLights
  270. {
  271. type = hide;
  272. source = interiorLights;
  273. selection = "cabin_lights";
  274. minValue = 0.0;
  275. maxValue = 1.0;
  276. hideValue = 0.0;
  277. unHideValue = 0.5;
  278. };
  279. class HorizontBank: Rotation
  280. {
  281. source = horizonBank;
  282. type = "rotationY";
  283. selection = horizontBank;
  284. axis = horizontBank_axis;
  285. minValue = "rad -360";
  286. maxValue = "rad +360";
  287. angle0 = "rad -360";
  288. angle1 = "rad 360";
  289. };
  290. class HorizontDive: Rotation
  291. {
  292. source = horizonDive;
  293. type = "rotationX";
  294. selection = horizont;
  295. axis = horizontDive_axis;
  296. minValue = "rad -360";
  297. maxValue = "rad +360";
  298. angle0 = "rad -360";
  299. angle1 = "rad 360";
  300. };
  301. class Horizon2Bank: Rotation
  302. {
  303. source = "horizonBank";
  304. type = "rotationZ";
  305. selection = "horizont2";
  306. axis = "horizont2_axis";
  307. minValue = "rad -360";
  308. maxValue = "rad 360";
  309. angle0 = "rad -360";
  310. angle1 = "rad 360";
  311. };
  312. class PositionLights
  313. {
  314. type = hide;
  315. source = collisionLights;
  316. selection = "PositionLights";
  317. minValue = 0.0;
  318. maxValue = 1.0;
  319. hideValue = 0.0;
  320. unHideValue = 0.5;
  321. };
  322. class CollisionLight_Red_blinking: PositionLights
  323. {
  324. source = CollisionLightRed_source;
  325. selection = "PositionLight_Red_1_pos";
  326. minValue = 0.5;
  327. maxValue = 1.0;
  328.  
  329. };
  330. class CollisionLight_Green_blinking: PositionLights
  331. {
  332. source = CollisionLightGreen_source;
  333. selection = "PositionLight_Green_1_pos";
  334. minValue = 0.7;
  335. maxValue = 1.0;
  336.  
  337. };
  338. class CollisionLight_White_blinking: PositionLights
  339. {
  340. source = CollisionLightWhite_source;
  341. selection = "PositionLight_White_1_pos";
  342. minValue = 0.000;
  343. maxValue = 0.01;
  344.  
  345. };
  346. class airbrake_piston: Rotation //OK
  347. {
  348. type = "rotation";
  349. source = "speedbrake";
  350. selection = "airbrake_piston";
  351. axis = "airbrake_piston1_axis";
  352. memory = 1;
  353. minValue = 0.00000;
  354. maxValue = 1.0000;
  355. angle0 = "rad -90";
  356. angle1 = "rad 60";
  357. };
  358. //Gears//////////////////////////////////////////
  359.  
  360. class Gear_1: Rotation //OK
  361. {
  362. type = "rotation";
  363. source = "Gear";
  364. selection = "gear_1";
  365. axis = "Gear_1_axis";
  366. memory = 1;
  367. sourceAddress = "clamp";
  368. minValue = 0.00000;
  369. maxValue = 1.0000;
  370. angle0 = 0.000000;
  371. angle1 = 1.95;
  372. };
  373.  
  374. class gear_1_Steering: Rotation
  375. {
  376. type = "rotation";
  377. source = "noseWheelTurn";
  378. selection = "gear_1_Steering";
  379. axis = "gear_1_damper_axis";
  380. memory = 1;
  381. sourceAddress = "clamp";
  382. minValue = "rad -90";
  383. maxValue = "rad 90";
  384. angle0 = "rad -45";
  385. angle1 = "rad 45";
  386. };
  387.  
  388. class gear_1_steering2: gear_1_Steering
  389. {
  390. selection = "gear_1_steering2";
  391. axis = "gear_1_steering2_axis";
  392. angle0 = "rad -90";
  393. angle1 = "rad 90";
  394. };
  395.  
  396. class nosedoorsb: Gear_1
  397. {
  398. selection = "nosedoors_back";
  399. axis = "nosedoorsb_axis";
  400. minValue = 0.00000;
  401. maxValue = 1.00000;
  402. angle0 = "rad 120";
  403. angle1 = "rad 0";
  404. };
  405.  
  406. class nosedoorsl: Gear_1
  407. {
  408. selection = "nosedoors_left";
  409. axis = "nosedoorsl_axis";
  410. minValue = 0.00000;
  411. maxValue = 5.0000;
  412. angle1 = 0.00000;
  413. angle0 = 1.80000;
  414. };
  415.  
  416. class nosedoorsr: Gear_1
  417. {
  418. selection = "nosedoors_right";
  419. axis = "nosedoorsr_axis";
  420. minValue = 0.00000;
  421. maxValue = 5.00000;
  422. angle1 = 0.00000;
  423. angle0 = -1.80000;
  424. };
  425.  
  426. //Gear 1 Damper amd stabiliser//////////////////////////////
  427.  
  428. class gear_1_damper: Rotation
  429. {
  430. type = "translation";
  431. source = "altRadar";
  432. selection = "gear_1_damper";
  433. axis = "gear_1_damper_axis";
  434. memory = 1;
  435. sourceAddress = "clamp";
  436. minValue = 0.000000;
  437. maxValue = 1.000000;
  438. offset0 = 0.200000;
  439. offset1 = -0.450000;
  440. };
  441.  
  442. class gear_1_stabil_1: gear_1_damper
  443. {
  444. type = "rotation";
  445. source = "altRadar";
  446. selection = "gear_1_stabil_1";
  447. axis = "gear_1_stabil_1_axis";
  448. minValue = 0.000000;
  449. maxValue = 1.000000;
  450. angle0 = "rad 25";
  451. angle1 = "rad -30";
  452. };
  453. class gear_1_stabil_2: Rotation
  454. {
  455. type = "rotation";
  456. source = "altRadar";
  457. selection = "gear_1_stabil_2";
  458. axis = "gear_1_stabil_2_axis";
  459. memory = 1;
  460. minValue = 0.000000;
  461. maxValue = 1.000000;
  462. angle0 = "rad 90";
  463. angle1 = "rad -90";
  464. };
  465.  
  466. //Gears//Gear 2///////////////////////////////////////////////
  467.  
  468. class Gear_2: Rotation
  469. {
  470. type = "rotation";
  471. source = "Gear";
  472. selection = "Gear_2";
  473. axis = "Gear_2_axis";
  474. memory = 1;
  475. sourceAddress = "clamp";
  476. minValue = 0.00000;
  477. maxValue = 1.000000;
  478. };
  479.  
  480. //Gear 2 hatches//////////////////////////////////////////////
  481.  
  482. class gear_2_hatch_a: Gear_2
  483. {
  484. selection = "gear_2_hatch_a";
  485. axis = "gear_2_hatcha_axis";
  486. minValue = 0.000000;
  487. maxValue = 1.00000;
  488. angle0 = -1.80000;
  489. angle1 = 0.00000;
  490. };
  491.  
  492. class gear_2_hatch_b: Gear_2
  493. {
  494. selection = "gear_2_hatch_b";
  495. axis = "gear_2_hatchb_axis";
  496. minValue = 0.600000;
  497. maxValue = 1.00000;
  498. };
  499.  
  500. class gear_2_hatch_c: Gear_2
  501. {
  502. selection = "gear_2_hatch_c";
  503. axis = "gear_2_hatchc_axis";
  504. minValue = 1.000000;
  505. maxValue = 1.800000;
  506. angle1 = 0.000000;
  507. angle0 = -1.8;
  508. };
  509.  
  510. //Gear 2 Damper amd stabiliser//////////////////////////////
  511.  
  512. class Gear_2_damper: Rotation
  513. {
  514. type = "translation";
  515. source = "altRadar";
  516. selection = "Gear_2_damper";
  517. axis = "Gear_2_damper_axis";
  518. memory = 1;
  519. sourceAddress = "clamp";
  520. minValue = 0.000000;
  521. maxValue = 1.000000;
  522. offset0 = 0.150000;
  523. offset1 = 0.000000;
  524. };
  525.  
  526. class gear_2_stabil: Rotation
  527. {
  528. type = "Rotation";
  529. source = "altRadar";
  530. selection = "gear_2_stabil";
  531. axis = "gear_2_stabil_axis";
  532. memory = 1;
  533. sourceAddress = "clamp";
  534. minValue = 0.000000;
  535. maxValue = 1.000000;
  536. angle0 = 0.226893;
  537. angle1 = 0.000000;
  538. };
  539.  
  540. //Gears//Gear 3///////////////////////////////////////////////
  541.  
  542. class Gear_3: Rotation
  543. {
  544. type = "rotation";
  545. source = "Gear";
  546. selection = "Gear_3";
  547. axis = "Gear_3_axis";
  548. memory = 1;
  549. sourceAddress = "clamp";
  550. minValue = 0.000000;
  551. maxValue = 1.000000;
  552. };
  553.  
  554. //Gear 3 hatches//////////////////////////////////////////////
  555.  
  556. class gear_3_hatch_a: Gear_3
  557. {
  558. selection = "gear_3_hatch_a";
  559. axis = "gear_3_hatcha_axis";
  560. minValue = 0.000000;
  561. maxValue = 1.00000;
  562. angle1 = 0.00000;
  563. angle0 = 1.80000;
  564. };
  565.  
  566. class gear_3_hatch_b: Gear_3
  567. {
  568. selection = "gear_3_hatch_b";
  569. axis = "gear_3_hatchb_axis";
  570. minValue = 1.000000;
  571. maxValue = 1.800000;
  572. };
  573.  
  574. class gear_3_hatch_c: Gear_3
  575. {
  576. selection = "gear_3_hatch_c";
  577. axis = "gear_3_hatchc_axis";
  578. minValue = 1.000000;
  579. maxValue = 1.800000;
  580. angle1 = 0.000000;
  581. angle0 = -1.8;
  582. };
  583.  
  584. //Gear 3 Damper amd stabiliser//////////////////////////////
  585.  
  586. class Gear_3_damper: Rotation
  587. {
  588. type = "translation";
  589. source = "altRadar";
  590. selection = "Gear_3_damper";
  591. axis = "Gear_3_damper_axis";
  592. memory = 1;
  593. sourceAddress = "clamp";
  594. minValue = 0.000000;
  595. maxValue = 1.000000;
  596. offset0 = 0.150000;
  597. offset1 = 0.000000;
  598. };
  599.  
  600. class gear_3_stabil: Rotation
  601. {
  602. type = "Rotation";
  603. source = "altRadar";
  604. selection = "gear_3_stabil";
  605. axis = "gear_3_stabil_axis";
  606. memory = 1;
  607. sourceAddress = "clamp";
  608. minValue = 0.000000;
  609. maxValue = 1.000000;
  610. angle0 = 0.226893;
  611. angle1 = 0.000000;
  612. };
  613. };
  614. };
  615. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement