Advertisement
Guest User

Untitled

a guest
Mar 18th, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.70 KB | None | 0 0
  1. $modelname "radiogosha/detective/detectiveFBI.mdl"
  2.  
  3. $model "detective" "Head.smd" {
  4.  
  5. flexfile "Head.vta"
  6. {
  7. defaultflex frame 0
  8. flex "CM_Happy" frame 1
  9. flex "CM_Sad" frame 2
  10. flex "CM_Neutral" frame 3
  11. flex "Mouth" frame 4
  12. flex "Ah_Small" frame 5
  13. flex "Ah" frame 6
  14. flex "Ah_Big" frame 7
  15. flex "Ehh_Small" frame 8
  16. flex "Ehh" frame 9
  17. flex "Ehh_Big" frame 10
  18. flex "Oh_Small" frame 11
  19. flex "Oh" frame 12
  20. flex "Oh_Big" frame 13
  21. flex "Smile" frame 14
  22. flex "Smile_Big" frame 15
  23. flex "EyeScared_L" frame 16
  24. flex "EyeScared_R" frame 17
  25. flex "EyeHappy_L" frame 18
  26. flex "EyeHappy_R" frame 19
  27. flex "EyeAngry_L" frame 20
  28. flex "EyeAngry_R" frame 21
  29. flex "EB_SurprisedL" frame 22
  30. flex "EB_SurprisedR" frame 23
  31. flex "EB_SadL" frame 24
  32. flex "EB_SadR" frame 25
  33. flex "EB_HappyL" frame 26
  34. flex "EB_HappyR" frame 27
  35. flex "EB_AngryL" frame 28
  36. flex "EB_AngryR" frame 29
  37. }
  38.  
  39. flexcontroller phoneme range 0 1 "CM_Happy"
  40. flexcontroller phoneme range 0 1 "CM_Sad"
  41. flexcontroller phoneme range 0 1 "CM_Neutral"
  42. flexcontroller phoneme range 0 1 "Mouth"
  43. flexcontroller phoneme range 0 1 "Ah_Small"
  44. flexcontroller phoneme range 0 1 "Ah"
  45. flexcontroller phoneme range 0 1 "Ah_Big"
  46. flexcontroller phoneme range 0 1 "Ehh_Small"
  47. flexcontroller phoneme range 0 1 "Ehh"
  48. flexcontroller phoneme range 0 1 "Ehh_Big"
  49. flexcontroller phoneme range 0 1 " Oh_Small"
  50. flexcontroller phoneme range 0 1 " Oh"
  51. flexcontroller phoneme range 0 1 " Oh_Big"
  52. flexcontroller phoneme range 0 1 " Smile"
  53. flexcontroller phoneme range 0 1 " Smile_Big"
  54. flexcontroller phoneme range 0 1 " EyeScared_L"
  55. flexcontroller phoneme range 0 1 " EyeScared_R"
  56. flexcontroller phoneme range 0 1 " EyeHappy_L"
  57. flexcontroller phoneme range 0 1 " EyeHappy_R"
  58. flexcontroller phoneme range 0 1 " EyeAngry_L"
  59. flexcontroller phoneme range 0 1 " EyeAngry_R"
  60. flexcontroller phoneme range 0 1 " EB_SurprisedL"
  61. flexcontroller phoneme range 0 1 " EB_SurprisedR"
  62. flexcontroller phoneme range 0 1 " EB_SadL"
  63. flexcontroller phoneme range 0 1 " EB_SadR"
  64. flexcontroller phoneme range 0 1 " EB_HappyL"
  65. flexcontroller phoneme range 0 1 " EB_HappyR"
  66. flexcontroller phoneme range 0 1 " EB_AngryL"
  67. flexcontroller phoneme range 0 1 " EB_AngryR"
  68.  
  69. %CM_Happy =CM_Happy
  70. %CM_Sad =CM_Sad
  71. %CM_Neutral =CM_Neutral
  72. %Mouth =Mouth
  73. %Ah_Small =Ah_Small
  74. %Ah =Ah
  75. %Ah_Big =Ah_Big
  76. %Ehh_Small =Ehh_Small
  77. %Ehh =Ehh
  78. %Ehh_Big =Ehh_Big
  79. %Oh_Small =Oh_Small
  80. %Oh =Oh
  81. %Oh_Big =Oh_Big
  82. %Smile =Smile
  83. %Smile_Big =Smile_Big
  84. %EyeScared_L =EyeScared_L
  85. %EyeScared_R =EyeScared_R
  86. %EyeHappy_L =EyeHappy_L
  87. %EyeHappy_R =EyeHappy_R
  88. %EyeAngry_L =EyeAngry_L
  89. %EyeAngry_R =EyeAngry_R
  90. %EB_SurprisedL =EB_SurprisedL
  91. %EB_SurprisedR =EB_SurprisedR
  92. %EB_SadL =EB_SadL
  93. %EB_SadR =EB_SadR
  94. %EB_HappyL =EB_HappyL
  95. %EB_HappyR =EB_HappyR
  96. %EB_AngryL =EB_AngryL
  97. %EB_AngryR =EB_AngryR
  98.  
  99. }
  100.  
  101. $bodygroup "body"
  102. {
  103. studio "body.smd"
  104. }
  105.  
  106. $bodygroup "glasses"
  107. {
  108. studio "glasses.smd"
  109. blank
  110. }
  111.  
  112.  
  113. $surfaceprop "flesh"
  114.  
  115. $contents "solid"
  116.  
  117. $illumposition -0.637 0 35.954
  118.  
  119. $ambientboost
  120.  
  121. $mostlyopaque
  122.  
  123. $cdmaterials "models\yourname\character_name_mats\"
  124.  
  125. $cbox 0 0 0 0 0 0
  126.  
  127. $bbox -13 -13 0 13 13 72
  128.  
  129.  
  130.  
  131. $definebone "ValveBiped.Bip01_Pelvis" "" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  132. $definebone "ValveBiped.Bip01_Spine" "ValveBiped.Bip01_Pelvis" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  133. $definebone "ValveBiped.Bip01_Spine1" "ValveBiped.Bip01_Spine" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  134. $definebone "ValveBiped.Bip01_Spine2" "ValveBiped.Bip01_Spine1" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  135. $definebone "ValveBiped.Bip01_Spine4" "ValveBiped.Bip01_Spine2" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  136. $definebone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  137. $definebone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  138. $definebone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  139. $definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  140. $definebone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  141. $definebone "ValveBiped.Bip01_L_Thigh" "ValveBiped.Bip01_Pelvis" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  142. $definebone "ValveBiped.Bip01_L_Calf" "ValveBiped.Bip01_L_Thigh" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  143. $definebone "ValveBiped.Bip01_L_Foot" "ValveBiped.Bip01_L_Calf" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  144. $definebone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  145. $definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  146. $definebone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  147. $definebone "ValveBiped.Bip01_R_Thigh" "ValveBiped.Bip01_Pelvis" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  148. $definebone "ValveBiped.Bip01_R_Calf" "ValveBiped.Bip01_R_Thigh" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  149. $definebone "ValveBiped.Bip01_R_Foot" "ValveBiped.Bip01_R_Calf" 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  150. $definebone "root" "" 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
  151.  
  152.  
  153.  
  154.  
  155.  
  156. $ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
  157. $ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
  158. $ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
  159. $ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0
  160.  
  161. //The first value, 0.5, dictates how high the foot is off the ground. Generally values between 0-1 are acceptable enough, but you can go higher or go lower into the negatives if need be.
  162. //The second value, 0.1 can be left untouched (or even at 0). This controls the rotation of the foot and isn't really necessary.
  163. //Copied from CaptainBigButt's post: https://web.archive.org/web/20160608040725/https://facepunch.com/showthread.php?t=1439159
  164. $ikautoplaylock "rfoot" 0.2 0.1
  165. $ikautoplaylock "lfoot" 0.2 0.1
  166.  
  167. $sequence reference "anims/reference_male" fps 1
  168.  
  169. $animation a_proportions "anims/proportions" subtract reference 0
  170.  
  171. $sequence proportions a_proportions predelta autoplay
  172.  
  173. $Sequence "ragdoll" {
  174. "anims/proportions"
  175. activity "ACT_DIERAGDOLL" 1
  176. fadein 0.2
  177. fadeout 0.2
  178. fps 30
  179. }
  180.  
  181.  
  182.  
  183. $includemodel "m_anm.mdl"
  184. $includemodel "m_anm.mdl"
  185. $includemodel "m_gst.mdl"
  186. $includemodel "m_pst.mdl"
  187. $includemodel "m_shd.mdl"
  188. $includemodel "m_ss.mdl"
  189. $includemodel "humans/female_shared.mdl"
  190. $includemodel "humans/female_ss.mdl"
  191. $includemodel "humans/female_gestures.mdl"
  192. $includemodel "humans/female_postures.mdl"
  193. $includemodel "humans/female_shared.mdl"
  194. $includemodel "humans/female_ss.mdl"
  195.  
  196. $collisionmodel "DetectiveFBI_physics.smd"
  197. {
  198. $mass 90
  199. $inertia 10
  200. $damping 0.01
  201. $rotdamping 0
  202. $rootbone "ValveBiped.Bip01_Pelvis"
  203.  
  204.  
  205. $jointconstrain "valvebiped.bip01_spine" x limit -20.00 20.00 0.00
  206. $jointconstrain "valvebiped.bip01_spine" y limit -10.00 10.00 0.00
  207. $jointconstrain "valvebiped.bip01_spine" z limit -20.00 10.00 0.00
  208.  
  209. $jointconstrain "valvebiped.bip01_spine1" x limit -20.00 20.00 0.00
  210. $jointconstrain "valvebiped.bip01_spine1" y limit -10.00 10.00 0.00
  211. $jointconstrain "valvebiped.bip01_spine1" z limit -20.00 10.00 0.00
  212.  
  213. $jointconstrain "valvebiped.bip01_spine2" x limit -20.00 20.00 0.00
  214. $jointconstrain "valvebiped.bip01_spine2" y limit -15.00 15.00 0.00
  215. $jointconstrain "valvebiped.bip01_spine2" z limit -30.00 45.00 0.00
  216.  
  217. $jointconstrain "valvebiped.bip01_spine4" x limit -20.00 20.00 0.00
  218. $jointconstrain "valvebiped.bip01_spine4" y limit -10.00 10.00 0.00
  219. $jointconstrain "valvebiped.bip01_spine4" z limit -20.00 10.00 0.00
  220.  
  221. $jointconstrain "valvebiped.bip01_r_clavicle" x limit -10.00 10.00 0.00
  222. $jointconstrain "valvebiped.bip01_r_clavicle" y limit -20.00 20.00 0.00
  223. $jointconstrain "valvebiped.bip01_r_clavicle" z limit -5.00 30.00 0.00
  224.  
  225. $jointconstrain "valvebiped.bip01_l_clavicle" x limit -10.00 10.00 0.00
  226. $jointconstrain "valvebiped.bip01_l_clavicle" y limit -20.00 20.00 0.00
  227. $jointconstrain "valvebiped.bip01_l_clavicle" z limit -5.00 30.00 0.00
  228.  
  229. $jointconstrain "valvebiped.bip01_l_upperarm" x limit -45.00 45.00 0.00
  230. $jointconstrain "valvebiped.bip01_l_upperarm" y limit -45.00 50.00 0.00
  231. $jointconstrain "valvebiped.bip01_l_upperarm" z limit -90.00 30.00 0.00
  232.  
  233. $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00
  234. $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
  235. $jointconstrain "valvebiped.bip01_l_forearm" z limit -130.00 0.00 0.00
  236.  
  237. $jointconstrain "valvebiped.bip01_l_hand" x limit -45.00 45.00 0.00
  238. $jointconstrain "valvebiped.bip01_l_hand" y limit -30.00 30.00 0.00
  239. $jointconstrain "valvebiped.bip01_l_hand" z limit -30.00 30.00 0.00
  240.  
  241. $jointconstrain "valvebiped.bip01_r_upperarm" x limit -45.00 45.00 0.00
  242. $jointconstrain "valvebiped.bip01_r_upperarm" y limit -50.00 45.00 0.00
  243. $jointconstrain "valvebiped.bip01_r_upperarm" z limit -90.00 30.00 0.00
  244.  
  245. $jointconstrain "valvebiped.bip01_neck1" x limit -10.00 10.00 0.00
  246. $jointconstrain "valvebiped.bip01_neck1" y limit -15.00 15.00 0.00
  247. $jointconstrain "valvebiped.bip01_neck1" z limit -20.00 20.00 0.00
  248.  
  249. $jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.00
  250. $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
  251. $jointconstrain "valvebiped.bip01_r_forearm" z limit -130.00 0.00 0.00
  252.  
  253. $jointconstrain "valvebiped.bip01_r_hand" x limit -45.00 45.00 0.00
  254. $jointconstrain "valvebiped.bip01_r_hand" y limit -30.00 30.00 0.00
  255. $jointconstrain "valvebiped.bip01_r_hand" z limit -30.00 30.00 0.00
  256.  
  257. $jointconstrain "valvebiped.bip01_r_thigh" x limit -15.00 15.00 0.00
  258. $jointconstrain "valvebiped.bip01_r_thigh" y limit -30.00 30.00 0.00
  259. $jointconstrain "valvebiped.bip01_r_thigh" z limit -60.00 30.00 0.00
  260.  
  261. $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.00
  262. $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00
  263. $jointconstrain "valvebiped.bip01_r_calf" z limit 0.00 110.00 0.00
  264.  
  265. $jointconstrain "valvebiped.bip01_head1" x limit -45.00 45.00 0.00
  266. $jointconstrain "valvebiped.bip01_head1" y limit -10.00 10.00 0.00
  267. $jointconstrain "valvebiped.bip01_head1" z limit -15.00 15.00 0.00
  268.  
  269. $jointconstrain "valvebiped.bip01_l_thigh" x limit -15.00 15.00 0.00
  270. $jointconstrain "valvebiped.bip01_l_thigh" y limit -30.00 30.00 0.00
  271. $jointconstrain "valvebiped.bip01_l_thigh" z limit -60.00 30.00 0.00
  272.  
  273. $jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.00
  274. $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00
  275. $jointconstrain "valvebiped.bip01_l_calf" z limit 0.00 110.00 0.00
  276.  
  277. $jointconstrain "valvebiped.bip01_l_foot" x limit -30.00 30.00 0.00
  278. $jointconstrain "valvebiped.bip01_l_foot" y limit -30.00 30.00 0.00
  279. $jointconstrain "valvebiped.bip01_l_foot" z limit -30.00 30.00 0.00
  280.  
  281. $jointconstrain "valvebiped.bip01_r_foot" x limit -30.00 30.00 0.00
  282. $jointconstrain "valvebiped.bip01_r_foot" y limit -30.00 30.00 0.00
  283. $jointconstrain "valvebiped.bip01_r_foot" z limit -30.00 30.00 0.00
  284. }
  285.  
  286.  
  287.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement