fortressforever-models/player/scout/compile/scout.qc
2016-06-04 16:23:17 -07:00

300 lines
14 KiB
C++

$cd "..\"
$modelname "player/scout/scout.mdl"
//$model studio "/reference/scout_reference.smd"
$bodygroup torso
{
studio "/reference/scout_reference_torsoShape.smd"
blank
}
$bodygroup head
{
studio "/reference/scout_reference_headShape.smd"
blank
}
$bodygroup leftArm
{
studio "/reference/scout_reference_leftArmShape.smd"
blank
}
$bodygroup leftLeg
{
studio "/reference/scout_reference_leftLegShape.smd"
blank
}
$bodygroup rightArm
{
studio "/reference/scout_reference_rightArmShape.smd"
blank
}
$bodygroup rightLeg
{
studio "/reference/scout_reference_rightLegShape.smd"
blank
}
$texturegroup skinfamilies {
{ "scout_body_blue.vmt" "scout_head_blue.vmt" "scout_accessories.vmt"}
{ "scout_body_red.vmt" "scout_head_red.vmt" "scout_accessories.vmt"}
{ "scout_body_yellow.vmt" "scout_head_yellow.vmt" "scout_accessories.vmt" }
{ "scout_body_green.vmt" "scout_head_green.vmt" "scout_accessories.vmt"}
}
$lod 10 {
replacemodel "/reference/scout_reference_torsoShape.smd" "/reference/LOD/scout_lod1_torsoShape.smd"
// replacemodel "/reference/scout_reference_headShape.smd" "/reference/scout_reference_head_lodShape1.smd"
// replacemodel "/reference/scout_reference_leftArmShape.smd" "/reference/scout_reference_leftArm_lodShape1.smd"
// replacemodel "/reference/scout_reference_rightArmShape.smd" "/reference/scout_reference_rightArm_lodShape1.smd"
// replacemodel "/reference/scout_reference_leftLegShape.smd" "/reference/scout_reference_leftLeg_lodShape1.smd"
// replacemodel "/reference/scout_reference_rightLegShape.smd" "/reference/scout_reference_rightLeg_lodShape1.smd"
}
$lod 20 {
replacemodel "/reference/scout_reference_torsoShape.smd" "/reference/LOD/scout_lod2_torsoShape.smd"
// replacemodel "/reference/scout_reference_headShape.smd" "/reference/scout_reference_head_lodShape2.smd"
// replacemodel "/reference/scout_reference_leftArmShape.smd" "/reference/scout_reference_leftArm_lodShape2.smd"
// replacemodel "/reference/scout_reference_rightArmShape.smd" "/reference/scout_reference_rightArm_lodShape2.smd"
// replacemodel "/reference/scout_reference_leftLegShape.smd" "/reference/scout_reference_leftLeg_lodShape2.smd"
// replacemodel "/reference/scout_reference_rightLegShape.smd" "/reference/scout_reference_rightLeg_lodShape2.smd"
}
$lod 35 {
replacemodel "/reference/scout_reference_torsoShape.smd" "/reference/LOD/scout_lod3_torsoShape.smd"
// replacemodel "/reference/scout_reference_headShape.smd" "/reference/scout_reference_head_lodShape3.smd"
// replacemodel "/reference/scout_reference_leftArmShape.smd" "/reference/scout_reference_leftArm_lodShape3.smd"
// replacemodel "/reference/scout_reference_rightArmShape.smd" "/reference/scout_reference_rightArm_lodShape3.smd"
// replacemodel "/reference/scout_reference_leftLegShape.smd" "/reference/scout_reference_leftLeg_lodShape3.smd"
// replacemodel "/reference/scout_reference_rightLegShape.smd" "/reference/scout_reference_rightLeg_lodShape3.smd"
bonetreecollapse "ffSkel_lefthand"
bonetreecollapse "ffSkel_righthand"
bonetreecollapse "ffSkel_neck"
bonetreecollapse "ffSkel_leftForeArm"
bonetreecollapse "ffSkel_rightForeArm"
bonetreecollapse "ffSkel_leftLeg"
bonetreecollapse "ffSkel_rightLeg"
// simplify spine
replacebone "ffSkel_Neck" "ffSkel_Spine2"
replacebone "ffSkel_Spine3" "ffSkel_spine2"
replacebone "ffSkel_spine1" "ffSkel_spine"
replacebone "ffSkel_Spine" "ffSkel_spine2"
}
$lod 50 {
replacemodel "/reference/scout_reference_torsoShape.smd" "/reference/LOD/scout_lod4_torsoShape.smd"
// replacemodel "/reference/scout_reference_headShape.smd" "/reference/scout_reference_head_lodShape4.smd"
// replacemodel "/reference/scout_reference_leftArmShape.smd" "/reference/scout_reference_leftArm_lodShape4.smd"
// replacemodel "/reference/scout_reference_rightArmShape.smd" "/reference/scout_reference_rightArm_lodShape4.smd"
// replacemodel "/reference/scout_reference_leftLegShape.smd" "/reference/scout_reference_leftLeg_lodShape4.smd"
// replacemodel "/reference/scout_reference_rightLegShape.smd" "/reference/scout_reference_rightLeg_lodShape4.smd"
bonetreecollapse "ffSkel_neck"
bonetreecollapse "ffSkel_leftForeArm"
bonetreecollapse "ffSkel_rightForeArm"
bonetreecollapse "ffSkel_leftLeg"
bonetreecollapse "ffSkel_rightLeg"
// simplify spine
replacebone "ffSkel_Neck" "ffSkel_Spine2"
replacebone "ffSkel_Spine3" "ffSkel_spine2"
replacebone "ffSkel_spine1" "ffSkel_spine"
replacebone "ffSkel_Spine" "ffSkel_spine2"
}
$shadowlod
{
replacemodel "/reference/scout_reference_torsoShape.smd" "/reference/LOD/scout_lod4_torsoShape.smd"
//replacemodel "/reference/scout_reference_headShape.smd" "/reference/scout_reference_head_lodShape5.smd"
//replacemodel "/reference/scout_reference_leftArmShape.smd" "/reference/scout_reference_leftArm_lodShape5.smd"
//replacemodel "/reference/scout_reference_rightArmShape.smd" "/reference/scout_reference_rightArm_lodShape5.smd"
//replacemodel "/reference/scout_reference_leftLegShape.smd" "/reference/scout_reference_leftLeg_lodShape5.smd"
//replacemodel "/reference/scout_reference_rightLegShape.smd" "/reference/scout_reference_rightLeg_lodShape5.smd"
}
$attachment "attach_head" "ffSkel_head" 0 0 0 rotate 0 0 0
$attachment "attach_leftArm" "ffSkel_LeftArm" 0 0 0 rotate -80 0 0
$attachment "attach_leftLeg" "ffSkel_LeftUpLeg" 0 0 0 rotate 0 0 0
$attachment "attach_rightArm" "ffSkel_RightArm" 0 0 0 rotate 80 0 0
$attachment "attach_rightLeg" "ffSkel_RightUpLeg" 0 0 0 rotate 0 0 0
$attachment "anim_attachment_RH" "ffSkel_RightHand" 0 0 0 rotate 0 0 0
$attachment "anim_attachment_LH" "ffSkel_LeftHand" 0 0 0 rotate 0 0 0
$attachment "ffAtt_flag" "ffSkel_Spine3" 5 3 0 rotate 0 0 0
// {
// flexfile "/reference/scout_decap.vta"
// flex "decap" frame 10
// flexcontroller "phoneme" "decap" "_range" 0 1
//
// flexfile "/reference/scout_bighead.vta"
// flex "bighead" frame 10
// flexcontroller "phoneme" "bighead" "range" 0 1
//%decap = decap
//%bighead = bighead
//}
//$cdmaterials "models\police\"
//$cdmaterials "models\humans\male\"
$cdmaterials "models/player/scout/"
// Model uses material "bmouth.vmt"
// Model uses material "eyeball_l.vmt"
// Model uses material "barneyface.vmt"
// Model uses material "eyeball_r.vmt"
// Model uses material "metrocop_sheet.vmt"
// Model uses material "pupil_r.vmt"
// Model uses material "glint.vmt"
// Model uses material "pupil_l.vmt"
$attachment "eyes" "ffSkel_head" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_head" 0.30 -5.70 -0.00 rotate 0.00 -80.00 -90.00
$attachment "chest" "ffSkel_Spine2" 5.00 4.00 -0.00 rotate -0.00 90.00 90.00
$attachment "helmet_attachment" "ffSkel_head" 2.66 -1.60 -0.00 rotate 0.00 -82.95 -90.00
//$attachment "faceplate_attachment" "ValveBiped.faceplate_attachment" 0.00 -0.00 0.00 rotate -90.00 -90.00 0.00
//$attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00
//$attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00
//$attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" -0.00 -0.00 0.00 rotate -90.00 -90.00 0.00
$attachment "anim_attachment_head" "ffSkel_head" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00
$includemodel "player/ff_player_shared.mdl"
//$includemodel "player/cs_player_shared.mdl"
//$includemodel "player/ak_anims_t.mdl"
//$includemodel "barney_animations.mdl"
//$includemodel "/humans/male_shared.mdl"
//$includemodel "/hl2dm/male_shared.mdl"
//$includemodel "barney_postures.mdl"
//$includemodel "barney_gestures.mdl"
$surfaceprop "flesh"
$bbox -16 -16 0 16 16 72
//$bbox -10 -18 0 26 18 72
// $bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
// Begin Old hitboxes that were fucked
//$hboxset "fortressforever"
//$hbox 3 "ffSkel_Hips" -6.75 -4.00 -6.50 6.75 2.00 3.50
//$hbox 6 "ffSkel_LeftUpLeg" 1.50 -2.65 -4.25 16.50 5.65 2.75
//$hbox 6 "ffSkel_LeftLeg" -2.00 -2.00 -3.10 16.00 5.00 2.90
//$hbox 6 "ffSkel_LeftFoot" -2.50 -1.00 -2.10 6.50 4.00 2.10
//$hbox 6 "ffSkel_LeftToeBases" 0.13 -0.25 -2.40 3.13 2.95 2.10
//$hbox 7 "ffSkel_RightUpLeg" 1.50 -2.65 -2.75 16.50 5.65 4.25
//$hbox 7 "ffSkel_RightLeg" -2.00 -2.00 -2.90 16.00 5.00 3.10
//$hbox 7 "ffSkel_RightFoot" -2.50 -1.00 -2.10 6.50 4.00 2.10
//$hbox 7 "ffSkel_RightToeBase" 0.13 -0.15 -1.79 3.13 3.05 2.71
//$hbox 3 "ffSkel_Spine1" -4.75 -3.50 -5.75 3.75 7.50 7.25
//$hbox 2 "ffSkel_Spine2" -1.00 -3.50 -6.50 9.00 7.50 6.50
//$hbox 1 "ffSkel_Neck" -0.50 -4.25 -2.00 2.50 0.75 2.00
//$hbox 1 "ffSkel_Head" -2.38 -6.09 -3.00 5.62 1.91 3.00
//$hbox 4 "ffSkel_LeftArm" 0.50 -1.90 -2.60 12.50 3.10 1.40
//$hbox 4 "ffSkel_LeftForeArm" 0.00 -1.50 -2.50 10.00 2.50 1.50
//$hbox 4 "ffSkel_LeftHand" 0.50 -2.72 -1.75 5.50 0.72 2.75
//$hbox 5 "ffSkel_RightArm" 0.50 -1.90 -2.60 12.50 3.10 1.40
//$hbox 5 "ffSkel_RightForeArm" 0.00 -1.50 -2.50 10.00 2.50 1.50
//$hbox 5 "ffSkel_RightHand" 0.50 -2.72 -1.75 5.50 0.72 2.75
// End Old hitboxes that were fucked
// .qc block generated by HLMV begins.
// begin phish testing hitboxes
$hboxset "fortressforever"
$hbox 3 "ffSkel_Hips" -5.00 -6.75 -6.00 5.00 6.75 6.00
$hbox 6 "ffSkel_LeftUpLeg" 3.00 -5.15 -4.00 17.00 3.15 3.00
$hbox 6 "ffSkel_LeftLeg" -5.00 -3.50 -3.00 15.00 3.50 3.00
$hbox 6 "ffSkel_LeftFoot" -1.00 -1.00 -2.10 5.00 4.00 2.10
$hbox 7 "ffSkel_RightUpLeg" 3.00 -5.15 -3.00 17.00 3.15 4.00
$hbox 7 "ffSkel_RightLeg" -5.00 -3.50 -3.00 15.00 3.50 3.00
$hbox 7 "ffSkel_RightFoot" -1.00 -1.00 -2.10 5.00 4.00 2.10
$hbox 3 "ffSkel_Spine1" -5.00 -6.50 -6.50 3.00 4.50 6.50
$hbox 2 "ffSkel_Spine2" -5.00 -7.50 -6.50 5.00 4.50 6.50
$hbox 1 "ffSkel_Neck" -0.50 -4.25 -2.00 2.50 0.75 2.00
$hbox 4 "ffSkel_LeftArm" 0.50 -1.90 -2.50 12.50 3.10 2.50
$hbox 4 "ffSkel_LeftForeArm" 0.00 -1.50 -2.50 10.00 2.50 1.50
$hbox 4 "ffSkel_LeftHand" 0.50 -2.50 -2.75 5.50 1.50 1.75
$hbox 5 "ffSkel_RightArm" 0.50 -2.50 -3.50 12.50 2.50 1.50
$hbox 5 "ffSkel_RightForeArm" 0.00 -1.50 -2.50 10.00 2.50 1.50
$hbox 5 "ffSkel_RightHand" 0.50 -1.72 -1.75 5.50 1.72 2.75
$hbox 1 "ffSkel_Heads" -4.00 -4.00 -1.50 4.00 4.00 7.50
$hbox 2 "ffSkel_Spine3" -1.00 -6.00 -7.00 5.00 4.00 7.00
$hbox 7 "ffSkel_RightToeBase" -4.00 -2.50 -1.00 4.00 2.50 3.00
$hbox 6 "ffSkel_LeftToeBase" -4.00 -2.50 -3.00 4.00 2.50 1.00
// .qc block by phish ends.
//$ikchain rhand ffSkel_RightHand
//$ikchain lhand ffSkel_LeftHand
$ikchain rfoot ffSkel_RightFoot
$ikchain lfoot ffSkel_LeftFoot
$sequence ragdoll "/reference/ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$bonemerge ffSkel_att_righthand
$collisionjoints "/reference/scout_reference_phy.smd" {
$mass 90.0
$inertia 2.00
$damping 0.01
$rotdamping 4
$rootbone "ffSkel_Hips"
$jointmerge "ffSkel_Hips" "ffSkel_ffSkel_Spine1"
$jointconstrain "ffSkel_spine2" x limit -48.00 48.00 0.00
$jointconstrain "ffSkel_spine2" y limit -25.00 25.00 0.00
$jointconstrain "ffSkel_spine2" z limit -25.00 50.00 0.00
$jointconstrain "ffSkel_rightarm" x limit -39.00 39.00 0.00
$jointconstrain "ffSkel_rightarm" y limit -79.00 95.00 0.00
$jointconstrain "ffSkel_rightarm" z limit -93.00 23.00 0.00
$jointconstrain "ffSkel_leftarm" x limit -30.00 30.00 0.00
$jointconstrain "ffSkel_leftarm" y limit -95.00 84.00 0.00
$jointconstrain "ffSkel_leftarm" z limit -86.00 26.00 0.00
$jointconstrain "ffSkel_leftforearm" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftforearm" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftforearm" z limit -149.00 4.00 0.00
$jointconstrain "ffSkel_lefthand" x limit -37.00 37.00 0.00
$jointconstrain "ffSkel_lefthand" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_lefthand" z limit -57.00 59.00 0.00
$jointconstrain "ffSkel_rightforearm" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightforearm" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightforearm" z limit -149.00 4.00 0.00
$jointconstrain "ffSkel_righthand" x limit -60.00 60.00 0.00
$jointconstrain "ffSkel_righthand" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_righthand" z limit -57.00 70.00 0.00
$jointconstrain "ffSkel_rightupleg" x limit -12.00 12.00 0.00
$jointconstrain "ffSkel_rightupleg" y limit -8.00 75.00 0.00
$jointconstrain "ffSkel_rightupleg" z limit -97.00 32.00 0.00
$jointconstrain "ffSkel_rightleg" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightleg" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightleg" z limit -12.00 126.00 0.00
$jointconstrain "ffSkel_head" x limit -20.00 20.00 0.00
$jointconstrain "ffSkel_head" y limit -25.00 25.00 0.00
$jointconstrain "ffSkel_head" z limit -13.00 30.00 0.00
$jointconstrain "ffSkel_leftupleg" x limit -12.00 12.00 0.00
$jointconstrain "ffSkel_leftupleg" y limit -73.00 6.00 0.00
$jointconstrain "ffSkel_leftupleg" z limit -93.00 30.00 0.00
$jointconstrain "ffSkel_leftleg" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftleg" y limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftleg" z limit -8.00 126.00 0.00
$jointconstrain "ffSkel_leftfoot" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftfoot" y limit -10.00 10.00 0.00
$jointconstrain "ffSkel_leftfoot" z limit -5.00 15.00 0.00
$jointconstrain "ffSkel_rightfoot" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightfoot" y limit -10.00 6.00 0.00
$jointconstrain "ffSkel_rightfoot" z limit -5.00 15.00 0.00
}