Advertisement
Guest User

Untitled

a guest
Aug 26th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. // Created by Crowbar 0.44.0.0
  2.  
  3. $modelname "players/Chaien/chaien_pm.mdl"
  4.  
  5. $model "Body" "chaien_pm_reference.smd"
  6.  
  7. $surfaceprop "flesh"
  8.  
  9. $contents "solid"
  10.  
  11. $eyeposition 0 0 70
  12.  
  13. $maxeyedeflection 90
  14.  
  15. $mostlyopaque
  16.  
  17. $cdmaterials "models\chaien\"
  18.  
  19. $attachment "eyes" "ValveBiped.Bip01_Head1" 3.17 -4.14 0.05 rotate 0 -80.1 -90
  20. $attachment "mouth" "ValveBiped.Bip01_Head1" 0.3 -5.7 0 rotate 0 -80 -90
  21. $attachment "chest" "ValveBiped.Bip01_Spine2" 5 4 0 rotate 0 90 90
  22. $attachment "helmet_attachment" "ValveBiped.Bip01_Head1" 2.66 -1.6 0 rotate 0 -82.95 -90
  23. $attachment "faceplate_attachment" "ValveBiped.faceplate_attachment" 0 0 0 rotate -90 -90 0
  24. $attachment "forward" "ValveBiped.forward" 0 0 0 rotate 0 0 0
  25. $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0 0 0 rotate -90 -90 0
  26. $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0 0 0 rotate -90 -90 0
  27. $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0 0 0 rotate -90 -90 0
  28.  
  29. $cbox 0 0 0 0 0 0
  30.  
  31. $bbox -6.249 -26.411 -2.689 9.438 26.348 73.338
  32.  
  33. // $hboxset "default"
  34. // $hbox 1 "ValveBiped.Bip01_Head1" -1.25 -6.5 -3.19 8.25 3.5 3.31 ""
  35. // $hbox 4 "ValveBiped.Bip01_L_UpperArm" 0 -2.75 -2.75 12.51 1.75 2.25 ""
  36. // $hbox 4 "ValveBiped.Bip01_L_Forearm" 0 -2.19 -2.38 13 1.81 1.62 ""
  37. // $hbox 4 "ValveBiped.Bip01_L_Hand" 0.06 -2 -1.5 4.06 1 2.5 ""
  38. // $hbox 5 "ValveBiped.Bip01_R_UpperArm" 0 -3 -2.25 12.39 2 2.75 ""
  39. // $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.5 -2.2 -1.55 12.5 1.8 2.45 ""
  40. // $hbox 5 "ValveBiped.Bip01_R_Hand" 0.06 -2 -2.5 4.06 1 1.5 ""
  41. // $hbox 6 "ValveBiped.Bip01_L_Thigh" 0 -3.75 -3.25 17.85 3.75 3.25 ""
  42. // $hbox 6 "ValveBiped.Bip01_L_Calf" 0 -3.51 -3.28 15.64 3.49 2.72 ""
  43. // $hbox 6 "ValveBiped.Bip01_L_Foot" -1.07 -2 -2.84 5.04 5 2.16 ""
  44. // $hbox 6 "ValveBiped.Bip01_L_Toe0" -0.5 -3 -2.19 2.5 0 2.46 ""
  45. // $hbox 7 "ValveBiped.Bip01_R_Thigh" 0 -3.75 -3.25 17.85 3.75 3.25 ""
  46. // $hbox 7 "ValveBiped.Bip01_R_Calf" 0 -3.51 -2.82 15.64 3.49 3.18 ""
  47. // $hbox 7 "ValveBiped.Bip01_R_Foot" -1.06 -2.01 -2.28 5.05 4.99 2.72 ""
  48. // $hbox 7 "ValveBiped.Bip01_R_Toe0" -0.5 -3 -2.6 2.5 0 2.1 ""
  49. // $hbox 3 "ValveBiped.Bip01_Pelvis" -7.5 -5.5 -6 7.5 8.5 5 ""
  50. // $hbox 2 "ValveBiped.Bip01_Spine2" -2.5 -2.5 -7 14.5 7.5 7 ""
  51. // $skipboneinbbox
  52.  
  53. $bonemerge "ValveBiped.Bip01_Pelvis"
  54. $bonemerge "ValveBiped.Bip01_Spine"
  55. $bonemerge "ValveBiped.Bip01_Spine1"
  56. $bonemerge "ValveBiped.Bip01_Spine2"
  57. $bonemerge "ValveBiped.Bip01_Spine4"
  58. $bonemerge "ValveBiped.Bip01_R_Clavicle"
  59. $bonemerge "ValveBiped.Bip01_R_UpperArm"
  60. $bonemerge "ValveBiped.Bip01_R_Forearm"
  61. $bonemerge "ValveBiped.Bip01_R_Hand"
  62. $bonemerge "ValveBiped.Anim_Attachment_RH"
  63.  
  64.  
  65. $ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
  66. $ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
  67. $ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
  68. $ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0
  69.  
  70. $sequence "ragdoll" {
  71. "chaien_anims\ragdoll.smd"
  72. activity "ACT_DIERAGDOLL" 1
  73. fadein 0.2
  74. fadeout 0.2
  75. fps 30
  76. ikrule rhand release
  77. ikrule lhand release
  78. ikrule rfoot release
  79. ikrule lfoot release
  80. }
  81.  
  82. $ikautoplaylock "rfoot" 1 0.1
  83. $ikautoplaylock "lfoot" 1 0.1
  84.  
  85. $collisionjoints "chaien_pm_physics.smd"
  86. {
  87. $mass 100
  88. $inertia 10
  89. $damping 0.05
  90. $rotdamping 5
  91. $rootbone "valvebiped.bip01_pelvis"
  92.  
  93. $jointrotdamping "ValveBiped.Bip01_Pelvis" 3
  94.  
  95. $jointmassbias "ValveBiped.Bip01_L_Thigh" 7
  96. $jointrotdamping "ValveBiped.Bip01_L_Thigh" 7
  97. $jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -25 25 0
  98. $jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -10 15 0
  99. $jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -55 25 0
  100.  
  101. $jointmassbias "ValveBiped.Bip01_L_Calf" 4
  102. $jointconstrain "ValveBiped.Bip01_L_Calf" x limit -10 25 0
  103. $jointconstrain "ValveBiped.Bip01_L_Calf" y limit -5 5 0
  104. $jointconstrain "ValveBiped.Bip01_L_Calf" z limit -10 115 0
  105.  
  106. $jointmassbias "ValveBiped.Bip01_R_Thigh" 7
  107. $jointrotdamping "ValveBiped.Bip01_R_Thigh" 7
  108. $jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -25 25 0
  109. $jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -10 15 0
  110. $jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -55 25 0
  111.  
  112. $jointmassbias "ValveBiped.Bip01_R_Calf" 4
  113. $jointconstrain "ValveBiped.Bip01_R_Calf" x limit -10 25 0
  114. $jointconstrain "ValveBiped.Bip01_R_Calf" y limit -5 5 0
  115. $jointconstrain "ValveBiped.Bip01_R_Calf" z limit -10 115 0
  116.  
  117. $jointrotdamping "ValveBiped.Bip01_R_Foot" 2
  118. $jointconstrain "ValveBiped.Bip01_R_Foot" x limit -20 30 0
  119. $jointconstrain "ValveBiped.Bip01_R_Foot" y limit -30 20 0
  120. $jointconstrain "ValveBiped.Bip01_R_Foot" z limit -30 50 0
  121.  
  122. $jointmassbias "ValveBiped.Bip01_Spine1" 8
  123. $jointconstrain "ValveBiped.Bip01_Spine1" x limit -10 10 0
  124. $jointconstrain "ValveBiped.Bip01_Spine1" y limit -16 16 0
  125. $jointconstrain "ValveBiped.Bip01_Spine1" z limit -20 30 0
  126.  
  127. $jointmassbias "ValveBiped.Bip01_Spine2" 9
  128. $jointconstrain "ValveBiped.Bip01_Spine2" x limit -10 10 0
  129. $jointconstrain "ValveBiped.Bip01_Spine2" y limit -10 10 0
  130. $jointconstrain "ValveBiped.Bip01_Spine2" z limit -20 20 0
  131.  
  132. $jointmassbias "ValveBiped.Bip01_L_Clavicle" 4
  133. $jointrotdamping "ValveBiped.Bip01_L_Clavicle" 6
  134. $jointconstrain "ValveBiped.Bip01_L_Clavicle" x limit -15 15 0
  135. $jointconstrain "ValveBiped.Bip01_L_Clavicle" y limit -10 10 0
  136. $jointconstrain "ValveBiped.Bip01_L_Clavicle" z limit 0 45 0
  137.  
  138. $jointmassbias "ValveBiped.Bip01_L_UpperArm" 5
  139. $jointrotdamping "ValveBiped.Bip01_L_UpperArm" 2
  140. $jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -15 20 0
  141. $jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -40 32 0
  142. $jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -80 25 0
  143.  
  144. $jointmassbias "ValveBiped.Bip01_R_Clavicle" 4
  145. $jointrotdamping "ValveBiped.Bip01_R_Clavicle" 6
  146. $jointconstrain "ValveBiped.Bip01_R_Clavicle" x limit -15 15 0
  147. $jointconstrain "ValveBiped.Bip01_R_Clavicle" y limit -10 10 0
  148. $jointconstrain "ValveBiped.Bip01_R_Clavicle" z limit 0 45 0
  149.  
  150. $jointmassbias "ValveBiped.Bip01_R_UpperArm" 5
  151. $jointrotdamping "ValveBiped.Bip01_R_UpperArm" 2
  152. $jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -15 20 0
  153. $jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -40 32 0
  154. $jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -80 25 0
  155.  
  156. $jointmassbias "ValveBiped.Bip01_R_Forearm" 4
  157. $jointrotdamping "ValveBiped.Bip01_R_Forearm" 4
  158. $jointconstrain "ValveBiped.Bip01_R_Forearm" x limit -40 15 0
  159. $jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0
  160. $jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -120 10 0
  161.  
  162. $jointrotdamping "ValveBiped.Bip01_R_Hand" 1
  163. $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -25 25 0
  164. $jointconstrain "ValveBiped.Bip01_R_Hand" y limit -35 35 0
  165. $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -50 50 0
  166.  
  167. $jointmassbias "ValveBiped.Bip01_L_Forearm" 4
  168. $jointrotdamping "ValveBiped.Bip01_L_Forearm" 4
  169. $jointconstrain "ValveBiped.Bip01_L_Forearm" x limit -40 15 0
  170. $jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0
  171. $jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -120 10 0
  172.  
  173. $jointrotdamping "ValveBiped.Bip01_L_Hand" 1
  174. $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -25 25 0
  175. $jointconstrain "ValveBiped.Bip01_L_Hand" y limit -35 35 0
  176. $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -50 50 0
  177.  
  178. $jointmassbias "ValveBiped.Bip01_Head1" 4
  179. $jointrotdamping "ValveBiped.Bip01_Head1" 3
  180. $jointconstrain "ValveBiped.Bip01_Head1" x limit -50 50 0
  181. $jointconstrain "ValveBiped.Bip01_Head1" y limit -20 20 0
  182. $jointconstrain "ValveBiped.Bip01_Head1" z limit -26 30 0
  183.  
  184. $jointrotdamping "ValveBiped.Bip01_L_Foot" 2
  185. $jointconstrain "ValveBiped.Bip01_L_Foot" x limit -20 30 0
  186. $jointconstrain "ValveBiped.Bip01_L_Foot" y limit -30 20 0
  187. $jointconstrain "ValveBiped.Bip01_L_Foot" z limit -30 50 0
  188. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement