Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $modelname "radiogosha/detective/detectiveFBI.mdl"
- $model "detective" "Head.smd" {
- flexfile "Head.vta"
- {
- defaultflex frame 0
- flex "CM_Happy" frame 1
- flex "CM_Sad" frame 2
- flex "CM_Neutral" frame 3
- flex "Mouth" frame 4
- flex "Ah_Small" frame 5
- flex "Ah" frame 6
- flex "Ah_Big" frame 7
- flex "Ehh_Small" frame 8
- flex "Ehh" frame 9
- flex "Ehh_Big" frame 10
- flex "Oh_Small" frame 11
- flex "Oh" frame 12
- flex "Oh_Big" frame 13
- flex "Smile" frame 14
- flex "Smile_Big" frame 15
- flex "EyeScared_L" frame 16
- flex "EyeScared_R" frame 17
- flex "EyeHappy_L" frame 18
- flex "EyeHappy_R" frame 19
- flex "EyeAngry_L" frame 20
- flex "EyeAngry_R" frame 21
- flex "EB_SurprisedL" frame 22
- flex "EB_SurprisedR" frame 23
- flex "EB_SadL" frame 24
- flex "EB_SadR" frame 25
- flex "EB_HappyL" frame 26
- flex "EB_HappyR" frame 27
- flex "EB_AngryL" frame 28
- flex "EB_AngryR" frame 29
- }
- flexcontroller phoneme range 0 1 "CM_Happy"
- flexcontroller phoneme range 0 1 "CM_Sad"
- flexcontroller phoneme range 0 1 "CM_Neutral"
- flexcontroller phoneme range 0 1 "Mouth"
- flexcontroller phoneme range 0 1 "Ah_Small"
- flexcontroller phoneme range 0 1 "Ah"
- flexcontroller phoneme range 0 1 "Ah_Big"
- flexcontroller phoneme range 0 1 "Ehh_Small"
- flexcontroller phoneme range 0 1 "Ehh"
- flexcontroller phoneme range 0 1 "Ehh_Big"
- flexcontroller phoneme range 0 1 " Oh_Small"
- flexcontroller phoneme range 0 1 " Oh"
- flexcontroller phoneme range 0 1 " Oh_Big"
- flexcontroller phoneme range 0 1 " Smile"
- flexcontroller phoneme range 0 1 " Smile_Big"
- flexcontroller phoneme range 0 1 " EyeScared_L"
- flexcontroller phoneme range 0 1 " EyeScared_R"
- flexcontroller phoneme range 0 1 " EyeHappy_L"
- flexcontroller phoneme range 0 1 " EyeHappy_R"
- flexcontroller phoneme range 0 1 " EyeAngry_L"
- flexcontroller phoneme range 0 1 " EyeAngry_R"
- flexcontroller phoneme range 0 1 " EB_SurprisedL"
- flexcontroller phoneme range 0 1 " EB_SurprisedR"
- flexcontroller phoneme range 0 1 " EB_SadL"
- flexcontroller phoneme range 0 1 " EB_SadR"
- flexcontroller phoneme range 0 1 " EB_HappyL"
- flexcontroller phoneme range 0 1 " EB_HappyR"
- flexcontroller phoneme range 0 1 " EB_AngryL"
- flexcontroller phoneme range 0 1 " EB_AngryR"
- %CM_Happy =CM_Happy
- %CM_Sad =CM_Sad
- %CM_Neutral =CM_Neutral
- %Mouth =Mouth
- %Ah_Small =Ah_Small
- %Ah =Ah
- %Ah_Big =Ah_Big
- %Ehh_Small =Ehh_Small
- %Ehh =Ehh
- %Ehh_Big =Ehh_Big
- %Oh_Small =Oh_Small
- %Oh =Oh
- %Oh_Big =Oh_Big
- %Smile =Smile
- %Smile_Big =Smile_Big
- %EyeScared_L =EyeScared_L
- %EyeScared_R =EyeScared_R
- %EyeHappy_L =EyeHappy_L
- %EyeHappy_R =EyeHappy_R
- %EyeAngry_L =EyeAngry_L
- %EyeAngry_R =EyeAngry_R
- %EB_SurprisedL =EB_SurprisedL
- %EB_SurprisedR =EB_SurprisedR
- %EB_SadL =EB_SadL
- %EB_SadR =EB_SadR
- %EB_HappyL =EB_HappyL
- %EB_HappyR =EB_HappyR
- %EB_AngryL =EB_AngryL
- %EB_AngryR =EB_AngryR
- }
- $bodygroup "body"
- {
- studio "body.smd"
- }
- $bodygroup "glasses"
- {
- studio "glasses.smd"
- blank
- }
- $surfaceprop "flesh"
- $contents "solid"
- $illumposition -0.637 0 35.954
- $ambientboost
- $mostlyopaque
- $cdmaterials "models\yourname\character_name_mats\"
- $cbox 0 0 0 0 0 0
- $bbox -13 -13 0 13 13 72
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $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
- $ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
- $ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
- $ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
- $ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0
- //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.
- //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.
- //Copied from CaptainBigButt's post: https://web.archive.org/web/20160608040725/https://facepunch.com/showthread.php?t=1439159
- $ikautoplaylock "rfoot" 0.2 0.1
- $ikautoplaylock "lfoot" 0.2 0.1
- $sequence reference "anims/reference_male" fps 1
- $animation a_proportions "anims/proportions" subtract reference 0
- $sequence proportions a_proportions predelta autoplay
- $Sequence "ragdoll" {
- "anims/proportions"
- activity "ACT_DIERAGDOLL" 1
- fadein 0.2
- fadeout 0.2
- fps 30
- }
- $includemodel "m_anm.mdl"
- $includemodel "m_anm.mdl"
- $includemodel "m_gst.mdl"
- $includemodel "m_pst.mdl"
- $includemodel "m_shd.mdl"
- $includemodel "m_ss.mdl"
- $includemodel "humans/female_shared.mdl"
- $includemodel "humans/female_ss.mdl"
- $includemodel "humans/female_gestures.mdl"
- $includemodel "humans/female_postures.mdl"
- $includemodel "humans/female_shared.mdl"
- $includemodel "humans/female_ss.mdl"
- $collisionmodel "DetectiveFBI_physics.smd"
- {
- $mass 90
- $inertia 10
- $damping 0.01
- $rotdamping 0
- $rootbone "ValveBiped.Bip01_Pelvis"
- $jointconstrain "valvebiped.bip01_spine" x limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_spine" y limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_spine" z limit -20.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_spine1" x limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_spine1" y limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_spine1" z limit -20.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_spine2" x limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_spine2" y limit -15.00 15.00 0.00
- $jointconstrain "valvebiped.bip01_spine2" z limit -30.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_spine4" x limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_spine4" y limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_spine4" z limit -20.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_r_clavicle" x limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_r_clavicle" y limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_r_clavicle" z limit -5.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_clavicle" x limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_l_clavicle" y limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_l_clavicle" z limit -5.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_upperarm" x limit -45.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_l_upperarm" y limit -45.00 50.00 0.00
- $jointconstrain "valvebiped.bip01_l_upperarm" z limit -90.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_l_forearm" z limit -130.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_l_hand" x limit -45.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_l_hand" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_hand" z limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_upperarm" x limit -45.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_r_upperarm" y limit -50.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_r_upperarm" z limit -90.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_neck1" x limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_neck1" y limit -15.00 15.00 0.00
- $jointconstrain "valvebiped.bip01_neck1" z limit -20.00 20.00 0.00
- $jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_r_forearm" z limit -130.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_r_hand" x limit -45.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_r_hand" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_hand" z limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_thigh" x limit -15.00 15.00 0.00
- $jointconstrain "valvebiped.bip01_r_thigh" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_thigh" z limit -60.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_r_calf" z limit 0.00 110.00 0.00
- $jointconstrain "valvebiped.bip01_head1" x limit -45.00 45.00 0.00
- $jointconstrain "valvebiped.bip01_head1" y limit -10.00 10.00 0.00
- $jointconstrain "valvebiped.bip01_head1" z limit -15.00 15.00 0.00
- $jointconstrain "valvebiped.bip01_l_thigh" x limit -15.00 15.00 0.00
- $jointconstrain "valvebiped.bip01_l_thigh" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_thigh" z limit -60.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00
- $jointconstrain "valvebiped.bip01_l_calf" z limit 0.00 110.00 0.00
- $jointconstrain "valvebiped.bip01_l_foot" x limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_foot" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_l_foot" z limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_foot" x limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_foot" y limit -30.00 30.00 0.00
- $jointconstrain "valvebiped.bip01_r_foot" z limit -30.00 30.00 0.00
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement