Untitled

mail@pastecode.io avatar
unknown
plain_text
15 days ago
17 kB
3
Indexable
Never
// Created by Crowbar 0.74

$modelname "zombie/classic.mdl"

$bodygroup "studio"
{
	studio "Zombie_reference.smd"
}
$bodygroup "headcrab1"
{
	blank
	studio "Headcrab_reference.smd"
}
$bodygroup "studio"
{
	studio "zombie_cop_vest_reference.smd"
}
$bodygroup "studio"
{
	studio "zombie_rebel_reference.smd"
}
$bodygroup "studio"
{
	studio "zombie_medic_reference.smd"
}
$bodygroup "studio"
{
	studio "zombie_cop_reference.smd"
}

$lod 40
{
	replacemodel "Zombie_reference.smd" "Zombie_reference_lod1.smd"
	replacemodel "Headcrab_reference.smd" "Headcrab_reference_lod1.smd"
	replacemodel "zombie_cop_vest_reference.smd" "zombie_cop_vest_reference_lod1.smd"
	replacemodel "zombie_rebel_reference.smd" "zombie_rebel_reference_lod1.smd"
	replacemodel "zombie_medic_reference.smd" "zombie_medic_reference_lod1.smd"
	replacemodel "zombie_cop_reference.smd" "zombie_cop_reference_lod1.smd"
	nofacial
}
$lod 70
{
	replacemodel "Zombie_reference.smd" "Zombie_reference_lod2.smd"
	replacemodel "Headcrab_reference.smd" "Headcrab_reference_lod2.smd"
	replacemodel "zombie_cop_vest_reference.smd" "zombie_cop_vest_reference_lod2.smd"
	replacemodel "zombie_rebel_reference.smd" "zombie_rebel_reference_lod2.smd"
	replacemodel "zombie_medic_reference.smd" "zombie_medic_reference_lod2.smd"
	replacemodel "zombie_cop_reference.smd" "zombie_cop_reference_lod2.smd"
	nofacial
}
$lod 120
{
	replacemodel "Zombie_reference.smd" "Zombie_reference_lod3.smd"
	replacemodel "Headcrab_reference.smd" "Headcrab_reference_lod3.smd"
	replacemodel "zombie_cop_vest_reference.smd" "zombie_cop_vest_reference_lod3.smd"
	replacemodel "zombie_rebel_reference.smd" "zombie_rebel_reference_lod3.smd"
	replacemodel "zombie_medic_reference.smd" "zombie_medic_reference_lod3.smd"
	replacemodel "zombie_cop_reference.smd" "zombie_cop_reference_lod3.smd"
	nofacial
}
$shadowlod
{
	replacemodel "Zombie_reference.smd" "Zombie_reference_lod4.smd"
	replacemodel "Headcrab_reference.smd" "Headcrab_reference_lod4.smd"
	replacemodel "zombie_cop_vest_reference.smd" "zombie_cop_vest_reference_lod4.smd"
	replacemodel "zombie_rebel_reference.smd" "zombie_rebel_reference_lod4.smd"
	replacemodel "zombie_medic_reference.smd" "zombie_medic_reference_lod4.smd"
	replacemodel "zombie_cop_reference.smd" "zombie_cop_reference_lod4.smd"
	nofacial
}

$surfaceprop "zombieflesh"

$contents "solid"

$illumposition 4.81 -2.887 33.483

$eyeposition 0 0 64

$cdmaterials "models\zombie_classic_new\"
$cdmaterials "models\headcrab_classic\"
$cdmaterials "models\police\"

$texturegroup "skinfamilies"
{
	{ "Zombie_Classic_sheet"            "blank"                 "blankc"             "blankd"             "blankb"                "blanke"               }
	{ "zombie_classic_sheet_citizen"    "blank"                 "blankc"             "blankd"             "blankb"                "blanke"               }
	{ "zombie_classic_sheet_rebelgreen" "metrocop_sheet_zombie" "rebel_sheet_zombie" "blankd"             "blankb"                "blanke"               }
	{ "zombie_classic_sheet_rebelblue"  "metrocop_sheet_zombie" "rebel_sheet_zombie" "blankd"             "blankb"                "blanke"               }
	{ "zombie_classic_sheet_medicgrey"  "metrocop_sheet_zombie" "blankc"             "rebel_sheet_zombie" "blankb"                "blanke"               }
	{ "zombie_classic_sheet_medicblue"  "metrocop_sheet_zombie" "blankc"             "rebel_sheet_zombie" "blankb"                "blanke"               }
	{ "zombie_classic_sheet_cop"        "metrocop_sheet_zombie" "blankc"             "blankd"             "metrocop_sheet_zombie" "combine_elite_zombie" }
	{ "Zombie_Classic_sheet"            "blank"                 "blankc"             "blankd"             "blankb"                "blanke"               }
}

$attachment "headcrab" "ValveBiped.HC_Rear_Bone" 0 0 0 rotate 0 0 0
$attachment "eyes" "ValveBiped.HC_Body_Bone" 0 0 0 rotate 0 0 -50
$attachment "head" "ValveBiped.HC_Body_Bone" 0 0 0 rotate 0 0 -50
$attachment "chest" "ValveBiped.Bip01_Spine4" -3 6 0 rotate 0 60 90
$attachment "maw" "ValveBiped.Bip01_Spine2" 0 8 0 rotate 0 90 90
$attachment "Blood_Left" "ValveBiped.Bip01_L_Finger2" 0 0 0 rotate 0 0 0
$attachment "Blood_Right" "ValveBiped.Bip01_R_Finger2" 0 0 0 rotate 0 0 0

$cbox 0 0 0 0 0 0

$bbox -11.39 -28.295 -2.394 10.399 28.602 73.419

$hboxset "default"
$hbox 2 "ValveBiped.Bip01_Spine1" -8.5 -3.84 -7.12 15.5 9.84 7.73
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1 -3.5 -2.5 11 3.5 2.5
$hbox 4 "ValveBiped.Bip01_L_Forearm" -0.5 -1.86 -1.9 10.5 3.11 2.36
$hbox 4 "ValveBiped.Bip01_L_Hand" 0 -1.78 -1 6 1.23 2
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1 -3.5 -2.5 11 3.5 2.5
$hbox 5 "ValveBiped.Bip01_R_Forearm" -0.5 -1.89 -1.6 10.5 3.09 2.66
$hbox 5 "ValveBiped.Bip01_R_Hand" 0 -1.78 -2.5 6 1.23 0.5
$hbox 6 "ValveBiped.Bip01_L_Thigh" 0 -4 -3.73 17.25 4 4.29
$hbox 6 "ValveBiped.Bip01_L_Calf" 0 -4.87 -3.54 17.25 3.18 2.63
$hbox 6 "ValveBiped.Bip01_L_Foot" -1.5 -2 -2.5 7.5 2 2.5
$hbox 7 "ValveBiped.Bip01_R_Thigh" 0 -4 -3.73 17.25 4 4.29
$hbox 7 "ValveBiped.Bip01_R_Calf" 0 -4.92 -3.12 17.25 3.25 2.65
$hbox 7 "ValveBiped.Bip01_R_Foot" -1.5 -2 -2.5 7.5 2 2.5
$hbox 1 "ValveBiped.HC_Body_Bone" -6.59 -5 -5.76 8.5 5 6.24

