Advertisement
Guest User

Mistral.qc

a guest
Jul 4th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | None | 0 0
  1. // Created by Crowbar 0.19.0.0
  2.  
  3. $modelname "player/mistral.mdl"
  4.  
  5. $model "police" "mistral_reference.smd" {
  6.  
  7. flexfile "police_fem.vta"
  8. {
  9. defaultflex frame 0
  10. }
  11.  
  12. flexcontroller head range -30 30 head_rightleft
  13. flexcontroller head range -15 15 head_updown
  14. flexcontroller head range -15 15 head_tilt
  15. flexcontroller eyes range -30 30 eyes_updown
  16. flexcontroller eyes range -30 30 eyes_rightleft
  17. flexcontroller body range -30 30 body_rightleft
  18. flexcontroller chest range -30 30 chest_rightleft
  19. flexcontroller head range -0.2 0.2 head_forwardback
  20. flexcontroller gesture range -1 1 gesture_updown
  21. flexcontroller gesture range -1 1 gesture_rightleft
  22. }
  23.  
  24. $cdmaterials "models/player/mistral/"
  25.  
  26. $attachment "eyes" "ValveBiped.Bip01_Head1" 4.85 -5.06 0 rotate 0 -80.1 -90
  27. $attachment "Center" "ValveBiped.Bip01_Spine1" -6.01 0.29 0 rotate 0 94.85 90
  28. $attachment "Chest" "ValveBiped.Bip01_Spine4" -1.96 1.95 0 rotate 0 86.65 90
  29. $attachment "LHand" "ValveBiped.Bip01_L_Hand" 3 0 0 rotate 0 0 0
  30. $attachment "RHand" "ValveBiped.Bip01_R_Hand" 3 0 0 rotate 0 0 0
  31. $attachment "zipline" "ValveBiped.Bip01_Spine4" 2 -2 0 rotate 0 -17 0
  32. $attachment "manhack" "ValveBiped.Bip01_Spine" 18 -6 3 rotate -25 50 0
  33. $attachment "forward" "ValveBiped.forward" 0 0 0 rotate 0 0 0
  34. $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0 0 0 rotate -90 -90 0
  35. $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0 0 0 rotate -90 -90 0
  36. $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0 0 0 rotate -90 -90 0
  37.  
  38. $surfaceprop "flesh"
  39.  
  40. $jointsurfaceprop "ValveBiped.Bip01_Head1" "no_decal"
  41. $jointsurfaceprop "ValveBiped.forward" "no_decal"
  42.  
  43. $contents "solid"
  44.  
  45. $eyeposition 0 0 72
  46.  
  47. $hboxset "default"
  48. $hbox 1 "ValveBiped.Bip01_Head1" -2.25 -5 -3.15 7.25 5 3.35
  49. $hbox 4 "ValveBiped.Bip01_L_UpperArm" -0.81 -2.25 -3.05 11.19 2.75 1.2
  50. $hbox 4 "ValveBiped.Bip01_L_Forearm" -1.25 -1.88 -2 11.75 1.62 1
  51. $hbox 4 "ValveBiped.Bip01_L_Hand" 0 -1.07 -1.5 6 0.68 3
  52. $hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.5 -2.25 -1.25 11.5 2.75 2.75
  53. $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.82 -1.9 -1.15 11.18 1.6 1.85
  54. $hbox 5 "ValveBiped.Bip01_R_Hand" -0.5 -1.13 -3.25 5.5 0.63 1.75
  55. $hbox 6 "ValveBiped.Bip01_L_Thigh" 0.5 -3.5 -3.25 17.5 4.5 3.25
  56. $hbox 6 "ValveBiped.Bip01_L_Calf" 0.74 -2.35 -2.15 17.74 3.65 2.35
  57. $hbox 6 "ValveBiped.Bip01_L_Foot" -2 -1.8 -1.45 6 3.2 2.05
  58. $hbox 6 "ValveBiped.Bip01_L_Toe0" -0.17 -1.5 -1.3 2.57 0.3 1.7
  59. $hbox 7 "ValveBiped.Bip01_R_Thigh" 0.5 -3.5 -3 17.5 4.5 3
  60. $hbox 7 "ValveBiped.Bip01_R_Calf" 0.74 -2.35 -2.35 17.74 3.65 2.15
  61. $hbox 7 "ValveBiped.Bip01_R_Foot" -2 -1.75 -2.15 6 3.25 1.35
  62. $hbox 7 "ValveBiped.Bip01_R_Toe0" 0 -1.38 -1.63 2.74 0.38 1.63
  63. $hbox 3 "ValveBiped.Bip01_Pelvis" -5.25 -3.88 -6.25 5.75 4.12 3.75
  64. $hbox 3 "ValveBiped.Bip01_Spine1" -4.5 -2 -4.98 3.5 6 4.97
  65. $hbox 2 "ValveBiped.Bip01_Spine2" -0.5 -2.5 -6 10.5 7.5 6
  66. $skipboneinbbox
  67.  
  68.  
  69.  
  70.  
  71. $sequence "ragdoll" "mistral_anims\ragdoll.smd" {
  72. fps 30
  73. "ACT_DIERAGDOLL" 1
  74. }
  75.  
  76. $includemodel "f_anm.mdl"
  77. $includemodel "f_anm.mdl"
  78.  
  79. $ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
  80. $ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
  81. $ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
  82. $ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0
  83.  
  84. $ikautoplaylock "rfoot" 1 0.1
  85. $ikautoplaylock "lfoot" 1 0.1
  86.  
  87. $collisionjoints "mistral_physics.smd"
  88. {
  89. $mass 0
  90. $inertia 10
  91. $damping 0.01
  92. $rotdamping 1.5
  93.  
  94.  
  95. $jointconstrain "ValveBiped.Bip01_Spine2" x limit -48 48 0
  96. $jointconstrain "ValveBiped.Bip01_Spine2" y limit -25 25 0
  97. $jointconstrain "ValveBiped.Bip01_Spine2" z limit -25 50 0
  98.  
  99. $jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -39 39 0
  100. $jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -79 95 0
  101. $jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -93 23 0
  102.  
  103. $jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -30 30 0
  104. $jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -95 84 0
  105. $jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -86 26 0
  106.  
  107. $jointconstrain "ValveBiped.Bip01_L_Forearm" x limit 0 0 0
  108. $jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0
  109. $jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -149 4 0
  110.  
  111. $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -37 37 0
  112. $jointconstrain "ValveBiped.Bip01_L_Hand" y limit 0 0 0
  113. $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -57 59 0
  114.  
  115. $jointconstrain "ValveBiped.Bip01_R_Forearm" x limit 0 0 0
  116. $jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0
  117. $jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -149 4 0
  118.  
  119. $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -60 60 0
  120. $jointconstrain "ValveBiped.Bip01_R_Hand" y limit 0 0 0
  121. $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -57 70 0
  122.  
  123. $jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -12 12 0
  124. $jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -8 75 0
  125. $jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -97 32 0
  126.  
  127. $jointconstrain "ValveBiped.Bip01_R_Calf" x limit 0 0 0
  128. $jointconstrain "ValveBiped.Bip01_R_Calf" y limit 0 0 0
  129. $jointconstrain "ValveBiped.Bip01_R_Calf" z limit -12 126 0
  130.  
  131. $jointconstrain "ValveBiped.Bip01_Head1" x limit -20 20 0
  132. $jointconstrain "ValveBiped.Bip01_Head1" y limit -25 25 0
  133. $jointconstrain "ValveBiped.Bip01_Head1" z limit -13 30 0
  134.  
  135. $jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -12 12 0
  136. $jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -73 6 0
  137. $jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -93 30 0
  138.  
  139. $jointconstrain "ValveBiped.Bip01_L_Calf" x limit 0 0 0
  140. $jointconstrain "ValveBiped.Bip01_L_Calf" y limit 0 0 0
  141. $jointconstrain "ValveBiped.Bip01_L_Calf" z limit -8 126 0
  142.  
  143. $jointconstrain "ValveBiped.Bip01_L_Foot" x limit 0 0 0
  144. $jointconstrain "ValveBiped.Bip01_L_Foot" y limit -19 19 0
  145. $jointconstrain "ValveBiped.Bip01_L_Foot" z limit -15 35 0
  146.  
  147. $jointconstrain "ValveBiped.Bip01_R_Foot" x limit 0 0 0
  148. $jointconstrain "ValveBiped.Bip01_R_Foot" y limit -25 6 0
  149. $jointconstrain "ValveBiped.Bip01_R_Foot" z limit -15 35 0
  150. }
  151.  
  152. $collisiontext
  153. {
  154. animatedfriction
  155. {
  156. "animfrictionmin" "1.000000"
  157. "animfrictionmax" "400.000000"
  158. "animfrictiontimein" "0.500000"
  159. "animfrictiontimeout" "0.300000"
  160. "animfrictiontimehold" "0.000000"
  161. }
  162. editparams
  163. {
  164. "rootname" "valvebiped.bip01_pelvis"
  165. "totalmass" "70.000000"
  166. "jointmerge" "valvebiped.bip01_pelvis,valvebiped.bip01"
  167. "jointmerge" "valvebiped.bip01_pelvis,valvebiped.bip01_spine1"
  168. }
  169. }
  170.  
  171. $bonemerge "ValveBiped.Bip01_Pelvis"
  172. $bonemerge "ValveBiped.Bip01_Spine"
  173. $bonemerge "ValveBiped.Bip01_Spine1"
  174. $bonemerge "ValveBiped.Bip01_Spine2"
  175. $bonemerge "ValveBiped.Bip01_Spine4"
  176. $bonemerge "ValveBiped.Bip01_R_Clavicle"
  177. $bonemerge "ValveBiped.Bip01_R_UpperArm"
  178. $bonemerge "ValveBiped.Bip01_R_Forearm"
  179. $bonemerge "ValveBiped.Bip01_R_Hand"
  180. $bonemerge "ValveBiped.Anim_Attachment_RH"
  181. $bonemerge "ValveBiped.baton_parent"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement