From 59f4d03a45b9e4db7513454bac0ae5be8ed796d4 Mon Sep 17 00:00:00 2001 From: squeek Date: Tue, 7 Jun 2016 22:16:15 -0700 Subject: [PATCH] Fix all player model qc and compile scripts, remove outdated files --- player/civilian/compile/civilian.qc | 2 +- player/civilian/compile/civilian_specific.qc | 9 - player/civilian/compile/compile.bat | 4 +- player/demoman/compile/compile.bat | 4 +- player/demoman/compile/definebones.bat | 3 - player/demoman/compile/demoman.qc | 2 +- player/demoman/compile/demoman_specific.qc | 9 - player/engineer/compile/compile.bat | 4 +- player/engineer/compile/engineer.qc | 2 +- player/engineer/compile/engineer_specific.qc | 9 - player/ff_player_shared/compile/compile.bat | 1 + player/hwguy/compile/compile.bat | 4 +- player/hwguy/compile/hwguy.qc | 2 +- player/hwguy/compile/hwguy_specific.qc | 9 - player/medic/compile/compile.bat | 4 +- player/medic/compile/medic.qc | 1 + player/medic/compile/medic_specific.qc | 9 - player/pyro/compile/compile.bat | 4 +- player/pyro/compile/pyro.qc | 2 +- player/pyro/compile/pyro_specific.qc | 9 - player/qc_files/base.qc | 281 ------------------- player/scout/compile/compile.bat | 4 +- player/scout/compile/scout_specific.qc | 9 - player/scripts/replacements.pl | 48 ---- player/sniper/compile/compile.bat | 5 +- player/sniper/compile/sniper.qc | 2 +- player/sniper/compile/sniper_originalQC.qc | 208 -------------- player/sniper/compile/sniper_specific.qc | 9 - player/sniper/compile/v_pl.qc | 3 - player/soldier/compile/Compile w LOD.bat | 3 - player/soldier/compile/compile.bat | 4 +- player/soldier/compile/soldier.qc | 2 +- player/soldier/compile/soldier3.qc | 222 --------------- player/soldier/compile/soldier_specific.qc | 9 - player/spy/compile/Copy of spy.qc | 204 -------------- player/spy/compile/compile.bat | 4 +- player/spy/compile/spy.qc | 2 +- player/spy/compile/spy_specific.qc | 9 - 38 files changed, 30 insertions(+), 1091 deletions(-) delete mode 100644 player/civilian/compile/civilian_specific.qc delete mode 100644 player/demoman/compile/definebones.bat delete mode 100644 player/demoman/compile/demoman_specific.qc delete mode 100644 player/engineer/compile/engineer_specific.qc delete mode 100644 player/hwguy/compile/hwguy_specific.qc delete mode 100644 player/medic/compile/medic_specific.qc delete mode 100644 player/pyro/compile/pyro_specific.qc delete mode 100644 player/qc_files/base.qc delete mode 100644 player/scout/compile/scout_specific.qc delete mode 100644 player/scripts/replacements.pl delete mode 100644 player/sniper/compile/sniper_originalQC.qc delete mode 100644 player/sniper/compile/sniper_specific.qc delete mode 100644 player/sniper/compile/v_pl.qc delete mode 100644 player/soldier/compile/Compile w LOD.bat delete mode 100644 player/soldier/compile/soldier3.qc delete mode 100644 player/soldier/compile/soldier_specific.qc delete mode 100644 player/spy/compile/Copy of spy.qc delete mode 100644 player/spy/compile/spy_specific.qc diff --git a/player/civilian/compile/civilian.qc b/player/civilian/compile/civilian.qc index aafcfb3..9230e65 100644 --- a/player/civilian/compile/civilian.qc +++ b/player/civilian/compile/civilian.qc @@ -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" diff --git a/player/civilian/compile/civilian_specific.qc b/player/civilian/compile/civilian_specific.qc deleted file mode 100644 index 26aaba5..0000000 --- a/player/civilian/compile/civilian_specific.qc +++ /dev/null @@ -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 diff --git a/player/civilian/compile/compile.bat b/player/civilian/compile/compile.bat index 28cf4e7..ee66167 100644 --- a/player/civilian/compile/compile.bat +++ b/player/civilian/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/demoman/compile/compile.bat b/player/demoman/compile/compile.bat index 066ef8a..adffe9b 100644 --- a/player/demoman/compile/compile.bat +++ b/player/demoman/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/demoman/compile/definebones.bat b/player/demoman/compile/definebones.bat deleted file mode 100644 index 869d4a7..0000000 --- a/player/demoman/compile/definebones.bat +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/demoman/compile/demoman.qc b/player/demoman/compile/demoman.qc index 41c50bb..e67bacb 100644 --- a/player/demoman/compile/demoman.qc +++ b/player/demoman/compile/demoman.qc @@ -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 diff --git a/player/demoman/compile/demoman_specific.qc b/player/demoman/compile/demoman_specific.qc deleted file mode 100644 index e9250d0..0000000 --- a/player/demoman/compile/demoman_specific.qc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/engineer/compile/compile.bat b/player/engineer/compile/compile.bat index f619a18..d75400e 100644 --- a/player/engineer/compile/compile.bat +++ b/player/engineer/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/engineer/compile/engineer.qc b/player/engineer/compile/engineer.qc index f61e0d8..5f0ae27 100644 --- a/player/engineer/compile/engineer.qc +++ b/player/engineer/compile/engineer.qc @@ -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 diff --git a/player/engineer/compile/engineer_specific.qc b/player/engineer/compile/engineer_specific.qc deleted file mode 100644 index 26aaba5..0000000 --- a/player/engineer/compile/engineer_specific.qc +++ /dev/null @@ -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 diff --git a/player/ff_player_shared/compile/compile.bat b/player/ff_player_shared/compile/compile.bat index 020b038..77c7fb6 100644 --- a/player/ff_player_shared/compile/compile.bat +++ b/player/ff_player_shared/compile/compile.bat @@ -1,2 +1,3 @@ +@echo off "%sourcesdk%/bin/ep1/bin/studiomdl" ff_player_shared.qc PAUSE \ No newline at end of file diff --git a/player/hwguy/compile/compile.bat b/player/hwguy/compile/compile.bat index c247c8c..f4b5019 100644 --- a/player/hwguy/compile/compile.bat +++ b/player/hwguy/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/hwguy/compile/hwguy.qc b/player/hwguy/compile/hwguy.qc index 5896d7d..41603e1 100644 --- a/player/hwguy/compile/hwguy.qc +++ b/player/hwguy/compile/hwguy.qc @@ -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" diff --git a/player/hwguy/compile/hwguy_specific.qc b/player/hwguy/compile/hwguy_specific.qc deleted file mode 100644 index 26aaba5..0000000 --- a/player/hwguy/compile/hwguy_specific.qc +++ /dev/null @@ -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 diff --git a/player/medic/compile/compile.bat b/player/medic/compile/compile.bat index bb92d71..1732c69 100644 --- a/player/medic/compile/compile.bat +++ b/player/medic/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/medic/compile/medic.qc b/player/medic/compile/medic.qc index 1423f73..905ba4c 100644 --- a/player/medic/compile/medic.qc +++ b/player/medic/compile/medic.qc @@ -1,4 +1,5 @@ $modelname "player/medic/medic.mdl" +$cd ".." //$model studio "/reference/medic_reference.smd" $bodygroup torso { diff --git a/player/medic/compile/medic_specific.qc b/player/medic/compile/medic_specific.qc deleted file mode 100644 index e9250d0..0000000 --- a/player/medic/compile/medic_specific.qc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/pyro/compile/compile.bat b/player/pyro/compile/compile.bat index d302c3b..3ff5b7e 100644 --- a/player/pyro/compile/compile.bat +++ b/player/pyro/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/pyro/compile/pyro.qc b/player/pyro/compile/pyro.qc index 7953b18..6d769a5 100644 --- a/player/pyro/compile/pyro.qc +++ b/player/pyro/compile/pyro.qc @@ -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" diff --git a/player/pyro/compile/pyro_specific.qc b/player/pyro/compile/pyro_specific.qc deleted file mode 100644 index 2e7b2ef..0000000 --- a/player/pyro/compile/pyro_specific.qc +++ /dev/null @@ -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 diff --git a/player/qc_files/base.qc b/player/qc_files/base.qc deleted file mode 100644 index b56775e..0000000 --- a/player/qc_files/base.qc +++ /dev/null @@ -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 -} - diff --git a/player/scout/compile/compile.bat b/player/scout/compile/compile.bat index dd36554..41056d4 100644 --- a/player/scout/compile/compile.bat +++ b/player/scout/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/scout/compile/scout_specific.qc b/player/scout/compile/scout_specific.qc deleted file mode 100644 index e9250d0..0000000 --- a/player/scout/compile/scout_specific.qc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/scripts/replacements.pl b/player/scripts/replacements.pl deleted file mode 100644 index 0e86955..0000000 --- a/player/scripts/replacements.pl +++ /dev/null @@ -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 = ; -close(FILE_IN); - -# Include file -open( FILE_INC, $file_inc ) || die( "Couldn't open $file_inc\n"); -@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); diff --git a/player/sniper/compile/compile.bat b/player/sniper/compile/compile.bat index ffb4a68..d553b60 100644 --- a/player/sniper/compile/compile.bat +++ b/player/sniper/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/sniper/compile/sniper.qc b/player/sniper/compile/sniper.qc index 2193f35..b92eb16 100644 --- a/player/sniper/compile/sniper.qc +++ b/player/sniper/compile/sniper.qc @@ -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" diff --git a/player/sniper/compile/sniper_originalQC.qc b/player/sniper/compile/sniper_originalQC.qc deleted file mode 100644 index 8492ad5..0000000 --- a/player/sniper/compile/sniper_originalQC.qc +++ /dev/null @@ -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 -} - diff --git a/player/sniper/compile/sniper_specific.qc b/player/sniper/compile/sniper_specific.qc deleted file mode 100644 index e9250d0..0000000 --- a/player/sniper/compile/sniper_specific.qc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/sniper/compile/v_pl.qc b/player/sniper/compile/v_pl.qc deleted file mode 100644 index e67dc97..0000000 --- a/player/sniper/compile/v_pl.qc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/soldier/compile/Compile w LOD.bat b/player/soldier/compile/Compile w LOD.bat deleted file mode 100644 index a6763d4..0000000 --- a/player/soldier/compile/Compile w LOD.bat +++ /dev/null @@ -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 \ No newline at end of file diff --git a/player/soldier/compile/compile.bat b/player/soldier/compile/compile.bat index d1e63ef..4bed62f 100644 --- a/player/soldier/compile/compile.bat +++ b/player/soldier/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/soldier/compile/soldier.qc b/player/soldier/compile/soldier.qc index feb8474..7ab375e 100644 --- a/player/soldier/compile/soldier.qc +++ b/player/soldier/compile/soldier.qc @@ -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 diff --git a/player/soldier/compile/soldier3.qc b/player/soldier/compile/soldier3.qc deleted file mode 100644 index 7693eae..0000000 --- a/player/soldier/compile/soldier3.qc +++ /dev/null @@ -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 -} - diff --git a/player/soldier/compile/soldier_specific.qc b/player/soldier/compile/soldier_specific.qc deleted file mode 100644 index 26aaba5..0000000 --- a/player/soldier/compile/soldier_specific.qc +++ /dev/null @@ -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 diff --git a/player/spy/compile/Copy of spy.qc b/player/spy/compile/Copy of spy.qc deleted file mode 100644 index 449f848..0000000 --- a/player/spy/compile/Copy of spy.qc +++ /dev/null @@ -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 -} - diff --git a/player/spy/compile/compile.bat b/player/spy/compile/compile.bat index a60fd2b..dc788d2 100644 --- a/player/spy/compile/compile.bat +++ b/player/spy/compile/compile.bat @@ -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 \ No newline at end of file diff --git a/player/spy/compile/spy.qc b/player/spy/compile/spy.qc index 4456fbb..6d21d04 100644 --- a/player/spy/compile/spy.qc +++ b/player/spy/compile/spy.qc @@ -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" diff --git a/player/spy/compile/spy_specific.qc b/player/spy/compile/spy_specific.qc deleted file mode 100644 index 26aaba5..0000000 --- a/player/spy/compile/spy_specific.qc +++ /dev/null @@ -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