Advertisement
Spookygnu

Hawk_model.cfg

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