Fix all player model qc and compile scripts, remove outdated files

This commit is contained in:
squeek 2016-06-07 22:16:15 -07:00
parent 3b9e705d0c
commit 59f4d03a45
38 changed files with 30 additions and 1091 deletions

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\president"
$cd ".."
$modelname "player/civilian/civilian.mdl"
//$model studio "/reference/civilian_reference.smd"

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" civilian_specific.qc civilian.qc civilian
"%sourcesdk%/bin/studiomdl" civilian.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" civilian.qc
PAUSE

View file

@ -1,3 +1,3 @@
rem perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" demoman_specific.qc ffdemoman.qc demoman
"%sourcesdk%/bin/studiomdl" demoman.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" demoman.qc
PAUSE

View file

@ -1,3 +0,0 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" demoman_specific.qc demoman.qc demoman
"%sourcesdk%/bin/studiomdl" -definebones demoman.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "D:\ff-svn\models\charpipeline\ff\demoman"
$cd ".."
$modelname "player/demoman/demoman.mdl"
//$model studio "/reference/demoman_reference.smd"
$bodygroup torso

View file

@ -1,9 +0,0 @@
$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

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" engineer_specific.qc engineer.qc engineer
"%sourcesdk%/bin/studiomdl" engineer.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" engineer.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\engineer"
$cd ".."
$modelname "player/engineer/engineer.mdl"
//$model studio "/reference/engineer_reference.smd"
$bodygroup torso

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00

View file

@ -1,2 +1,3 @@
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" ff_player_shared.qc
PAUSE

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" hwguy_specific.qc hwguy.qc hwguy
"%sourcesdk%/bin/studiomdl" hwguy.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" hwguy.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\hwguy"
$cd ".."
$modelname "player/hwguy/hwguy.mdl"
//$model studio "/reference/hwguy_reference.smd"

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" medic_specific.qc medic.qc medic
"%sourcesdk%/bin/studiomdl" medic.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" medic.qc
PAUSE

View file

@ -1,4 +1,5 @@
$modelname "player/medic/medic.mdl"
$cd ".."
//$model studio "/reference/medic_reference.smd"
$bodygroup torso
{

View file

@ -1,9 +0,0 @@
$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

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" pyro_specific.qc pyro.qc pyro
"%sourcesdk%/bin/studiomdl" pyro.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" pyro.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\pyro"
$cd ".."
$modelname "player/pyro/pyro.mdl"
//$model studio "/reference/pyro_reference.smd"

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00

View file

@ -1,281 +0,0 @@
$cd "PIPE_LOCATION\ff\CLASSNAME"
$modelname "player/CLASSNAME/CLASSNAME.mdl"
//$model studio "/reference/CLASSNAME_reference.smd"
$bodygroup torso
{
studio "/reference/CLASSNAME_reference_torsoShape.smd"
blank
}
$bodygroup head
{
studio "/reference/CLASSNAME_reference_headShape.smd"
blank
}
$bodygroup leftArm
{
studio "/reference/CLASSNAME_reference_leftArmShape.smd"
blank
}
$bodygroup leftLeg
{
studio "/reference/CLASSNAME_reference_leftLegShape.smd"
blank
}
$bodygroup rightArm
{
studio "/reference/CLASSNAME_reference_rightArmShape.smd"
blank
}
$bodygroup rightLeg
{
studio "/reference/CLASSNAME_reference_rightLegShape.smd"
blank
}
$texturegroup skinfamilies {
{ "CLASSNAME_body_blue.vmt" "CLASSNAME_head_blue.vmt" "CLASSNAME_acc_blue.vmt"}
{ "CLASSNAME_body_red.vmt" "CLASSNAME_head_red.vmt" "CLASSNAME_acc_red.vmt"}
{ "CLASSNAME_body_yellow.vmt" "CLASSNAME_head_yellow.vmt" "CLASSNAME_acc_yellow.vmt" }
{ "CLASSNAME_body_green.vmt" "CLASSNAME_head_green.vmt" "CLASSNAME_acc_green.vmt"}
}
$lod 10 {
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape1.smd"
// replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape1.smd"
// replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape1.smd"
// replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape1.smd"
// replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape1.smd"
// replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_reference_rightLeg_lodShape1.smd"
}
$lod 20 {
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape2.smd"
// replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape2.smd"
// replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape2.smd"
// replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape2.smd"
// replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape2.smd"
// replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_reference_rightLeg_lodShape2.smd"
}
$lod 35 {
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape3.smd"
// replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape3.smd"
// replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape3.smd"
// replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape3.smd"
// replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape3.smd"
// replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_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" "ffSkale_spine2"
}
$lod 50 {
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape4.smd"
// replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape4.smd"
// replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape4.smd"
// replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape4.smd"
// replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape4.smd"
// replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_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" "ffSkale_spine2"
}
$lod 70 {
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape5.smd"
// replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape5.smd"
// replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape5.smd"
// replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape5.smd"
// replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape5.smd"
// replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_reference_rightLeg_lodShape5.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" "ffSkale_spine2"
}
// $shadowlod {
// }
// replacemodel "/reference/CLASSNAME_reference_torsoShape.smd" "/reference/CLASSNAME_reference_torso_lodShape5.smd"
//replacemodel "/reference/CLASSNAME_reference_headShape.smd" "/reference/CLASSNAME_reference_head_lodShape5.smd"
//replacemodel "/reference/CLASSNAME_reference_leftArmShape.smd" "/reference/CLASSNAME_reference_leftArm_lodShape5.smd"
//replacemodel "/reference/CLASSNAME_reference_rightArmShape.smd" "/reference/CLASSNAME_reference_rightArm_lodShape5.smd"
//replacemodel "/reference/CLASSNAME_reference_leftLegShape.smd" "/reference/CLASSNAME_reference_leftLeg_lodShape5.smd"
//replacemodel "/reference/CLASSNAME_reference_rightLegShape.smd" "/reference/CLASSNAME_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/CLASSNAME_decap.vta"
// flex "decap" frame 10
// flexcontroller "phoneme" "decap" "_range" 0 1
//
// flexfile "/reference/CLASSNAME_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/CLASSNAME/"
// 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"
FF_CLASS_SPECIFIC
$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
$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
//$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/CLASSNAME_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
}

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" scout_specific.qc scout.qc scout
"%sourcesdk%/bin/studiomdl" scout.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" scout.qc
PAUSE

View file

@ -1,9 +0,0 @@
$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

View file

@ -1,48 +0,0 @@
#!/usr/local/bin/perl
#
# Replacement script of doom written (quickly and quite messily) by Mirvin_Monkey
$msg_error = "Usage: replacements [inputfile] [includefile] [outputfile] [classname]\n";
$file_in = shift || die( $msg_error );
$file_inc = shift || die( $msg_error );
$file_out = shift || die( $msg_error );
$classname = shift || die( $msg_error );
# Input file
open( FILE_IN, $file_in ) || die( "Couldn't open $file_in\n");
@file_input = <FILE_IN>;
close(FILE_IN);
# Include file
open( FILE_INC, $file_inc ) || die( "Couldn't open $file_inc\n");
@file_inc = <FILE_INC>;
close(FILE_INC);
# Output file
open(FILE_OUT, ">$file_out");
foreach $line ( @file_input )
{
$line =~ s/PIPE_LOCATION/$ENV{'charpipeline'}/g;
$line =~ s/CLASSNAME/$classname/g;
if( rindex( $line, "FF_CLASS_SPECIFIC" ) > -1 )
{
foreach $line_inc ( @file_inc )
{
$line_inc =~ s/PIPE_LOCATION/$ENV{'charpipeline'}/g;
$line_inc =~ s/CLASSNAME/$classname/g;
print FILE_OUT $line_inc;
}
print FILE_OUT "\n";
}
else
{
print FILE_OUT $line;
}
}
close(FILE_OUT);

View file

@ -1,4 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" sniper_specific.qc sniper.qc sniper
"%sourcesdk%/bin/studiomdl" sniper.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" sniper.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\sniper"
$cd ".."
$modelname "player/sniper/sniper.mdl"
//$model studio "/reference/sniper_reference.smd"

View file

@ -1,208 +0,0 @@
$cd "D:\ff-svn\models\charpipeline\ff\sniper"
$modelname "player/sniper/sniper.mdl"
//$model studio "/reference/sniper_reference.smd"
$bodygroup torso
{
studio "/reference/sniper_reference_torsoShape.smd"
blank
}
$bodygroup head
{
studio "/reference/sniper_reference_headShape.smd"
blank
}
$bodygroup leftArm
{
studio "/reference/sniper_reference_leftArmShape.smd"
blank
}
$bodygroup leftLeg
{
studio "/reference/sniper_reference_leftLegShape.smd"
blank
}
$bodygroup rightArm
{
studio "/reference/sniper_reference_rightArmShape.smd"
blank
}
$bodygroup rightLeg
{
studio "/reference/sniper_reference_rightLegShape.smd"
blank
}
$texturegroup skinfamilies {
{ "sniper_body_blue.vmt" "sniper_head_blue.vmt" "sniper_acc_blue.vmt"}
{ "sniper_body_red.vmt" "sniper_head_red.vmt" "sniper_acc_red.vmt"}
{ "sniper_body_yellow.vmt" "sniper_head_yellow.vmt" "sniper_acc_yellow.vmt" }
{ "sniper_body_green.vmt" "sniper_head_green.vmt" "sniper_acc_green.vmt"}
}
$attachment "attach_head" "ffSkel_Heads" 0 0 0 rotate 0 0 0
$attachment "attach_leftArm" "ffSkel_LeftArm" 0 0 0 rotate 0 0 0
$attachment "attach_leftLeg" "ffSkel_LeftUpLeg" 0 0 0 rotate 0 0 0
$attachment "attach_rightArm" "ffSkel_RightArm" 0 0 0 rotate 0 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/sniper_decap.vta"
// flex "decap" frame 10
// flexcontroller "phoneme" "decap" "_range" 0 1
//
// flexfile "/reference/sniper_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/sniper/"
// 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
// .qc block generated by HLMV begins.
$hboxset "fortressforever"
$hbox 3 "ffSkel_Hips" -5.00 -6.75 -6.00 5.00 6.75 6.00
$hbox 6 "ffSkel_LeftUpLeg" 3.00 -3.75 -4.00 17.00 4.75 3.00
$hbox 6 "ffSkel_LeftLeg" -5.00 -2.50 -2.50 15.00 4.50 3.50
$hbox 6 "ffSkel_LeftFoots" -2.00 -2.00 -2.60 8.00 3.00 1.60
$hbox 7 "ffSkel_RightUpLeg" 3.00 -3.75 -3.00 17.00 4.75 4.00
$hbox 7 "ffSkel_RightLeg" -5.00 -2.50 -3.50 15.00 4.50 2.50
$hbox 7 "ffSkel_RightFoots" -2.00 -2.00 -1.60 8.00 3.00 2.60
$hbox 3 "ffSkel_Spine1" -5.00 -6.50 -6.50 3.00 4.50 6.50
$hbox 2 "ffSkel_Spine2" -5.00 -5.75 -6.50 5.00 4.75 6.50
$hbox 4 "ffSkel_LeftArm" 0.50 -2.50 -2.00 12.50 2.50 3.00
$hbox 4 "ffSkel_LeftForeArm" 0.00 -1.50 -2.00 10.00 2.50 2.00
$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.00 12.50 2.50 2.00
$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.75 -3.25 -2.50 3.75 3.25 7.50
$hbox 2 "ffSkel_Spine3" -0.25 -5.00 -8.00 5.25 5.00 8.00
$hbox 1 "ffSkel_Necks" -2.50 -2.00 -3.00 0.50 4.00 3.00
// .qc block generated by HLMV ends.
//$ikchain rhand ffSkel_RightHand
//$ikchain lhand ffSkel_LeftHand
$ikchain rfoot ffSkel_RightFoots
$ikchain lfoot ffSkel_LeftFoots
$sequence ragdoll "/reference/ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$bonemerge ffSkel_att_righthand
$collisionjoints "/reference/sniper_reference_phy.smd" {
$mass 90.0
$inertia 10.00
$damping 0.01
$rotdamping 1.50
$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_Heads" x limit -20.00 20.00 0.00
$jointconstrain "ffSkel_Heads" y limit -25.00 25.00 0.00
$jointconstrain "ffSkel_Heads" 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_leftfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftfoots" y limit -10.00 10.00 0.00
$jointconstrain "ffSkel_leftfoots" z limit -5.00 15.00 0.00
$jointconstrain "ffSkel_rightfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightfoots" y limit -10.00 6.00 0.00
$jointconstrain "ffSkel_rightfoots" z limit -5.00 15.00 0.00
}

View file

@ -1,9 +0,0 @@
$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

View file

@ -1,3 +0,0 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" sniper_specific.qc sniper.qc sniper
"%sourcesdk%/bin/studiomdl" sniper.qc
PAUSE

View file

@ -1,3 +0,0 @@
perl.exe E:\3D\FF\ff_models\charpipeline\ff\scripts\replacements.pl" "E:\3D\FF\ff_models\charpipeline\ff\qc_files\base.qc" soldier_specific.qc soldier3.qc soldier
"%sourcesdk%/bin/studiomdl" soldier3.qc
PAUSE

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" soldier_specific.qc soldier.qc soldier
"%sourcesdk%/bin/studiomdl" soldier.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" soldier.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "D:\ff-svn\models\charpipeline\ff\soldier"
$cd ".."
$modelname "player/soldier/soldier.mdl"
//$model studio "/reference/soldier_reference.smd"
$bodygroup torso

View file

@ -1,222 +0,0 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\soldier"
$modelname "player/soldier/soldier.mdl"
//$model studio "/reference/soldier_reference.smd"
$bodygroup torso
{
studio "/reference/soldier_reference_torsoShape.smd"
blank
}
$bodygroup head
{
studio "/reference/soldier_reference_headShape.smd"
blank
}
$bodygroup leftArm
{
studio "/reference/soldier_reference_leftArmShape.smd"
blank
}
$bodygroup leftLeg
{
studio "/reference/soldier_reference_leftLegShape.smd"
blank
}
$bodygroup rightArm
{
studio "/reference/soldier_reference_rightArmShape.smd"
blank
}
$bodygroup rightLeg
{
studio "/reference/soldier_reference_rightLegShape.smd"
blank
}
$texturegroup skinfamilies {
{ "soldier_body_blue.vmt" "soldier_head_blue.vmt" "soldier_acc_blue.vmt"}
{ "soldier_body_red.vmt" "soldier_head_red.vmt" "soldier_acc_red.vmt"}
{ "soldier_body_yellow.vmt" "soldier_head_yellow.vmt" "soldier_acc_yellow.vmt" }
{ "soldier_body_green.vmt" "soldier_head_green.vmt" "soldier_acc_green.vmt"}
}
$lod 10 {
replacemodel "/reference/soldier_reference_torsoShape.smd" "/reference/LOD/soldier_Lod1_torsoShape.smd"
replacemodel "/reference/soldier_reference_headShape.smd" "/reference/LOD/soldier_Lod1_headShape.smd"
replacemodel "/reference/soldier_reference_leftArmShape.smd" "/reference/LOD/soldier_Lod1_leftarmShape.smd"
replacemodel "/reference/soldier_reference_rightArmShape.smd" "/reference/LOD/soldier_Lod1_rightarmShape.smd"
replacemodel "/reference/soldier_reference_leftLegShape.smd" "/reference/LOD/soldier_Lod1_leftlegShape.smd"
replacemodel "/reference/soldier_reference_rightLegShape.smd" "/reference/LOD/soldier_Lod1_rightlegShape.smd"
}
$lod 35 {
replacemodel "/reference/soldier_reference_torsoShape.smd" "/reference/LOD/soldier_Lod2_torsoShape.smd"
replacemodel "/reference/soldier_reference_headShape.smd" "/reference/LOD/soldier_Lod2_headShape.smd"
replacemodel "/reference/soldier_reference_leftArmShape.smd" "/reference/LOD/soldier_Lod2_leftarmShape.smd"
replacemodel "/reference/soldier_reference_rightArmShape.smd" "/reference/LOD/soldier_Lod2_rightarmShape.smd"
replacemodel "/reference/soldier_reference_leftLegShape.smd" "/reference/LOD/soldier_Lod2_leftlegShape.smd"
replacemodel "/reference/soldier_reference_rightLegShape.smd" "/reference/LOD/soldier_Lod2_rightlegShape.smd"
}
$shadowlod
{
replacemodel "/reference/soldier_reference_torsoShape.smd" "/reference/LOD/soldier_Lod2_torsoShape.smd"
replacemodel "/reference/soldier_reference_headShape.smd" "/reference/LOD/soldier_Lod2_headShape.smd"
replacemodel "/reference/soldier_reference_leftArmShape.smd" "/reference/LOD/soldier_Lod2_leftarmShape.smd"
replacemodel "/reference/soldier_reference_rightArmShape.smd" "/reference/LOD/soldier_Lod2_rightarmShape.smd"
replacemodel "/reference/soldier_reference_leftLegShape.smd" "/reference/LOD/soldier_Lod2_leftlegShape.smd"
replacemodel "/reference/soldier_reference_rightLegShape.smd" "/reference/LOD/soldier_Lod2_rightlegShape.smd"
}
$attachment "attach_head" "ffSkel_Heads" 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/soldier_decap.vta"
// flex "decap" frame 10
// flexcontroller "phoneme" "decap" "_range" 0 1
//
// flexfile "/reference/soldier_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/soldier/"
// 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_heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_heads" 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_heads" 2.66 -1.60 -0.00 rotate 0.00 -82.95 -90.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
// .qc block generated by HLMV begins.
$hboxset "fortressforever"
$hbox 3 "ffSkel_Hips" -5.00 -7.45 -6.50 5.00 7.05 5.50
$hbox 6 "ffSkel_LeftUpLeg" 3.00 -4.50 -4.00 17.00 4.50 4.00
$hbox 6 "ffSkel_LeftLeg" -5.00 -2.50 -2.50 15.00 4.50 3.50
$hbox 7 "ffSkel_RightUpLeg" 3.00 -4.50 -4.00 17.00 4.50 4.00
$hbox 7 "ffSkel_RightLeg" -5.00 -2.50 -3.50 15.00 4.50 2.50
$hbox 3 "ffSkel_Spine1" -5.00 -6.50 -6.50 3.00 4.50 6.50
$hbox 2 "ffSkel_Spine2" -5.00 -8.00 -6.50 5.00 5.00 6.50
$hbox 4 "ffSkel_LeftArm" 0.50 -2.50 -1.50 12.50 2.50 3.50
$hbox 4 "ffSkel_LeftForeArm" 0.00 -1.50 -2.00 10.00 2.50 2.00
$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 -2.22 -1.75 5.50 2.22 2.75
$hbox 1 "ffSkel_Heads" -4.00 -3.00 -1.50 4.00 3.00 7.50
$hbox 2 "ffSkel_Spine3" 0.00 -6.60 -9.00 6.00 5.40 9.00
$hbox 1 "ffSkel_Necks" -1.50 -3.50 -3.00 1.50 3.50 3.00
$hbox 6 "ffSkel_LeftFoots" -2.00 -2.00 -2.50 8.00 3.00 1.50
$hbox 7 "ffSkel_RightFoots" -2.00 -2.00 -1.50 8.00 3.00 2.50
//end hitboxes
//$ikchain rhand ffSkel_RightHand
//$ikchain lhand ffSkel_LeftHand
$ikchain rfoot ffSkel_RightFoots
$ikchain lfoot ffSkel_LeftFoots
$sequence ragdoll "/reference/ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$bonemerge ffSkel_att_righthand
$collisionjoints "/reference/soldier_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_Heads" x limit -20.00 20.00 0.00
$jointconstrain "ffSkel_Heads" y limit -25.00 25.00 0.00
$jointconstrain "ffSkel_Heads" 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_Leftfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_Leftfoots" y limit -10.00 10.00 0.00
$jointconstrain "ffSkel_Leftfoots" z limit -5.00 15.00 0.00
$jointconstrain "ffSkel_Rightfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_Rightfoots" y limit -10.00 6.00 0.00
$jointconstrain "ffSkel_Rightfoots" z limit -5.00 15.00 0.00
}

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00

View file

@ -1,204 +0,0 @@
$cd "D:\ff-svn\models\charpipeline\ff\spy"
$modelname "player/spy/spy.mdl"
//$model studio "/reference/spy_reference.smd"
$bodygroup torso
{
studio "/reference/spy_reference_torsoShape.smd"
blank
}
$bodygroup head
{
studio "/reference/spy_reference_headShape.smd"
blank
}
$bodygroup leftArm
{
studio "/reference/spy_reference_leftArmShape.smd"
blank
}
$bodygroup leftLeg
{
studio "/reference/spy_reference_leftLegShape.smd"
blank
}
$bodygroup rightArm
{
studio "/reference/spy_reference_rightArmShape.smd"
blank
}
$bodygroup rightLeg
{
studio "/reference/spy_reference_rightLegShape.smd"
blank
}
$texturegroup skinfamilies {
{ "spy_body_blue.vmt" "spy_head_blue.vmt" "spy_acc_blue.vmt"}
{ "spy_body_red.vmt" "spy_head_red.vmt" "spy_acc_red.vmt"}
{ "spy_body_yellow.vmt" "spy_head_yellow.vmt" "spy_acc_yellow.vmt" }
{ "spy_body_green.vmt" "spy_head_green.vmt" "spy_acc_green.vmt"}
}
$attachment "attach_head" "ffSkel_Heads" 0 0 0 rotate 0 0 0
$attachment "attach_leftArm" "ffSkel_LeftArm" 0 0 0 rotate 0 0 0
$attachment "attach_leftLeg" "ffSkel_LeftUpLeg" 0 0 0 rotate 0 0 0
$attachment "attach_rightArm" "ffSkel_RightArm" 0 0 0 rotate 0 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/spy_decap.vta"
// flex "decap" frame 10
// flexcontroller "phoneme" "decap" "_range" 0 1
//
// flexfile "/reference/spy_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/spy/"
// 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_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -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
$hboxset "fortressforever"
$hbox 3 "ffSkel_Hips" -5.00 -6.75 -4.75 5.00 6.75 5.75
$hbox 6 "ffSkel_LeftUpLeg" 2.00 -3.25 -4.00 16.00 4.25 3.00
$hbox 6 "ffSkel_LeftLeg" -3.00 -1.50 -2.50 15.00 5.50 3.50
$hbox 6 "ffSkel_LeftFoots" -2.00 -2.00 -2.60 8.00 3.00 1.60
$hbox 7 "ffSkel_RightUpLeg" 2.00 -3.25 -3.00 16.00 4.25 4.00
$hbox 7 "ffSkel_RightLeg" -3.00 -1.50 -3.50 15.00 5.50 2.50
$hbox 7 "ffSkel_RightFoots" -2.00 -2.00 -1.60 8.00 3.00 2.60
$hbox 3 "ffSkel_Spine1" -5.00 -5.00 -6.50 3.00 5.00 6.50
$hbox 2 "ffSkel_Spine2" -4.50 -5.25 -6.50 4.50 5.25 6.50
$hbox 4 "ffSkel_LeftArm" -1.50 -1.50 -2.00 12.50 3.50 3.00
$hbox 4 "ffSkel_LeftForeArm" 0.00 -1.00 -2.00 10.00 3.00 2.00
$hbox 4 "ffSkel_LeftHand" -0.50 -2.00 -2.25 5.50 3.00 1.25
$hbox 5 "ffSkel_RightArm" -1.50 -1.50 -3.00 12.50 3.50 2.00
$hbox 5 "ffSkel_RightForeArm" 0.00 -1.00 -2.50 10.00 3.00 1.50
$hbox 5 "ffSkel_RightHand" -0.50 -1.72 -1.75 5.50 2.72 1.75
$hbox 1 "ffSkel_Heads" -4.75 -3.25 -2.50 2.75 3.25 6.50
$hbox 2 "ffSkel_Spine3" -1.75 -4.50 -7.50 4.75 5.50 7.50
$hbox 1 "ffSkel_Necks" -4.50 -1.50 -3.00 0.50 4.50 3.00
// .qc block generated by HLMV ends.
//$ikchain rhand ffSkel_RightHand
//$ikchain lhand ffSkel_LeftHand
$ikchain rfoot ffSkel_RightFoots
$ikchain lfoot ffSkel_LeftFoots
$sequence ragdoll "/reference/ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$bonemerge ffSkel_att_righthand
$collisionjoints "/reference/spy_reference_phy.smd" {
$mass 90.0
$inertia 10.00
$damping 0.01
$rotdamping 1.50
$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_heads" x limit -20.00 20.00 0.00
$jointconstrain "ffSkel_heads" y limit -25.00 25.00 0.00
$jointconstrain "ffSkel_heads" 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_leftfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_leftfoots" y limit -10.00 10.00 0.00
$jointconstrain "ffSkel_leftfoots" z limit -5.00 15.00 0.00
$jointconstrain "ffSkel_rightfoots" x limit 0.00 0.00 0.00
$jointconstrain "ffSkel_rightfoots" y limit -10.00 6.00 0.00
$jointconstrain "ffSkel_rightfoots" z limit -5.00 15.00 0.00
}

View file

@ -1,3 +1,3 @@
perl.exe "%charpipeline%\ff\scripts\replacements.pl" "%charpipeline%\ff\qc_files\base.qc" spy_specific.qc spy.qc spy
"%sourcesdk%/bin/studiomdl" spy.qc
@echo off
"%sourcesdk%/bin/ep1/bin/studiomdl" spy.qc
PAUSE

View file

@ -1,4 +1,4 @@
$cd "E:\3D\FF\ff_models\charpipeline\ff\spy"
$cd ".."
$modelname "player/spy/spy.mdl"
//$model studio "/reference/spy_reference.smd"

View file

@ -1,9 +0,0 @@
$attachment "eyes" "ffSkel_Heads" 5.00 0.00 0.05 rotate 0 -20 -90
$attachment "mouth" "ffSkel_Heads" 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_Heads" 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_Heads" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00