Advertisement
soldierman

Chinook- ModelCFG

Oct 16th, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.69 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3. class Vehicle;
  4. class Helicopter: Vehicle
  5. {
  6. skeletonInherit="Vehicle";
  7. skeletonBones[]={};
  8. };
  9. class CH_47F_Skeleton: Helicopter
  10. {
  11. isDiscrete=0;
  12. skeletonInherit="Helicopter";
  13. skeletonBones[]=
  14. {
  15. "gatling_1",
  16. "otochlaven",
  17. "otocvez",
  18. "",
  19. "otochlaven",
  20. "otocvez",
  21. "gatling_2",
  22. "otochlaven_2",
  23. "otocvez_2",
  24. "",
  25. "otochlaven_2",
  26. "otocvez_2",
  27. "OtocVez_3",
  28. "",
  29. "stick_pilot",
  30. "",
  31. "stick_copilot",
  32. "",
  33. "lever_pilot",
  34. "",
  35. "lever_copilot",
  36. "",
  37. "kompas",
  38. "",
  39. "kompas01",
  40. "",
  41. "kompasvalec",
  42. "",
  43. "horizont",
  44. "",
  45. "horizont_b",
  46. "",
  47. "horizont01",
  48. "",
  49. "horizont01_b",
  50. "",
  51. "rucicka_01",
  52. "",
  53. "rucicka_01a",
  54. "",
  55. "rucicka_02",
  56. "",
  57. "rucicka_02a",
  58. "",
  59. "rucicka_03",
  60. "",
  61. "rucicka_03a",
  62. "",
  63. "rucicka_04",
  64. "",
  65. "rucicka_04a",
  66. "",
  67. "rucicka_05",
  68. "",
  69. "rucicka_05a",
  70. "",
  71. "rucicka_06",
  72. "",
  73. "rucicka_06a",
  74. "",
  75. "rucicka_07",
  76. "",
  77. "rucicka_07a",
  78. "",
  79. "display_off",
  80. "",
  81. "vyskomer",
  82. "",
  83. "ramp",
  84. "",
  85. "mala vrtule",
  86. "",
  87. "velka vrtule",
  88. "",
  89. "wheel_1_1",
  90. "",
  91. "wheel_2_1",
  92. "",
  93. "wheel_1_2",
  94. "",
  95. "wheel_2_2",
  96. ""
  97. };
  98. };
  99. };
  100. class CfgModels
  101. {
  102. class Vehicle;
  103. class Helicopter: Vehicle
  104. {
  105. sectionsInherit="Vehicle";
  106. sections[]={};
  107. skeletonName="Helicopter";
  108. };
  109. class CH_47F: Helicopter
  110. {
  111. skeletonName="CH_47F_Skeleton";
  112. sections[]=
  113. {
  114. "svetlo",
  115. "mala vrtule blur",
  116. "mala vrtule staticka",
  117. "velka vrtule blur",
  118. "velka vrtule staticka",
  119. "stick_pilot",
  120. "",
  121. "stick_copilot",
  122. "",
  123. "lever_pilot",
  124. "",
  125. "lever_copilot",
  126. "",
  127. "podsvit pristroju",
  128. "zasleh",
  129. "zasleh_1",
  130. "camo1",
  131. "camo2",
  132. "camo3"
  133. };
  134. class Animations
  135. {
  136. class Rotation;
  137. class Stick_Pilot_Bank
  138. {
  139. type="rotation";
  140. source="cyclicAside";
  141. memory=1;
  142. animPeriod=0;
  143. sourceAddress="clamp";
  144. selection="stick_pilot";
  145. axis="stick_pilot2_axis";
  146. minValue=-0.1;
  147. maxValue=0.1;
  148. angle0=0.1;
  149. angle1=-0.1;
  150. };
  151. class Stick_CoPilot_Bank: Stick_Pilot_Bank
  152. {
  153. type="rotation";
  154. source="cyclicAside";
  155. memory=1;
  156. animPeriod=0;
  157. sourceAddress="clamp";
  158. selection="stick_copilot";
  159. axis="stick_copilot2_axis";
  160. minValue=-0.1;
  161. maxValue=0.1;
  162. angle0=0.1;
  163. angle1=-0.1;
  164. };
  165. class Stick_Pilot_Dive
  166. {
  167. type="rotation";
  168. source="cyclicForward";
  169. memory=1;
  170. animPeriod=0;
  171. sourceAddress="clamp";
  172. selection="stick_pilot";
  173. axis="stick_pilot_axis";
  174. minValue=-0.1;
  175. maxValue=0.1;
  176. angle0=-0.1;
  177. angle1=0.1;
  178. };
  179. class Stick_CoPilot_Dive: Stick_Pilot_Dive
  180. {
  181. type="rotation";
  182. source="cyclicForward";
  183. memory=1;
  184. animPeriod=0;
  185. sourceAddress="clamp";
  186. selection="stick_copilot";
  187. axis="stick_copilot_axis";
  188. minValue=-0.1;
  189. maxValue=0.1;
  190. angle0=-0.1;
  191. angle1=0.1;
  192. };
  193. class HRotor
  194. {
  195. type="rotation";
  196. source="rotorH";
  197. memory=1;
  198. sourceAddress="loop";
  199. animPeriod=0;
  200. selection="velka vrtule";
  201. axis="velka osa";
  202. minValue=0;
  203. maxValue=1;
  204. angle0=0;
  205. angle1="rad 360";
  206. };
  207. class VRotor
  208. {
  209. type="rotation";
  210. source="rotorV";
  211. memory=1;
  212. sourceAddress="loop";
  213. animPeriod=0;
  214. selection="mala vrtule";
  215. axis="mala osa";
  216. minValue=0;
  217. maxValue=1;
  218. angle0=0;
  219. angle1="rad 360";
  220. };
  221. class Ramp
  222. {
  223. type="rotation";
  224. source="CargoDoor";
  225. selection="Ramp";
  226. axis="Ramp_axis";
  227. memory=1;
  228. sourceAddress="clamp";
  229. minValue=0;
  230. maxValue=1;
  231. angle0="rad 20";
  232. angle1="rad -13";
  233. };
  234. class MainTurret
  235. {
  236. type="rotation";
  237. source="mainTurret";
  238. selection="OtocVez";
  239. axis="OsaVeze";
  240. animPeriod=0;
  241. minValue="rad -360";
  242. maxValue="rad +360";
  243. angle0="rad -360";
  244. angle1="rad +360";
  245. };
  246. class Turret2: MainTurret
  247. {
  248. source="Turret_2";
  249. selection="OtocVez_2";
  250. axis="OsaVeze_2";
  251. };
  252. class MainGun: MainTurret
  253. {
  254. source="mainGun";
  255. selection="OtocHlaven";
  256. axis="OsaHlavne";
  257. };
  258. class Gun_2: MainGun
  259. {
  260. source="Gun_2";
  261. selection="OtocHlaven_2";
  262. axis="OsaHlavne_2";
  263. };
  264. class MachineGun_1: Rotation
  265. {
  266. selection="gatling_1";
  267. axis="gatling_1_axis";
  268. angle1="-600 * 3.141592654";
  269. source="Gatling_1";
  270. };
  271. class MachineGun_2: MachineGun_1
  272. {
  273. selection="gatling_2";
  274. axis="gatling_2_axis";
  275. angle1="-600 * 3.141592654";
  276. source="Gatling_2";
  277. };
  278. class damageHide;
  279. class otocvez_damage: damageHide
  280. {
  281. selection="otocvez";
  282. };
  283. class otocvez_2_damage: otocvez_damage
  284. {
  285. selection="otocvez_2";
  286. };
  287. class otocvez_3_damage: otocvez_damage
  288. {
  289. selection="otocvez_3";
  290. };
  291. class wheel_1_1_Damper
  292. {
  293. type="translation";
  294. source="altRadar";
  295. selection="wheel_1_1";
  296. axis="damper_axis";
  297. memory=1;
  298. minValue=0;
  299. maxValue=0.17;
  300. offset0=0.17;
  301. offset1=0;
  302. };
  303. class wheel_2_1_Damper: wheel_1_1_Damper
  304. {
  305. selection="wheel_2_1";
  306. };
  307. class wheel_1_2_Damper: wheel_1_1_Damper
  308. {
  309. selection="wheel_1_2";
  310. maxValue=0.15000001;
  311. offset0=0.15000001;
  312. };
  313. class wheel_2_2_Damper: wheel_1_2_Damper
  314. {
  315. selection="wheel_2_2";
  316. };
  317. class IndicatorCompass: Rotation
  318. {
  319. source="direction";
  320. selection="kompas";
  321. axis="kompas_osa";
  322. memory=1;
  323. minValue=-3.141593;
  324. maxValue=3.141593;
  325. angle0=-3.141593;
  326. angle1=3.141593;
  327. };
  328. class IndicatorCompass1: IndicatorCompass
  329. {
  330. selection="kompas01";
  331. axis="kompas01_osa";
  332. };
  333. class IndicatorCompass3: IndicatorCompass
  334. {
  335. source="direction";
  336. selection="kompasvalec";
  337. axis="kompasvalec_osa";
  338. minValue=-3.141593;
  339. maxValue=3.141593;
  340. angle0=0;
  341. angle1="-rad 360";
  342. };
  343. class horizonDive
  344. {
  345. type="translation";
  346. source="horizonDive";
  347. selection="horizont";
  348. axis="horizontvert_osa";
  349. memory=1;
  350. minValue=-1;
  351. maxValue=1;
  352. offset0=-0.30000001;
  353. offset1=0.30000001;
  354. };
  355. class horizonBank
  356. {
  357. type="rotation";
  358. source="horizonBank";
  359. selection="horizont";
  360. axis="horizont_osa";
  361. memory=1;
  362. minValue="rad -360";
  363. maxValue="rad +360";
  364. angle0="rad -360";
  365. angle1="rad +360";
  366. };
  367. class horizonDive2: horizonDive
  368. {
  369. selection="horizont01";
  370. axis="horizontvert01_osa";
  371. };
  372. class horizonBank2: horizonBank
  373. {
  374. selection="horizont01";
  375. axis="horizont01_osa";
  376. memory=1;
  377. };
  378. class horizonBank1BCK: horizonBank
  379. {
  380. selection="horizont_b";
  381. axis="horizont_osa";
  382. memory=1;
  383. };
  384. class horizonBank2BCK: horizonBank2
  385. {
  386. selection="horizont01_b";
  387. axis="horizont01_osa";
  388. memory=1;
  389. };
  390. class rpm01
  391. {
  392. type="rotation";
  393. source="rpm";
  394. selection="rucicka_01";
  395. axis="rucicka_01_osa";
  396. memory=1;
  397. minValue="rad -0";
  398. maxValue="rad +360";
  399. angle0="rad -0";
  400. angle1="rad +115";
  401. };
  402. class rpm01a: rpm01
  403. {
  404. selection="rucicka_01a";
  405. axis="rucicka_01a_osa";
  406. };
  407. class speed02: rpm01
  408. {
  409. source="speed";
  410. selection="rucicka_02";
  411. axis="rucicka_02_osa";
  412. };
  413. class speed02a: speed02
  414. {
  415. selection="rucicka_02a";
  416. axis="rucicka_02a_osa";
  417. };
  418. class fuel03
  419. {
  420. type="rotation";
  421. source="fuel";
  422. selection="rucicka_03";
  423. axis="rucicka_03_osa";
  424. memory=1;
  425. minValue="rad -0";
  426. maxValue="rad +45";
  427. angle0="rad -175";
  428. angle1="rad +0";
  429. };
  430. class fuel03a: fuel03
  431. {
  432. selection="rucicka_03a";
  433. axis="rucicka_03a_osa";
  434. };
  435. class fuel04
  436. {
  437. type="rotation";
  438. source="fuel";
  439. selection="rucicka_04";
  440. axis="rucicka_04_osa";
  441. memory=1;
  442. minValue="rad -0";
  443. maxValue="rad +45";
  444. angle0="rad -175";
  445. angle1="rad +0";
  446. };
  447. class fuel04a: fuel04
  448. {
  449. selection="rucicka_04a";
  450. axis="rucicka_04a_osa";
  451. };
  452. class rpm05
  453. {
  454. type="rotation";
  455. source="rpm";
  456. selection="rucicka_05";
  457. axis="rucicka_05_osa";
  458. memory=1;
  459. minValue="rad -60";
  460. maxValue="rad +10";
  461. angle0="rad -60";
  462. angle1="rad +10";
  463. };
  464. class rpm05a: rpm05
  465. {
  466. selection="rucicka_05a";
  467. axis="rucicka_05a_osa";
  468. };
  469. class rpm06
  470. {
  471. type="rotation";
  472. source="rpm";
  473. selection="rucicka_06";
  474. axis="rucicka_06_osa";
  475. memory=1;
  476. minValue="rad -0";
  477. maxValue="rad +360";
  478. angle0="rad -20";
  479. angle1="rad +130";
  480. };
  481. class rpm06a: rpm06
  482. {
  483. selection="rucicka_06a";
  484. axis="rucicka_06a_osa";
  485. };
  486. class rpm07
  487. {
  488. type="rotation";
  489. source="rpm";
  490. selection="rucicka_07";
  491. axis="rucicka_07_osa";
  492. memory=1;
  493. minValue="rad -20";
  494. maxValue="rad +90";
  495. angle0="rad -20";
  496. angle1="rad +90";
  497. };
  498. class rpm07a: rpm07
  499. {
  500. selection="rucicka_07a";
  501. axis="rucicka_07a_osa";
  502. };
  503. class altRadar
  504. {
  505. type="rotation";
  506. source="altRadar";
  507. selection="vyskomer";
  508. axis="vyskomer_osa";
  509. memory=1;
  510. sourceAddress="loop";
  511. minValue="rad -0";
  512. maxValue="rad +360";
  513. angle0="rad -0";
  514. angle1="rad +360";
  515. };
  516. class display_on
  517. {
  518. type="hide";
  519. source="rpm";
  520. selection="display_off";
  521. minValue=-0.80000001;
  522. maxValue=0.2;
  523. hidevalue=0.89999998;
  524. sourceAddress="clamp";
  525. };
  526. };
  527. };
  528. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement