Guest User

Untitled

a guest
Jan 28th, 2017
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.57 KB | None | 0 0
  1. // Created by Crowbar 0.36.0.0
  2.  
  3. $ModelName "player/gopnik/gopnik.mdl"
  4.  
  5. $BodyGroup "studio"
  6. {
  7. studio "gopnik_reference.smd"
  8. }
  9.  
  10.  
  11. $SurfaceProp "flesh"
  12.  
  13. $Contents "solid"
  14.  
  15. $EyePosition 0 0 73
  16.  
  17. $MaxEyeDeflection 90
  18.  
  19. $Opaque
  20.  
  21. $CDMaterials "models\player\gopnik\"
  22. $CDMaterials ""
  23.  
  24. $Attachment "legacy_weapon_bone" "ValveBiped.weapon_bone" 0 0 0 rotate 0 0 0
  25. $Attachment "weapon_hand_L" "weapon_hand_L" 0 0 0 rotate 0 0 0
  26. $Attachment "weapon_hand_R" "weapon_hand_R" 0 0 0 rotate 0 0 0
  27. $Attachment "primary" "primary_jiggle_jnt" 3 0 -2 rotate 0 170 180
  28. $Attachment "pistol" "leg_upper_R" 6.5 -4.4 0.5 rotate 0 1 -15
  29. $Attachment "eholster" "leg_upper_L" 7 -1.5 4 rotate 2 5 98
  30. $Attachment "grenade0" "pelvis" 0 -2.5 -8 rotate 90 0 0
  31. $Attachment "grenade1" "pelvis" 0 1 -8.3 rotate 90 0 0
  32. $Attachment "grenade2" "pelvis" 0 5.3 -7 rotate 90 0 0
  33. $Attachment "grenade3" "pelvis" 0 -1.5 8.2 rotate 90 0 0
  34. $Attachment "grenade4" "pelvis" 0 3 8 rotate 90 0 0
  35. $Attachment "c4" "spine_3" 2 -5.3 2 rotate 4 -4 80
  36. $Attachment "facemask" "head_0" 2.9 4.4 0 rotate 0 73 90
  37. $Attachment "clip_limit" "head_0" 7 6 0 rotate 0 0 0
  38. $Attachment "primary_smg" "primary_jiggle_jnt" 3 0 -2 rotate 0 170 180
  39.  
  40. $CBox 0 0 0 0 0 0
  41.  
  42. $BBox -16.366 -18.607 -4.434 32.149 9.204 73.146
  43.  
  44. // $HBoxSet "cstrike"
  45. // $HBox 1 "head_0" -0.5 -0.3 0 3.3 -0.8 0 0 0 0 ""
  46. // $HBox 1 "neck_0" 1 -2.3 -2.1 4.2 3.2 2.1 0 -2.1 0 ""
  47. // $HBox 2 "neck_0" -1.3 0.9 0 1.4 1.3 0 0 0 0 ""
  48. // $HBox 3 "pelvis" -2.7 1.1 -3.2 -2.7 1.1 3.2 0 0 0 ""
  49. // $HBox 3 "spine_0" 1.4 0.8 3.1 1.4 0.8 -3.1 0 0 0 ""
  50. // $HBox 2 "spine_1" 3.8 0.8 -2.4 3.8 0.4 2.4 0 0 0 ""
  51. // $HBox 2 "spine_2" 4.8 0.15 -4.1 4.8 0.15 4.1 0 0 0 ""
  52. // $HBox 2 "spine_3" 2.5 -0.6 -6 2.5 -0.6 6 0 0 0 ""
  53. // $HBox 6 "leg_upper_L" 1.3 0 0 16.5 0 0 0 0 0 ""
  54. // $HBox 7 "leg_upper_R" 1.3 0 0 16.5 0 0.7 0 0 0 ""
  55. // $HBox 6 "leg_lower_L" 0.1 0 0.2 17 -0.4 0.7 0 0 0 ""
  56. // $HBox 7 "leg_lower_R" 0.1 0 0.2 17 -0.4 0.7 0 0 0 ""
  57. // $HBox 6 "ankle_L" -2.5 -3.8 -2.8 10.4 -0.2 2 0 24.1 0 ""
  58. // $HBox 7 "ankle_R" -10.4 0.3 -2 2.6 4 2.8 0 24.5 0 ""
  59. // $HBox 4 "hand_L" -2 -2 -2 4.6 2 2 0 13.2 0 ""
  60. // $HBox 5 "hand_R" -5 -2 -2 2 2 2 180 194.600006 0 ""
  61. // $HBox 4 "arm_upper_L" 0 0 0 11.2 0 0 0 0 0 ""
  62. // $HBox 4 "arm_lower_L" 0 0 0 10 0 0 0 0 0 ""
  63. // $HBox 5 "arm_upper_R" 0 0 0 11.2 0 0 0 0 0 ""
  64. // $HBox 5 "arm_lower_R" 0 0 0 10 0 0 0 0 0 ""
  65. // $SkipBoneInBBox
  66.  
  67. $BoneMerge "pelvis"
  68. $BoneMerge "spine_0"
  69. $BoneMerge "spine_1"
  70. $BoneMerge "spine_2"
  71. $BoneMerge "spine_3"
  72. $BoneMerge "neck_0"
  73. $BoneMerge "head_0"
  74. $BoneMerge "clavicle_R"
  75. $BoneMerge "arm_upper_R"
  76. $BoneMerge "arm_lower_R"
  77. $BoneMerge "hand_R"
  78. $BoneMerge "finger_middle_meta_R"
  79. $BoneMerge "finger_middle_0_R"
  80. $BoneMerge "finger_middle_1_R"
  81. $BoneMerge "finger_middle_2_R"
  82. $BoneMerge "finger_ring_meta_R"
  83. $BoneMerge "finger_ring_0_R"
  84. $BoneMerge "finger_ring_1_R"
  85. $BoneMerge "finger_ring_2_R"
  86. $BoneMerge "finger_pinky_meta_R"
  87. $BoneMerge "finger_pinky_0_R"
  88. $BoneMerge "finger_pinky_1_R"
  89. $BoneMerge "finger_pinky_2_R"
  90. $BoneMerge "finger_index_meta_R"
  91. $BoneMerge "finger_index_0_R"
  92. $BoneMerge "finger_index_1_R"
  93. $BoneMerge "finger_index_2_R"
  94. $BoneMerge "finger_thumb_0_R"
  95. $BoneMerge "finger_thumb_1_R"
  96. $BoneMerge "finger_thumb_2_R"
  97. $BoneMerge "weapon_hand_R"
  98. $BoneMerge "arm_lower_R_TWIST"
  99. $BoneMerge "arm_lower_R_TWIST1"
  100. $BoneMerge "arm_upper_R_TWIST"
  101. $BoneMerge "arm_upper_R_TWIST1"
  102. $BoneMerge "clavicle_L"
  103. $BoneMerge "arm_upper_L"
  104. $BoneMerge "arm_lower_L"
  105. $BoneMerge "hand_L"
  106. $BoneMerge "finger_middle_meta_L"
  107. $BoneMerge "finger_middle_0_L"
  108. $BoneMerge "finger_middle_1_L"
  109. $BoneMerge "finger_middle_2_L"
  110. $BoneMerge "finger_ring_meta_L"
  111. $BoneMerge "finger_ring_0_L"
  112. $BoneMerge "finger_ring_1_L"
  113. $BoneMerge "finger_ring_2_L"
  114. $BoneMerge "finger_pinky_meta_L"
  115. $BoneMerge "finger_pinky_0_L"
  116. $BoneMerge "finger_pinky_1_L"
  117. $BoneMerge "finger_pinky_2_L"
  118. $BoneMerge "finger_index_meta_L"
  119. $BoneMerge "finger_index_0_L"
  120. $BoneMerge "finger_index_1_L"
  121. $BoneMerge "finger_index_2_L"
  122. $BoneMerge "finger_thumb_0_L"
  123. $BoneMerge "finger_thumb_1_L"
  124. $BoneMerge "finger_thumb_2_L"
  125. $BoneMerge "lh_ik_driver"
  126. $BoneMerge "weapon_hand_L"
  127. $BoneMerge "arm_lower_L_TWIST"
  128. $BoneMerge "arm_lower_L_TWIST1"
  129. $BoneMerge "arm_upper_L_TWIST"
  130. $BoneMerge "arm_upper_L_TWIST1"
  131. $BoneMerge "leg_upper_R"
  132. $BoneMerge "leg_lower_R"
  133. $BoneMerge "ankle_R"
  134. $BoneMerge "ball_R"
  135. $BoneMerge "rfoot_lock"
  136. $BoneMerge "leg_upper_R_TWIST"
  137. $BoneMerge "leg_upper_R_TWIST1"
  138. $BoneMerge "leg_upper_L"
  139. $BoneMerge "leg_lower_L"
  140. $BoneMerge "ankle_L"
  141. $BoneMerge "ball_L"
  142. $BoneMerge "lfoot_lock"
  143. $BoneMerge "leg_upper_L_TWIST"
  144. $BoneMerge "leg_upper_L_TWIST1"
  145. $BoneMerge "lean_root"
  146.  
  147. $JiggleBone "primary_jiggle_jnt"
  148. {
  149. is_flexible
  150. {
  151. length 50
  152. tip_mass 0
  153. pitch_stiffness 100
  154. pitch_damping 15
  155. yaw_stiffness 700
  156. yaw_damping 15
  157. along_stiffness 100
  158. along_damping 0
  159. angle_constraint 5
  160. }
  161. }
  162.  
  163. $Sequence "default" {
  164. "gopnik_anims\default.smd"
  165. fadein 0.2
  166. fadeout 0.2
  167. fps 30
  168. }
  169.  
  170. $Sequence "ragdoll" {
  171. "gopnik_anims\ragdoll.smd"
  172. activity "ACT_DIERAGDOLL" 1
  173. fadein 0.2
  174. fadeout 0.2
  175. fps 30
  176. }
  177.  
  178. $IncludeModel "player/gopnik/animset_t.mdl"
  179.  
  180. $IKChain "rhand" "hand_R" knee 0 0 0
  181. $IKChain "lhand" "hand_L" knee 0 0 0
  182. $IKChain "rfoot" "ankle_R" knee 0 0 0
  183. $IKChain "lfoot" "ankle_L" knee 0 0 0
  184.  
  185. $CollisionJoints "gopnik_physics.smd"
  186. {
  187. $mass 300
  188. $inertia 10
  189. $damping 0.4
  190. $rotdamping 20
  191. $rootbone "pelvis"
  192.  
  193. $jointmassbias "pelvis" 2.6
  194. $jointdamping "pelvis" 1
  195. $jointrotdamping "pelvis" 10
  196.  
  197. $jointmassbias "leg_upper_R" 3
  198. $jointrotdamping "leg_upper_R" 8
  199. $jointconstrain "leg_upper_R" x limit -15 15 0.4
  200. $jointconstrain "leg_upper_R" y limit -70 50 0.4
  201. $jointconstrain "leg_upper_R" z limit -15 15 0.4
  202.  
  203. $jointmassbias "leg_lower_R" 3
  204. $jointrotdamping "leg_lower_R" 2
  205. $jointconstrain "leg_lower_R" x limit 0 0 0.4
  206. $jointconstrain "leg_lower_R" y limit 0 110 0.4
  207. $jointconstrain "leg_lower_R" z limit 0 0 0.4
  208.  
  209. $jointmassbias "leg_upper_L" 3
  210. $jointrotdamping "leg_upper_L" 8
  211. $jointconstrain "leg_upper_L" x limit -15 15 0.4
  212. $jointconstrain "leg_upper_L" y limit -15 15 0.4
  213. $jointconstrain "leg_upper_L" z limit -70 50 0.4
  214.  
  215. $jointmassbias "leg_lower_L" 3
  216. $jointrotdamping "leg_lower_L" 2
  217. $jointconstrain "leg_lower_L" x limit 0 0 0.4
  218. $jointconstrain "leg_lower_L" y limit 0 0 0.4
  219. $jointconstrain "leg_lower_L" z limit 0 110 0.4
  220.  
  221. $jointconstrain "ankle_L" x limit -20 20 0.4
  222. $jointconstrain "ankle_L" y limit -40 40 0.4
  223. $jointconstrain "ankle_L" z limit -30 40 0.4
  224.  
  225. $jointrotdamping "spine_0" 2
  226. $jointconstrain "spine_0" x limit -15 15 0.4
  227. $jointconstrain "spine_0" y limit -15 15 0.4
  228. $jointconstrain "spine_0" z limit -5 25 0.4
  229.  
  230. $jointrotdamping "spine_2" 2
  231. $jointconstrain "spine_2" x limit -15 15 0.4
  232. $jointconstrain "spine_2" y limit -15 15 0.4
  233. $jointconstrain "spine_2" z limit -10 35 0.4
  234.  
  235. $jointmassbias "arm_upper_R" 3
  236. $jointconstrain "arm_upper_R" x limit -45 45 0.4
  237. $jointconstrain "arm_upper_R" y limit -30 70 0.4
  238. $jointconstrain "arm_upper_R" z limit -70 45 0.4
  239.  
  240. $jointmassbias "arm_upper_L" 3
  241. $jointconstrain "arm_upper_L" x limit -45 45 0.4
  242. $jointconstrain "arm_upper_L" y limit -30 70 0.4
  243. $jointconstrain "arm_upper_L" z limit -70 45 0.4
  244.  
  245. $jointmassbias "arm_lower_L" 3
  246. $jointconstrain "arm_lower_L" x limit -20 20 0.4
  247. $jointconstrain "arm_lower_L" y limit -5 5 0.4
  248. $jointconstrain "arm_lower_L" z limit -10 90 0.4
  249.  
  250. $jointrotdamping "hand_L" 8
  251. $jointconstrain "hand_L" x limit -15 15 0.4
  252. $jointconstrain "hand_L" y limit -20 30 0.4
  253. $jointconstrain "hand_L" z limit -20 20 0.4
  254.  
  255. $jointmassbias "arm_lower_R" 3
  256. $jointconstrain "arm_lower_R" x limit -20 20 0.4
  257. $jointconstrain "arm_lower_R" y limit -10 90 0.4
  258. $jointconstrain "arm_lower_R" z limit -5 5 0.4
  259.  
  260. $jointrotdamping "hand_R" 8
  261. $jointconstrain "hand_R" x limit -15 15 0.4
  262. $jointconstrain "hand_R" y limit -20 30 0.4
  263. $jointconstrain "hand_R" z limit -20 20 0.4
  264.  
  265. $jointrotdamping "head_0" 2
  266. $jointconstrain "head_0" x limit -25 25 0.4
  267. $jointconstrain "head_0" y limit -20 20 0.4
  268. $jointconstrain "head_0" z limit -10 35 0.4
  269.  
  270. $jointconstrain "ankle_R" x limit -20 20 0.4
  271. $jointconstrain "ankle_R" y limit -40 40 0.4
  272. $jointconstrain "ankle_R" z limit -30 40 0.4
  273. $jointcollide "head_0" "hand_L"
  274. }
  275.  
  276. $KeyValues
  277. {
  278. snapshot_weights_all
  279. {
  280. }
  281. snapshot_weights_upperbody
  282. {
  283. "leg_upper_L" "0.5"
  284. "leg_lower_L" "0"
  285. "ankle_L" "0"
  286. "ball_L" "0"
  287. "leg_upper_R" "0.5"
  288. "leg_lower_R" "0"
  289. "ankle_R" "0"
  290. "ball_R" "0"
  291. "leg_upper_L_TWIST" "0.5"
  292. "leg_upper_L_TWIST1" "0.2"
  293. "leg_upper_R_TWIST" "0.5"
  294. "leg_upper_R_TWIST1" "0.2"
  295. }
  296. qc_path
  297. {
  298. "value" "gopnik.qc"
  299. }
  300. }
Add Comment
Please, Sign In to add comment