$definebone "ValveBiped.Bip01_Pelvis" "" -0.000005 1.515989 38.353996 0 -0.000057 90.000037 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Thigh" "ValveBiped.Bip01_Pelvis" 3.890453 0 -0.000004 -6.298009 -90.530886 -89.999982 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Calf" "ValveBiped.Bip01_L_Thigh" 17.59317 0 0 0 16.008155 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Foot" "ValveBiped.Bip01_L_Calf" 17.699579 0 0 -2.794945 -66.211977 -0.906591 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Toe0" "ValveBiped.Bip01_L_Foot" 6.879457 0 0 2.831041 -33.495521 -3.65398 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Thigh" "ValveBiped.Bip01_Pelvis" -3.890452 0 0.000007 -6.255897 -90.309895 -89.999982 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Calf" "ValveBiped.Bip01_R_Thigh" 17.593163 0 0 0 16.011994 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Foot" "ValveBiped.Bip01_R_Calf" 17.699577 0 0 2.33062 -66.226593 2.220956 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Toe0" "ValveBiped.Bip01_R_Foot" 6.879457 0 0 -3.168915 -33.468757 -1.473704 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_Spine" "ValveBiped.Bip01_Pelvis" 0.000002 3.345116 -2.981992 4.944339 89.999982 89.999982 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_Spine1" "ValveBiped.Bip01_Spine" 4.126709 0 0 0 5.074516 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_Spine2" "ValveBiped.Bip01_Spine1" 3.613472 0 0 0 7.43745 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_Spine4" "ValveBiped.Bip01_Spine2" 9.183788 0 0 0 20.151327 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 1.673229 1.247213 2.595464 -73.711934 168.587674 91.510874 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 6.028142 0.000008 0.000002 -12.91292 -32.801772 -101.833742 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 11.692551 0 0 -0.000009 0.000002 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 12.075548 0 -0.000031 -7.742158 1.798745 -178.061242 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger3" "ValveBiped.Bip01_L_Hand" 5.564224 -0.557981 -0.100456 -51.159978 -75.906092 -14.492061 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger31" "ValveBiped.Bip01_L_Finger3" 5.508579 0 0 -0.128403 -78.099989 -0.000006 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger32" "ValveBiped.Bip01_L_Finger31" 3.800001 0 -0.000002 4.526073 -66.592992 0.000002 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" 5.744638 0.557979 0.100449 -61.369393 -58.717654 8.796262 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 6.052547 0 -0.000002 -23.542207 -84.10796 0 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 3.325016 -0.000004 0.000002 -2.203887 -59.043413 0.000002 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Hand" 5.613007 1.658157 0.708443 -70.499478 -87.097001 76.889598 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 5.643135 0 -0.000002 -51.519622 -88.553485 0.000011 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger12" "ValveBiped.Bip01_L_Finger11" 3.079116 -0.000004 0.000002 -7.4245 -67.370793 0.000005 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 1.673225 1.247219 -2.595471 73.711934 168.587155 -95.626945 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 6.028142 0 0 15.946161 -31.150741 105.625228 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 11.692551 0 0 0 0 0.000003 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 12.075577 0 -0.000004 3.975638 5.609829 -177.6521 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger3" "ValveBiped.Bip01_R_Hand" 5.943743 -0.602343 0.006439 74.957945 -83.501597 28.170779 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger31" "ValveBiped.Bip01_R_Finger3" 5.043457 0 0 -13.470013 -76.728508 -0.000003 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger32" "ValveBiped.Bip01_R_Finger31" 3.384896 0 0 -9.064309 -97.579573 0.000003 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 6.213892 0.602343 -0.006447 74.259169 -34.667612 -19.526971 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 5.536304 0 0.000002 65.687206 -54.304488 0.000017 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 3.312716 0.000004 -0.000001 29.106206 -76.658198 0.000001 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Hand" 5.899513 1.775719 -0.435104 84.408195 -51.263206 -93.161977 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" 5.285244 -0.000001 0 68.230564 26.411828 -0.000036 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger12" "ValveBiped.Bip01_R_Finger11" 3.098851 -0.000002 0 49.308976 76.043699 -0.000005 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" 4.015263 1.836177 -0.578133 61.681949 75.212383 147.088711 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 2.400002 0.000002 0 -42.749987 0.000002 0.000002 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 1.399994 -0.000002 0.000002 -52.874991 0.000001 0.000001 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 3.420513 1.944044 0.267532 -56.416181 68.84942 -156.975956 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 2.525002 -0.000002 0 38.249975 -0.000007 0.000001 0 0 0 0 0 0
$definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 1.582001 0 0 48.374999 -0.000005 -0.000004 0 0 0 0 0 0
$definebone "ValveBiped.HC_Body_Bone" "ValveBiped.Bip01_Spine4" 7.856865 0.357136 2.41031 -9.085851 72.317298 154.900057 0 0 0 0 0 0
$definebone "ValveBiped.HC_Rear_Bone" "ValveBiped.HC_Body_Bone" -7.842795 -1.678413 -0.934004 0 20.249984 29.250012 0 0 0 0 0 0
$definebone "ValveBiped.HC_Head_Bone" "ValveBiped.HC_Body_Bone" 3.738599 -2.965118 -0.136398 -4.50001 -4.500013 12.374969 0 0 0 0 0 0
$definebone "ValveBiped.HC_ThighL_Bone" "ValveBiped.HC_Rear_Bone" -0.450932 -0.675705 -6.164913 -30.718445 -70.093416 -172.984663 0 0 0 0 0 0
$definebone "ValveBiped.HC_CalfL_Bone" "ValveBiped.HC_ThighL_Bone" 6.098812 0 -0.000001 0 -0.000005 -0.000002 0 0 0 0 0 0
$definebone "ValveBiped.HC_ThighR_Bone" "ValveBiped.HC_Rear_Bone" -0.450915 -0.675709 6.164912 -7.079982 -90.538672 174.066292 0 0 0 0 0 0
$definebone "ValveBiped.HC_CalfR_Bone" "ValveBiped.HC_ThighR_Bone" 6.098812 -0.000001 0 -0.000002 -130.088644 0.000003 0 0 0 0 0 0
$definebone "ValveBiped.HC_UpperArmL_Bone" "ValveBiped.HC_Body_Bone" 2.630715 -3.155083 -5.016712 17.056895 -28.796166 1.88033 0 0 0 0 0 0
$definebone "ValveBiped.HC_ForeArmL_Bone" "ValveBiped.HC_UpperArmL_Bone" 8.25568 0 0.000001 0 -121.038766 0.000001 0 0 0 0 0 0
$definebone "ValveBiped.HC_UpperArmR_Bone" "ValveBiped.HC_Body_Bone" 2.630416 -3.155087 5.016869 -4.143289 -63.369641 -131.616994 0 0 0 0 0 0
$definebone "ValveBiped.HC_ForeArmR_Bone" "ValveBiped.HC_UpperArmR_Bone" 8.255669 -0.000004 0 0.000002 110.674596 0.000003 0 0 0 0 0 0
$definebone "ValveBiped" "" 0 0 0 0 0 89.999982 0 0 0 0 0 0


$poseparameter "move_yaw" -180 180 loop 0

$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

$sequence "refpose" {
	"classic_anims\refpose.smd"
	fadein 0.2
	fadeout 0.2
	fps 30
	loop
	ikrule "rhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 0
	ikrule "lhand" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 1
	ikrule "rfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 2
	ikrule "lfoot" release contact 0 fakeorigin 0 0 0 fakerotate 0 0 0 floor 0 height 0 radius 0 range 0 0 0 0 target 3
}

$includemodel "zombie\classic_animationslink.mdl"

$collisionjoints "classic_physics.smd"
{
	$mass 100
	$inertia 10
	$damping 0.1
	$rotdamping 3
	$rootbone "valvebiped.bip01_pelvis"


	$jointconstrain "ValveBiped.Bip01_Spine2" x limit -15 15 0.2
	$jointconstrain "ValveBiped.Bip01_Spine2" y limit -20 20 0.2
	$jointconstrain "ValveBiped.Bip01_Spine2" z limit -25 18 0.2

	$jointconstrain "ValveBiped.Bip01_R_Clavicle" x limit -6 6 0.2
	$jointconstrain "ValveBiped.Bip01_R_Clavicle" y limit -8 8 0.2
	$jointconstrain "ValveBiped.Bip01_R_Clavicle" z limit -6 16 0.2

	$jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -30 30 0.2
	$jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -70 85 0.2
	$jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -75 26 0.2

	$jointconstrain "ValveBiped.Bip01_L_Clavicle" x limit -6 6 0.2
	$jointconstrain "ValveBiped.Bip01_L_Clavicle" y limit -8 8 0.2
	$jointconstrain "ValveBiped.Bip01_L_Clavicle" z limit -6 16 0.2

	$jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -30 30 0.2
	$jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -85 70 0.2
	$jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -75 26 0.2

	$jointconstrain "ValveBiped.Bip01_L_Forearm" x limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -149 4 0.2

	$jointconstrain "ValveBiped.Bip01_L_Hand" x limit -55 55 0.2
	$jointconstrain "ValveBiped.Bip01_L_Hand" y limit -55 55 0.2
	$jointconstrain "ValveBiped.Bip01_L_Hand" z limit -55 55 0.2

	$jointconstrain "ValveBiped.Bip01_R_Forearm" x limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -149 4 0.2

	$jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -12 12 0.2
	$jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -8 75 0.2
	$jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -97 32 0.2

	$jointconstrain "ValveBiped.Bip01_R_Calf" x limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_R_Calf" y limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_R_Calf" z limit -12 126 0.2

	$jointconstrain "ValveBiped.Bip01_R_Foot" x limit 0 0 0
	$jointconstrain "ValveBiped.Bip01_R_Foot" y limit -25 6 0.2
	$jointconstrain "ValveBiped.Bip01_R_Foot" z limit -15 35 0.2

	$jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -12 12 0.2
	$jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -73 6 0.2
	$jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -93 30 0.2

	$jointconstrain "ValveBiped.Bip01_L_Calf" x limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_L_Calf" y limit 0 0 0.2
	$jointconstrain "ValveBiped.Bip01_L_Calf" z limit -8 126 0.2

	$jointconstrain "ValveBiped.Bip01_L_Foot" x limit 0 0 0
	$jointconstrain "ValveBiped.Bip01_L_Foot" y limit -19 19 0.2
	$jointconstrain "ValveBiped.Bip01_L_Foot" z limit -15 35 0.2

	$jointconstrain "ValveBiped.Bip01_R_Hand" x limit -55 55 0.2
	$jointconstrain "ValveBiped.Bip01_R_Hand" y limit -55 55 0.2
	$jointconstrain "ValveBiped.Bip01_R_Hand" z limit -55 55 0.2
}
Leave a Comment