Advertisement
PiZZADOX

Untitled

Jan 24th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. class Rotation;
  2. class CfgSkeletons
  3. {
  4. class Plane;
  5. class MQ9Skeleton: Plane
  6. {
  7. isDiscrete=0;
  8. skeletonInherit="Plane";
  9. skeletonBones[]=
  10. {
  11. "propeller",
  12. "",
  13. "propellerBlurred",
  14. "propeller",
  15. "propellerStatic",
  16. "propeller",
  17. "rudder_1",
  18. "",
  19. "flap_1_1",
  20. "",
  21. "flap_1_2",
  22. "",
  23. "flap_2_1",
  24. "",
  25. "flap_2_2",
  26. "",
  27. "elevator_1",
  28. "",
  29. "elevator_2",
  30. "",
  31. "aileron_1_1",
  32. "",
  33. "aileron_1_2",
  34. "",
  35. "aileron_2_1",
  36. "",
  37. "aileron_2_2",
  38. "",
  39. "MainTurret",
  40. "",
  41. "MainGun",
  42. "MainTurret",
  43. "gear_1_1",
  44. "",
  45. "gear_1_1_damper",
  46. "gear_1_1",
  47. "wheel_1_1",
  48. "gear_1_1_damper",
  49. "gear_2_1",
  50. "",
  51. "gear_2_1_damper",
  52. "gear_2_1",
  53. "gear_2_1_rotation",
  54. "gear_2_1_damper",
  55. "wheel_2_1",
  56. "gear_2_1_rotation",
  57. "gear_2_2",
  58. "",
  59. "gear_2_2_damper",
  60. "gear_2_2",
  61. "gear_2_2_rotation",
  62. "gear_2_2_damper",
  63. "wheel_2_2",
  64. "gear_2_2_rotation"
  65. };
  66. };
  67. };
  68. class CfgModels
  69. {
  70. class Plane;
  71. class MQ9PredatorB: Plane
  72. {
  73. sectionsInherit="Plane";
  74. sections[]=
  75. {
  76. "propellerStatic",
  77. "propellerBlurred",
  78. "camo1"
  79. };
  80. skeletonName="MQ9Skeleton";
  81. class Animations
  82. {
  83. class Propeller
  84. {
  85. type="rotation";
  86. source="rotor";
  87. selection="Propeller";
  88. axis="Propeller_axis";
  89. animPeriod=1;
  90. angle0=0;
  91. angle1="2 * 3.1415926536";
  92. };
  93. class MainTurret
  94. {
  95. type="rotation";
  96. source="mainturret";
  97. selection="MainTurret";
  98. axis="MainTurret_axis";
  99. animPeriod=0;
  100. minValue="rad -360";
  101. maxValue="rad +360";
  102. angle0="rad -360";
  103. angle1="rad +360";
  104. };
  105. class MainGun: MainTurret
  106. {
  107. type="rotation";
  108. source="MainGun";
  109. selection="MainGun";
  110. axis="MainGun_axis";
  111. };
  112. class Flap_1_1: Rotation
  113. {
  114. source="flap";
  115. selection="flap_1_1";
  116. axis="flap_1_1_axis";
  117. angle1="rad -28.6";
  118. minValue=0;
  119. maxValue=1;
  120. };
  121. class Flap_1_2: Flap_1_1
  122. {
  123. selection="flap_1_2";
  124. axis="flap_1_2_axis";
  125. angle1="rad 28.6";
  126. };
  127. class Flap_2_1: Flap_1_1
  128. {
  129. selection="flap_2_1";
  130. axis="flap_2_1_axis";
  131. angle1="rad 14.3";
  132. };
  133. class Flap_2_2: Flap_1_1
  134. {
  135. selection="flap_2_2";
  136. axis="flap_2_2_axis";
  137. angle1="rad -14.3";
  138. };
  139. class Elevator_1: Rotation
  140. {
  141. source="elevator";
  142. selection="elevator_1";
  143. axis="elevator_1_axis";
  144. minValue=-1;
  145. maxValue=1;
  146. angle0="rad -28.6";
  147. angle1="rad 28.6";
  148. };
  149. class Elevator_2: Elevator_1
  150. {
  151. selection="elevator_2";
  152. axis="elevator_2_axis";
  153. angle0="rad 28.6";
  154. angle1="rad -28.6";
  155. };
  156. class Aileron_1_1: Rotation
  157. {
  158. source="aileron";
  159. selection="aileron_1_1";
  160. axis="aileron_1_1_axis";
  161. minValue=-1.4;
  162. maxValue=1.4;
  163. angle0="rad -25";
  164. angle1="rad 25";
  165. };
  166. class Aileron_1_2: Aileron_1_1
  167. {
  168. selection="aileron_1_2";
  169. axis="aileron_1_2_axis";
  170. angle0="rad -25";
  171. angle1="rad 25";
  172. };
  173. class Aileron_2_1: Aileron_1_1
  174. {
  175. selection="aileron_2_1";
  176. axis="aileron_2_1_axis";
  177. angle0="rad 25";
  178. angle1="rad -25";
  179. };
  180. class Aileron_2_2: Aileron_1_2
  181. {
  182. selection="aileron_2_2";
  183. axis="aileron_2_2_axis";
  184. angle0="rad 25";
  185. angle1="rad -25";
  186. };
  187. class Rudder: Rotation
  188. {
  189. source="rudder";
  190. selection="rudder_1";
  191. axis="rudder_1_axis";
  192. minValue=-1;
  193. maxValue=1;
  194. angle0="rad -30";
  195. angle1="rad 30";
  196. };
  197. class FrontGear_1: Rotation
  198. {
  199. source="gear";
  200. selection="gear_1_1";
  201. axis="gear_1_1_axis";
  202. maxValue=1;
  203. angle1="rad -125";
  204. };
  205. class FrontGear_2: Rotation
  206. {
  207. source="gear";
  208. selection="gear_1_1_damper";
  209. axis="gear_1_1_damper_axis";
  210. maxValue=1;
  211. angle1="rad -45";
  212. };
  213. class FrontGearSteering
  214. {
  215. type="rotation";
  216. source="rudder";
  217. selection="gear_1_1_damper";
  218. axis="Gear_1_1_steering_axis";
  219. memory=1;
  220. minValue=-8;
  221. maxValue=8;
  222. angle0="rad -60";
  223. angle1="rad +60";
  224. };
  225. class FrontGearDamper
  226. {
  227. type="rotation";
  228. source="altRadar";
  229. selection="gear_1_1_damper";
  230. axis="gear_1_1_damper_axis";
  231. memory=1;
  232. minValue=2.7;
  233. maxValue=2.8499999;
  234. angle0=0;
  235. angle1=-0.30000001;
  236. offset0=1;
  237. offset1=0;
  238. };
  239. class MainGearDamper_2_1: FrontGearDamper
  240. {
  241. type="translation";
  242. selection="gear_2_1_damper";
  243. axis="gear_2_1_damper_axis";
  244. minValue=2.7;
  245. maxValue=2.8499999;
  246. offset0=0;
  247. offset1=0.30000001;
  248. };
  249. class MainGearDamper_2_2: MainGearDamper_2_1
  250. {
  251. selection="gear_2_2_damper";
  252. axis="gear_2_2_damper_axis";
  253. };
  254. class MainGear_2_1: Rotation
  255. {
  256. source="gear";
  257. selection="gear_2_1";
  258. axis="gear_2_1_axis";
  259. maxValue=1;
  260. angle1="rad 95";
  261. };
  262. class MainGear_2_2: Rotation
  263. {
  264. source="gear";
  265. selection="gear_2_2";
  266. axis="gear_2_2_axis";
  267. maxValue=1;
  268. angle1="rad -95";
  269. };
  270. class MainGear_2_1_translation
  271. {
  272. type="translation";
  273. source="gear";
  274. selection="gear_2_1_damper";
  275. axis="gear_2_1_damper_axis";
  276. minvalue=0.40000001;
  277. maxValue=0.80000001;
  278. offset0=0;
  279. offset1=1;
  280. };
  281. class MainGear_2_2_translation
  282. {
  283. type="translation";
  284. source="gear";
  285. selection="gear_2_2_damper";
  286. axis="gear_2_2_damper_axis";
  287. minvalue=0.40000001;
  288. maxValue=0.80000001;
  289. offset0=0;
  290. offset1=1;
  291. };
  292. class MainGear_2_1_rotation: Rotation
  293. {
  294. source="gear";
  295. selection="gear_2_1_rotation";
  296. axis="gear_2_1_rotation_axis";
  297. minvalue=0;
  298. maxValue=0.40000001;
  299. angle1="rad -55";
  300. };
  301. class MainGear_2_2_rotation: Rotation
  302. {
  303. source="gear";
  304. selection="gear_2_2_rotation";
  305. axis="gear_2_2_rotation_axis";
  306. minvalue=0;
  307. maxValue=0.40000001;
  308. angle1="rad 55";
  309. };
  310. class Wheel_1_1
  311. {
  312. type="rotationX";
  313. source="wheel";
  314. selection="wheel_1_1";
  315. axis="wheel_1_1_axis";
  316. memory=1;
  317. sourceAddress="loop";
  318. minValue=0;
  319. maxValue=1;
  320. angle0=0;
  321. angle1="rad -180";
  322. };
  323. class Wheel_2_1: Wheel_1_1
  324. {
  325. selection="wheel_2_1";
  326. axis="wheel_2_1_axis";
  327. angle1="rad -160";
  328. };
  329. class Wheel_2_2: Wheel_2_1
  330. {
  331. selection="wheel_2_2";
  332. axis="wheel_2_2_axis";
  333. };
  334. class damageHide
  335. {
  336. type="hide";
  337. source="damage";
  338. selection="damageHide";
  339. };
  340. class damageHideProp: damageHide
  341. {
  342. selection="PropellerStatic";
  343. };
  344. class damageHidePropII: damageHide
  345. {
  346. selection="PropellerBlurred";
  347. };
  348. class MainGun_1
  349. {
  350. selection="MainGun";
  351. };
  352. class MainGun_2
  353. {
  354. selection="MainGun";
  355. };
  356. };
  357. };
  358. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement