Advertisement
ReverendV92

combine_helicopter.qc

Jan 26th, 2021
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.36 KB | None | 0 0
  1. // Created by Crowbar 0.71
  2.  
  3. $modelname combine_helicopter
  4.  
  5. $bodygroup "Body"
  6. {
  7. studio "Combine_Helicopter_reference.smd"
  8. }
  9.  
  10. $lod 35
  11. {
  12. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod1.smd"
  13. nofacial
  14. }
  15. $lod 45
  16. {
  17. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod2.smd"
  18. nofacial
  19. }
  20. $lod 55
  21. {
  22. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod3.smd"
  23. nofacial
  24. }
  25. $lod 80
  26. {
  27. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod4.smd"
  28. nofacial
  29. }
  30. $lod 100
  31. {
  32. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod5.smd"
  33. nofacial
  34. }
  35. $shadowlod
  36. {
  37. replacemodel "Combine_Helicopter_reference.smd" "Combine_Helicopter_reference_lod6.smd"
  38. nofacial
  39. }
  40.  
  41. $surfaceprop "metal"
  42.  
  43. $contents "solid"
  44.  
  45. $illumposition -0.032 -15.529 45.413
  46.  
  47. $mostlyopaque
  48.  
  49. $cdmaterials "models\Combine_Helicopter\"
  50.  
  51. $attachment "Gun" "Chopper.Gun" 0 0 0 rotate 0 0 0
  52. $attachment "Muzzle" "Chopper.Gun" 73.92 0 0 rotate 0 0 0
  53. $attachment "Bomb" "Chopper.Body" -63.11 0 -21.01 rotate 0 90 90
  54. $attachment "Damage0" "Chopper.Body" 16 80 -44 rotate 0 0 0
  55. $attachment "Damage1" "Chopper.Body" -38.1 0 -37.3 rotate 0 90 90
  56. $attachment "Damage2" "Chopper.Tail" 0 0 -64 rotate 0 0 0
  57. $attachment "Damage3" "Chopper.Body" 16 -80 -44 rotate 0 0 0
  58. $attachment "Damage4" "Chopper.Body" -6.4 22.4 -3.2 rotate 0 0 0
  59. $attachment "Light_Red0" "Chopper.Body" -12 93 -55 rotate 0 0 0
  60. $attachment "Light_Red1" "Chopper.Body" -12 -93 -55 rotate 0 0 0
  61. $attachment "Light_Red2" "Chopper.Tail" 3 -8 -105 rotate 0 0 0
  62. $attachment "Spotlight" "Chopper.Gun" 10 -3 -7 rotate 0 0 0
  63.  
  64. $cbox 0 0 0 0 0 0
  65.  
  66. $bbox -378.478 -403.374 -97.657 409.535 403.31 185.906
  67.  
  68.  
  69. $sectionframes 30 300
  70.  
  71. $poseparameter "weapon_pitch" -90 20 loop 0
  72. $poseparameter "weapon_yaw" -40 40 loop 0
  73. $poseparameter "rudder" -45 45 loop 0
  74.  
  75. $weightlist "weights_deploy" {
  76. "Chopper" 0
  77. "Chopper.Body" 0
  78. "Chopper.Rotor_Blur" 0
  79. "Chopper.Blade_Hull" 0
  80. "Chopper.Tail" 0
  81. "Chopper.Blade_Tail" 0
  82. "Chopper.Gun_Pivot" 0
  83. "Chopper.Gun" 0
  84. "Chopper.Deploy_Mech_Forward" 1
  85. "Chopper.Deploy_Mech_Back" 1
  86. }
  87.  
  88. $weightlist "weights_weapon_pitch" {
  89. "Chopper" 0
  90. "Chopper.Body" 0
  91. "Chopper.Rotor_Blur" 0
  92. "Chopper.Blade_Hull" 0
  93. "Chopper.Tail" 0
  94. "Chopper.Blade_Tail" 0
  95. "Chopper.Gun_Pivot" 1
  96. "Chopper.Gun" 1
  97. "Chopper.Deploy_Mech_Forward" 0
  98. "Chopper.Deploy_Mech_Back" 0
  99. }
  100.  
  101. $weightlist "weights_rudder" {
  102. "Chopper" 0
  103. "Chopper.Body" 0
  104. "Chopper.Rotor_Blur" 0
  105. "Chopper.Blade_Hull" 0
  106. "Chopper.Tail" 1
  107. "Chopper.Blade_Tail" 0
  108. "Chopper.Gun_Pivot" 0
  109. "Chopper.Gun" 0
  110. "Chopper.Deploy_Mech_Forward" 0
  111. "Chopper.Deploy_Mech_Back" 0
  112. }
  113.  
  114. $animation "aim_up_corrective_animation" "combine_helicopter_anims\aim_up_corrective_animation.smd" {
  115. }
  116.  
  117. $animation "aim_down_corrective_animation" "combine_helicopter_anims\aim_down_corrective_animation.smd" {
  118. }
  119.  
  120. $animation "aim_right_corrective_animation" "combine_helicopter_anims\aim_right_corrective_animation.smd" {
  121. }
  122.  
  123. $animation "aim_left_corrective_animation" "combine_helicopter_anims\aim_left_corrective_animation.smd" {
  124. }
  125.  
  126. $animation "rudder_right_corrective_animation" "combine_helicopter_anims\rudder_right_corrective_animation.smd" {
  127. }
  128.  
  129. $animation "rudder_left_corrective_animation" "combine_helicopter_anims\rudder_left_corrective_animation.smd" {
  130. }
  131.  
  132. $animation "aim_neutral" "combine_helicopter_anims\aim_neutral.smd" {
  133. fps 30
  134. }
  135.  
  136. $animation "aim_up" "combine_helicopter_anims\aim_up.smd" {
  137. fps 30
  138. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  139. subtract "aim_up_corrective_animation" 0
  140. weightlist "weights_weapon_pitch"
  141. }
  142.  
  143. $animation "aim_down" "combine_helicopter_anims\aim_down.smd" {
  144. fps 30
  145. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  146. subtract "aim_down_corrective_animation" 0
  147. weightlist "weights_weapon_pitch"
  148. }
  149.  
  150. $animation "aim_right" "combine_helicopter_anims\aim_right.smd" {
  151. fps 30
  152. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  153. subtract "aim_right_corrective_animation" 0
  154. weightlist "weights_weapon_pitch"
  155. }
  156.  
  157. $animation "aim_left" "combine_helicopter_anims\aim_left.smd" {
  158. fps 30
  159. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  160. subtract "aim_left_corrective_animation" 0
  161. weightlist "weights_weapon_pitch"
  162. }
  163.  
  164. $animation "rudder_neutral" "combine_helicopter_anims\rudder_neutral.smd" {
  165. fps 30
  166. }
  167.  
  168. $animation "rudder_right" "combine_helicopter_anims\rudder_right.smd" {
  169. fps 30
  170. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  171. subtract "rudder_right_corrective_animation" 0
  172. weightlist "weights_rudder"
  173. }
  174.  
  175. $animation "rudder_left" "combine_helicopter_anims\rudder_left.smd" {
  176. fps 30
  177. // Crowbar writes this subtract option to prevent jigglebone and poseparameter problems when delta sequences are recompiled.
  178. subtract "rudder_left_corrective_animation" 0
  179. weightlist "weights_rudder"
  180. }
  181.  
  182. $sequence "idle" {
  183. "combine_helicopter_anims\idle.smd"
  184. activity "ACT_IDLE" 1
  185. fadein 0.2
  186. fadeout 0.2
  187. fps 100
  188. loop
  189. }
  190.  
  191. $sequence "deploy" {
  192. "combine_helicopter_anims\deploy.smd"
  193. activity "ACT_HELICOPTER_DROP_BOMB" 1
  194. fadein 0.2
  195. fadeout 0.2
  196. fps 30
  197. weightlist "weights_deploy"
  198. }
  199.  
  200. $sequence "weapon_pitch" {
  201. "aim_up"
  202. "aim_down"
  203. autoplay
  204. blend "weapon_pitch" 20 -90
  205. blendwidth 2
  206. delta
  207. fadein 0.2
  208. fadeout 0.2
  209. hidden
  210. }
  211.  
  212. $sequence "weapon_yaw" {
  213. "aim_right"
  214. "aim_left"
  215. autoplay
  216. blend "weapon_yaw" -40 40
  217. blendwidth 2
  218. delta
  219. fadein 0.2
  220. fadeout 0.2
  221. hidden
  222. }
  223.  
  224. $sequence "rudder" {
  225. "rudder_right"
  226. "rudder_left"
  227. autoplay
  228. blend "rudder" -45 45
  229. blendwidth 2
  230. delta
  231. fadein 0.2
  232. fadeout 0.2
  233. hidden
  234. }
  235.  
  236. $sequence "tailspin_loop" {
  237. "combine_helicopter_anims\tailspin_loop.smd"
  238. activity "ACT_HELICOPTER_CRASHING" 1
  239. fadein 0.2
  240. fadeout 0.2
  241. snap
  242. fps 30
  243. loop
  244. }
  245.  
  246. $collisionmodel "combine_helicopter_physics.smd"
  247. {
  248. $mass 2400
  249. $inertia 1
  250. $damping 0
  251. $rotdamping 0
  252. $rootbone " "
  253. $concave
  254. $maxconvexpieces 15
  255.  
  256. }
  257.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement