Source Mod NPC compiling Errors

A Forum Thread for Half-Life 2: Episode Two

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Hero_Kenshin points.
  • Post: Give Hero_Kenshin your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Interested?

Sign up

Already a Bananite? Login

Hey guys, Been working on compiling the fastzombie model with citizen model and some of citizen animations. Its all been working pretty well except for three problems i can't seem to figure out. Problem #1: I decompiled male_07 and used the lod_references, physmodel, ragdoll & male_07_reference in the model i was compiling. But for compiling reasons i had to rename the .smd's as lod1_fastzombie, fastzombie_reference etc which let it compile without errors, but when i check out my model in game and in model viewer it still uses the fastzombie default model! As you can see below, its still the fast zombie model, which i kind of don't mind but knowing how to fix the problem will still be handy. Problem #2: The model plays citizen animations fine, but i'm having some weird errors. The zombie's head is upside down! ![](http://s24.postimage.org/h9o55gr39/Problem_1.jpg "Problem1") Now i'm assuming this is the error that relates to it Zombie/Fast.mdl/humans\male_postures.mdl : missmatched parent bones on "ValveBiped.Bip01_Head1" Now i have added these two lines to the .qc to fix some other errors $heirarchy "valvebiped.Bip01_Pelvis" "" $heirarchy "Valvebiped.bip01_Spine" "valvebiped.Bip01_Pelvis" But i can't figure out what to add to fix the head, if anything. Problem #3: Very similar to problem #2, when the zombie goes into ragdoll on death this happens: ![](http://s21.postimage.org/w3skipnuv/2013_03_18_00003.jpg "Problem2") Odd. This is my overall .qc $cd "C:\Users\Garion\Desktop\MOD\FastZombie\Decompiled" $modelname "Zombie/Fast.mdl" $model "Fast" "Zombiefast_reference.smd" $lod 15 { replacemodel "Zombiefast_reference" "lod1_Zombiefast_reference" } $lod 27 { replacemodel "Zombiefast_reference" "lod2_Zombiefast_reference" } $lod 35 { replacemodel "Zombiefast_reference" "lod3_Zombiefast_reference" } $lod 45 { replacemodel "Zombiefast_reference" "lod4_Zombiefast_reference" } $shadowlod { replacemodel "Zombiefast_reference" "lod5_Zombiefast_reference" } $poseparameter move_yaw -180.00 180.00 $cdmaterials "models\zombie_fast\" $cdmaterials "models\headcrab\" $cdmaterials "models\Humans\Male\Group01\" $cdmaterials "models\Humans\Male\" $cdmaterials "models\humans\male\" $hboxset "default" $hbox 0 "ValveBiped.Bip01_L_UpperArm" -4.650 -4.150 -2.870 14.950 3.120 2.130 $hbox 0 "ValveBiped.Bip01_L_Forearm" -2.500 -2.610 -1.730 12.710 1.550 2.130 $hbox 0 "ValveBiped.Bip01_L_Hand" -2.460 -1.300 -4.350 6.740 1.970 2.310 $hbox 0 "ValveBiped.Bip01_R_UpperArm" -3.370 -3.010 -2.850 14.890 3.630 2.160 $hbox 0 "ValveBiped.Bip01_R_Forearm" -2.260 -1.520 -1.690 12.990 2.870 2.160 $hbox 0 "ValveBiped.Bip01_R_Hand" -2.350 -1.440 -2.360 6.910 1.800 4.270 $hbox 0 "ValveBiped.Bip01_L_Thigh" -2.000 -5.330 -5.610 18.000 6.270 3.510 $hbox 0 "ValveBiped.Bip01_L_Calf" -3.880 -6.170 -4.630 22.020 4.230 4.240 $hbox 0 "ValveBiped.Bip01_R_Thigh" -2.000 -6.270 -5.610 18.000 5.330 3.510 $hbox 0 "ValveBiped.Bip01_R_Calf" -3.880 -4.230 -4.630 22.020 6.170 4.240 $hbox 1 "ValveBiped.HC_BodyCube" -6.250 -5.950 -5.480 6.030 8.210 4.940 $hbox 0 "ValveBiped.Bip01_Spine2" -2.000 -8.000 -4.000 18.000 8.000 8.000 $hbox 0 "ValveBiped.Bip01" -8.000 -4.500 -6.000 8.000 10.500 6.000 // Model uses material "fast_zombie_sheet.vmt" // Model uses material "allinonebacup2.vmt" $attachment "headcrab" "ValveBiped.HC_BodyCube" -0.00 -1.50 0.00 rotate 0.00 0.00 70.00 $attachment "head" "ValveBiped.HC_BodyCube" -0.00 0.00 0.00 rotate 0.00 0.00 0.00 $attachment "chest" "ValveBiped.Bip01_Spine4" -4.00 0.00 3.00 rotate -70.00 0.00 -180.00 $attachment "Blood_Left" "ValveBiped.Bip01_L_Finger2" 0.00 -0.00 -0.00 rotate -0.00 0.00 0.00 $attachment "Blood_Right" "ValveBiped.Bip01_R_Finger2" -0.00 0.00 0.00 rotate -0.00 0.00 -0.00 $attachment "Cable1a" "ValveBiped.Bip01_L_Forearm" 0.00 -0.00 0.00 rotate 0.00 0.00 0.00 $attachment "Cable1b" "ValveBiped.Bip01_L_Hand" 0.00 0.00 0.00 rotate 0.00 -0.00 0.00 $attachment "Cable2a" "ValveBiped.Bip01_R_Forearm" 0.00 -0.00 0.00 rotate -0.00 -0.00 0.00 $attachment "Cable2b" "ValveBiped.Bip01_R_Hand" 0.00 -0.00 -0.00 rotate 0.00 -0.00 0.00 $surfaceprop "flesh" $keyvalues { Cables { "Cable" { "StartAttachment" "Cable1a" "EndAttachment" "Cable1b" "Width" ".3" "Material" "cable/cable_lit" "NumSegments" "5" "Length" "115" } "Cable" { "StartAttachment" "Cable2a" "EndAttachment" "Cable2b" "Width" ".3" "Material" "cable/cable_lit" "NumSegments" "5" "Length" "115" } } } $eyeposition -0.000 0.000 64.000 $illumposition 4.406 2.231 26.532 $includemodel "humans/male_shared.mdl" $includemodel "humans/male_ss.mdl" $includemodel "humans/male_gestures.mdl" $includemodel "humans/male_postures.mdl" $sequence Leap "Leap" ACT_RANGE_ATTACK1 1 fps 30.00 { { event AE_FASTZOMBIE_LEAP 8 } } $sequence LeapStrike "LeapStrike" loop ACT_FASTZOMBIE_LEAP_STRIKE 1 fps 26.00 $sequence LandRight "LandRight" ACT_FASTZOMBIE_LAND_RIGHT 1 fps 30.00 $sequence LandLeft "LandLeft" ACT_FASTZOMBIE_LAND_LEFT 1 fps 30.00 $sequence Melee "Melee" loop ACT_MELEE_ATTACK1 1 fps 30.00 { { event AE_ZOMBIE_ATTACK_RIGHT 3 } { event AE_ZOMBIE_ATTACK_LEFT 7 } } $sequence climbmount "climbmount" fps 30.00 $sequence climbloop "climbloop" loop ACT_CLIMB_UP 1 fps 30.00 { { event AE_FASTZOMBIE_CLIMB_LEFT 5 } { event AE_FASTZOMBIE_CLIMB_RIGHT 12 } } $sequence climbdismount "climbdismount" ACT_CLIMB_DISMOUNT 1 fps 30.00 $sequence JumpNavMove "JumpNavMove" ACT_JUMP 1 fps 30.00 $sequence leap_start "leap_start" fps 30.00 $sequence leap_loop "leap_loop" loop fps 30.00 $sequence leap_land "leap_land" fps 30.00 $sequence BR2_Roar "BR2_Roar" ACT_FASTZOMBIE_FRENZY 1 fps 30.00 $sequence BR2_Attack "BR2_Attack" ACT_FASTZOMBIE_BIG_SLASH 1 fps 30.00 { { event AE_ZOMBIE_ATTACK_RIGHT 18 } } $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.774 -0.633 0.000 $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.000 0.000 0.000 $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.759 0.651 -0.000 $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.726 0.688 0.000 $heirarchy "valvebiped.Bip01_Pelvis" "" $heirarchy "Valvebiped.bip01_Spine" "valvebiped.Bip01_Pelvis" $collisionjoints "phymodel.smd" { $mass 95.0 $inertia 2.00 $damping 0.01 $rotdamping 0.40 $rootbone "valvebiped.bip01_pelvis" $jointconstrain "valvebiped.bip01_spine" x limit -32.00 32.00 0.20 $jointconstrain "valvebiped.bip01_spine" y limit -39.00 39.00 0.20 $jointconstrain "valvebiped.bip01_spine" z limit -15.00 40.00 0.20 $jointconstrain "valvebiped.bip01_spine2" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_spine2" z limit -41.00 41.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -30.00 61.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -90.00 48.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -106.00 68.00 0.20 $jointmassbias "valvebiped.bip01_l_forearm" 2.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit 1.00 1.00 0.20 $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_l_forearm" z limit -102.00 44.00 0.20 $jointmassbias "valvebiped.bip01_l_hand" 2.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -39.00 39.00 0.20 $jointconstrain "valvebiped.bip01_l_hand" y limit -19.00 19.00 0.20 $jointconstrain "valvebiped.bip01_l_hand" z limit -64.00 26.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -41.00 37.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -44.00 90.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -106.00 68.00 0.20 $jointmassbias "valvebiped.bip01_r_forearm" 2.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -41.00 93.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" x limit -28.00 30.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" y limit -37.00 26.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" z limit -82.00 44.00 0.20 $jointmassbias "valvebiped.bip01_r_calf" 2.00 $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_calf" z limit -8.00 130.00 0.20 $jointmassbias "valvebiped.bip01_r_foot" 2.00 $jointconstrain "valvebiped.bip01_r_foot" x limit -30.00 30.00 0.20 $jointconstrain "valvebiped.bip01_r_foot" y limit -28.00 28.00 0.20 $jointconstrain "valvebiped.bip01_r_foot" z limit -30.00 26.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" x limit -37.00 30.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" y limit -30.00 19.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" z limit -75.00 39.00 0.20 $jointmassbias "valvebiped.bip01_l_calf" 2.00 $jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -8.00 130.00 0.20 $jointmassbias "valvebiped.bip01_l_foot" 2.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -10.00 10.00 0.20 $jointconstrain "valvebiped.bip01_l_foot" y limit -17.00 17.00 0.20 $jointconstrain "valvebiped.bip01_l_foot" z limit -21.00 39.00 0.20 $jointmassbias "valvebiped.bip01_r_hand" 2.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -58.00 58.00 0.20 $jointconstrain "valvebiped.bip01_r_hand" y limit -28.00 28.00 0.20 $jointconstrain "valvebiped.bip01_r_hand" z limit -35.00 46.00 0.20 } If anyone has anything i can try or they know the answer please let me know. Thanks in advance. | Hero_Kenshin |

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Stats

Posts
3
Views
3,924
Date Added
5y
bcp.crwdcntrl.net tracking pixel