• Model QC Problem
    5 replies, posted
There's a model reskin that I'm trying to get finished, but whenever I decompile and recompile the model, the QC uses a different texture for the eyes instead of the pupil textures. I've tried replacing the lines where the pupils are, but that turns the model invisible. Here's the QC: [code]$cd "C:\Program Files\Steam\steamapps\myusername\garrysmod\garrysmod\addons\Punisher" $modelname "frankc\punishr\warzon\punisher_a1.mdl" $model "head" "head_a1.SMD" { flexfile "mdldecompiler_expressions.vta" { } eyeball righteye ValveBiped.Bip01_Head1 1.230 -3.350 68.110 eyeball_r 1.000 -1.000 cry_caucasian_01 0.500 eyeball lefteye ValveBiped.Bip01_Head1 -1.230 -3.350 68.110 eyeball_l 1.000 1.000 cry_caucasian_01 0.500 // If you uncomment the following lines the eyes will be closed // I'm including it anyway in case anyone wants to experiment // eyelid upper_right "mdldecompiler_expressions.vta" lowerer 4 -1.000000 neutral 4 0.000000 raiser 4 1.000000 split 0.1 eyeball righteye // eyelid lower_right "mdldecompiler_expressions.vta" lowerer 4 -1.000000 neutral 4 0.000000 raiser 4 1.000000 split 0.1 eyeball righteye // If you uncomment the following lines the eyes will be closed // I'm including it anyway in case anyone wants to experiment // eyelid upper_left "mdldecompiler_expressions.vta" lowerer 4 -1.000000 neutral 4 0.000000 raiser 4 1.000000 split -0.1 eyeball lefteye // eyelid lower_left "mdldecompiler_expressions.vta" lowerer 4 -1.000000 neutral 4 0.000000 raiser 4 1.000000 split -0.1 eyeball lefteye mouth 0 "mouth" ValveBiped.Bip01_Head1 0.000 1.000 0.000 flexcontroller eyelid r_hand "range" 0.000 1.000 flexcontroller eyelid l_foot "range" 0.000 1.000 flexcontroller eyelid r_foot "range" 0.000 1.000 flexcontroller eyelid gun "range" 0.000 1.000 flexcontroller eyelid l_eyelid "range" 0.000 1.000 flexcontroller eyelid r_eyelid "range" 0.000 1.000 flexcontroller eyelid close_mouth "range" 0.000 1.000 flexcontroller brow right_inner_raiser "range" 0.000 1.000 flexcontroller brow left_inner_raiser "range" 0.000 1.000 flexcontroller brow right_outer_raiser "range" 0.000 1.000 flexcontroller brow left_outer_raiser "range" 0.000 1.000 flexcontroller brow right_lowerer "range" 0.000 1.000 flexcontroller brow left_lowerer "range" 0.000 1.000 flexcontroller nose right_cheek_raiser "range" 0.000 1.000 flexcontroller nose left_cheek_raiser "range" 0.000 1.000 flexcontroller nose wrinkler "range" 0.000 1.000 flexcontroller nose dilator "range" 0.000 1.000 flexcontroller mouth right_upper_raiser "range" 0.000 1.000 flexcontroller mouth left_upper_raiser "range" 0.000 1.000 flexcontroller mouth right_corner_puller "range" 0.000 1.000 flexcontroller mouth left_corner_puller "range" 0.000 1.000 flexcontroller mouth right_corner_depressor "range" 0.000 1.000 flexcontroller mouth left_corner_depressor "range" 0.000 1.000 flexcontroller mouth chin_raiser "range" 0.000 1.000 flexcontroller phoneme right_part "range" 0.000 1.000 flexcontroller phoneme left_part "range" 0.000 1.000 flexcontroller phoneme right_puckerer "range" 0.000 1.000 flexcontroller phoneme left_puckerer "range" 0.000 1.000 flexcontroller phoneme right_funneler "range" 0.000 1.000 flexcontroller phoneme left_funneler "range" 0.000 1.000 flexcontroller phoneme right_stretcher "range" 0.000 1.000 flexcontroller phoneme left_stretcher "range" 0.000 1.000 flexcontroller phoneme bite "range" 0.000 1.000 flexcontroller phoneme presser "range" 0.000 1.000 flexcontroller phoneme tightener "range" 0.000 1.000 flexcontroller phoneme jaw_clencher "range" 0.000 1.000 flexcontroller phoneme jaw_drop "range" 0.000 1.000 flexcontroller phoneme right_mouth_drop "range" 0.000 1.000 flexcontroller phoneme left_mouth_drop "range" 0.000 1.000 flexcontroller mouth smile "range" 0.000 1.000 flexcontroller mouth lower_lip "range" 0.000 1.000 flexcontroller head head_rightleft "range" 0.000 1.000 flexcontroller head head_updown "range" 0.000 1.000 flexcontroller head head_tilt "range" 0.000 1.000 flexcontroller eyes eyes_updown "range" 0.000 1.000 flexcontroller eyes eyes_rightleft "range" 0.000 1.000 flexcontroller body body_rightleft "range" 0.000 1.000 flexcontroller chest chest_rightleft "range" 0.000 1.000 flexcontroller head head_forwardback "range" 0.000 1.000 flexcontroller gesture gesture_updown "range" 0.000 1.000 flexcontroller gesture gesture_rightleft "range" 0.000 1.000 } $model "body" "mainbody.SMD" { flexfile "mdldecompiler_expressions.vta" { } mouth 0 "mouth" ValveBiped.Bip01_Head1 0.000 1.000 0.000 } $poseparameter move_yaw -180.00 180.00 $poseparameter body_pitch -90.00 90.00 $poseparameter body_yaw -90.00 90.00 $cdmaterials "models\frankc\us_marine\" $cdmaterials "models\frankc\Humans\blue\" $hboxset "default" $hbox 1 "ValveBiped.Bip01_Head1" -1.250 -6.500 -3.190 8.250 3.500 3.310 $hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000 -2.750 -2.750 12.510 1.750 2.250 $hbox 4 "ValveBiped.Bip01_L_Forearm" 0.000 -2.190 -2.380 13.000 1.810 1.620 $hbox 4 "ValveBiped.Bip01_L_Hand" 0.060 -2.000 -1.500 4.060 1.000 2.500 $hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000 -3.000 -2.250 12.390 2.000 2.750 $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.500 -2.200 -1.550 12.500 1.800 2.450 $hbox 5 "ValveBiped.Bip01_R_Hand" 0.060 -2.000 -2.500 4.060 1.000 1.500 $hbox 6 "ValveBiped.Bip01_L_Thigh" 0.000 -3.750 -3.250 17.850 3.750 3.250 $hbox 6 "ValveBiped.Bip01_L_Calf" 0.000 -3.510 -3.280 15.640 3.490 2.720 $hbox 6 "ValveBiped.Bip01_L_Foot" -1.070 -2.000 -2.840 5.040 5.000 2.160 $hbox 6 "ValveBiped.Bip01_L_Toe0" -0.500 -3.000 -2.190 2.500 0.000 2.460 $hbox 7 "ValveBiped.Bip01_R_Thigh" 0.000 -3.750 -3.250 17.850 3.750 3.250 $hbox 7 "ValveBiped.Bip01_R_Calf" 0.000 -3.510 -2.820 15.640 3.490 3.180 $hbox 7 "ValveBiped.Bip01_R_Foot" -1.060 -2.010 -2.280 5.050 4.990 2.720 $hbox 7 "ValveBiped.Bip01_R_Toe0" -0.500 -3.000 -2.600 2.500 0.000 2.100 $hbox 3 "ValveBiped.Bip01_Pelvis" -7.500 -5.500 -6.000 7.500 8.500 5.000 $hbox 2 "ValveBiped.Bip01_Spine2" -2.500 -2.500 -7.000 14.500 7.500 7.000 // Model uses material "cry_caucasian_01.vmt" // Model uses material "cry_teeth_02.vmt" // Model uses material "eyeball_l.vmt" // Model uses material "eyeball_r.vmt" // Model uses material "cry_Marine.vmt" // Model uses material "cry_Hand.vmt" $includemodel "humans/male_shared.mdl" $includemodel "humans/male_ss.mdl" $includemodel "humans/male_gestures.mdl" $includemodel "humans/male_postures.mdl" $surfaceprop "flesh" $illumposition -0.654 -0.000 36.127 $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000 $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000 $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000 $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000 $collisionjoints "phymodel.smd" { $mass 90.0 $inertia 10.00 $damping 0.01 $rotdamping 1.50 $rootbone "valvebiped.bip01_pelvis" $jointconstrain "valvebiped.bip01_l_thigh" x limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -73.00 6.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -130.00 50.00 0.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 126.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -19.00 19.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -15.00 35.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -8.00 75.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -130.00 50.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 126.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -25.00 6.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -15.00 35.00 0.00 $jointconstrain "valvebiped.bip01_r_toe0" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_toe0" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_toe0" z limit -60.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine1" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine1" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine1" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine2" x limit -48.00 48.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -25.00 50.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -39.00 39.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -95.00 110.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -120.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -39.00 39.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -95.00 110.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -120.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -149.00 10.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -57.00 70.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -149.00 10.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -37.00 37.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -57.00 59.00 0.00 $jointconstrain "valvebiped.bip01_l_toe0" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_toe0" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_toe0" z limit -60.00 0.00 0.00 $jointconstrain "valvebiped.bip01_head1" x limit -20.00 20.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -13.00 30.00 0.00 $animatedfriction 1.000 400.000 0.500 0.000 0.300 }[/code] Any thoughts?
hello,my friend. [url=http://www.wowgoldfirm.com/][size=1]wow gold[/size][/url][size=1] [/size][url=http://www.wowgoldfirm.com/][size=1]cheapest wow gold[/size][/url][size=1] [/size][url=http://www.wowgoldfirm.com/][size=1]cheap wow gold[/size][/url][size=1] [/size][url=http://www.wowgoldfirm.com/][size=1]wow gold for sale[/size][/url][size=1] [/size][url=http://www.wowgoldfirm.com/][size=1]buy cheap wow gold[/size][/url]
Has anyone else ever had this problem while compiling?
Try replacing this line: [code]$cdmaterials "models\frankc\Humans\blue\"[/code] with this line: [code]$cdmaterials "models\humans\male\"[/code]
Do I need to change the folder for the eye textures too? Edit: When I try that, the model still shows up invisible.
Changing that line still makes the model disappear.
Sorry, you need to Log In to post a reply to this thread.