1. Post #1
    SevenBillion's Avatar
    January 2012
    200 Posts
    I am currently using these following tutorials.
    http://www.facepunch.com/threads/1057140
    http://digitalero.lefora.com/2012/01...h-more-detail/
    When I try to complie the .qc file using GUIStudioMDL, I always end up getting this error, (Error is in bold)
    Created command line: "C:\Program Files (x86)\Steam\steamapps\name\sourcesdk\bin\ep1\bin\s tudiomdl.exe" -game "c:\program files (x86)\steam\steamapps\name\half-life 2 deathmatch\hl2mp" -notxbox "C:\Users\user\Desktop\Evie Model\Evie\mdldecompiler.qc"

    qdir: "c:\users\user\desktop\evie model\evie\"
    gamedir: "c:\program files (x86)\steam\steamapps\name\half-life 2 deathmatch\hl2mp\"
    g_path: "mdldecompiler"
    Working on "mdldecompiler.qc"
    SMD MODEL C:\Users\user\Desktop\Evie Model\Evie/pc_female_sweety_bear_head.smd
    SMD MODEL C:\Users\user\Desktop\Evie Model\Evie/pc_evy_hair_natural_01.smd
    SMD MODEL C:\Users\user\Desktop\Evie Model\Evie/pc_female_sweety_bear_upper.smd
    SMD MODEL C:\Users\user\Desktop\Evie Model\Evie/pc_female_sweety_bear_lower.smd
    SMD MODEL C:\Users\user\Desktop\Evie Model\Evie/pc_female_bearglove_hand.smd
    ERROR: unknown command "pc_evy_inner_armor01.smd"
    ERROR: Aborted Processing on 'player\evy\evy.mdl'
    And this is the .qc file.
    $cd "C:\Users\user\Desktop\Evie Model\Evie"
    $modelname "player\evy\evy.mdl"
    $bodygroup placeholder {

    blank

    }

    $bodygroup helm {

    studio "pc_female_sweety_bear_head.smd"
    blank


    }


    $bodygroup hair {

    studio "pc_evy_hair_natural_01.smd"



    }

    $bodygroup upper {

    studio "pc_female_sweety_bear_upper.smd"
    blank


    }

    $bodygroup lower {

    studio "pc_female_sweety_bear_lower.smd"
    blank


    }

    $bodygroup hand {

    studio "pc_female_bearglove_hand.smd"
    blank

    }


    $bodygroup foot {

    studio "pc_female_sweety_bear_foot.smd
    blank

    }

    $bodygroup body {

    studio pc_evy_inner_armor01.smd


    }


    $model "face "pc_evy_face01.smd" {
    flexfile "mdldecompiler_expressions.vta" {
    flex "upper_right" frame 4
    flex "upper_left" frame 6
    flex "blink" frame 7
    flex "blink_ui" frame 8
    flex "closedeyes_ou" frame 9
    flex "closedeyes_u" frame 10
    flex "closedeyes_mild" frame 11
    flex "mild" frame 12
    flex "smile_mild" frame 13
    flex "smile" frame 14
    flex "happy" frame 15
    flex "laughing" frame 16
    flex "haughty" frame 17
    flex "kiss" frame 18
    flex "wink" frame 19
    flex "cute" frame 20
    flex "embarrassed" frame 21
    flex "sad" frame 22
    flex "sorry" frame 23
    flex "sulky" frame 24
    flex "hostile" frame 25
    flex "angry" frame 26
    flex "angry_shout" frame 27
    flex "missed" frame 28
    flex "hurt" frame 29
    flex "shocked" frame 30
    flex "surprised" frame 31
    flex "surprised_a" frame 32
    flex "upperlid_hi" frame 33
    flex "mouth_a" frame 34
    flex "mouth_a_half" frame 35
    flex "mouth_e" frame 36
    flex "mouth_e_half" frame 37
    flex "mouth_ou" frame 38
    flex "mouth_ou_half" frame 39
    flex "chew_up" frame 40
    flex "chew_down" frame 41
    }
    eyeball righteye ValveBiped.Bip01_Head1 -1.233 -2.150 68.304

    evy_eyeball_r 1.050 3.000 pc_evy_pupil_r01 0.670
    eyeball lefteye ValveBiped.Bip01_Head1 1.233 -2.150 68.304

    evy_eyeball_l 1.050 -3.000 pc_evy_pupil_l01 0.670
    // 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 -

    0.500000 neutral 4 0.000000 raiser 4 0.000000 split 0.1 eyeball righteye
    // eyelid lower_right "mdldecompiler_expressions.vta" lowerer 4

    0.000000 neutral 4 0.000000 raiser 4 0.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 6 -

    0.500000 neutral 6 0.000000 raiser 6 0.000000 split -0.1 eyeball lefteye
    // eyelid lower_left "mdldecompiler_expressions.vta" lowerer 4

    0.000000 neutral 4 0.000000 raiser 4 0.000000 split -0.1 eyeball lefteye
    mouth 0 "mouth" ValveBiped.Bip01_Head1 0.000 1.000 0.000
    flexcontroller eyelid blink "range" 0.000 1.000
    flexcontroller eye blink_ui "range" 0.000 1.000
    flexcontroller eye closedeyes_ou "range" 0.000 1.000
    flexcontroller eye closedeyes_u "range" 0.000 1.000
    flexcontroller eye closedeyes_mild "range" 0.000 1.000
    flexcontroller eye mild "range" 0.000 1.000
    flexcontroller eye smile_mild "range" 0.000 1.000
    flexcontroller eye smile "range" 0.000 1.000
    flexcontroller eye happy "range" 0.000 1.000
    flexcontroller eye laughing "range" 0.000 1.000
    flexcontroller eye haughty "range" 0.000 1.000
    flexcontroller eye kiss "range" 0.000 1.000
    flexcontroller eye wink "range" 0.000 1.000
    flexcontroller eye cute "range" 0.000 1.000
    flexcontroller eye embarrassed "range" 0.000 1.000
    flexcontroller eye sad "range" 0.000 1.000
    flexcontroller eye sorry "range" 0.000 1.000
    flexcontroller eye sulky "range" 0.000 1.000
    flexcontroller eye hostile "range" 0.000 1.000
    flexcontroller eye angry "range" 0.000 1.000
    flexcontroller eye angry_shout "range" 0.000 1.000
    flexcontroller eye missed "range" 0.000 1.000
    flexcontroller eye hurt "range" 0.000 1.000
    flexcontroller eye shocked "range" 0.000 1.000
    flexcontroller eye surprised "range" 0.000 1.000
    flexcontroller eye surprised_a "range" 0.000 1.000
    flexcontroller eye upperlid_hi "range" 0.000 1.000
    flexcontroller eye mouth_a "range" 0.000 1.000
    flexcontroller eye mouth_a_half "range" 0.000 1.000
    flexcontroller eye mouth_e "range" 0.000 1.000
    flexcontroller eye mouth_e_half "range" 0.000 1.000
    flexcontroller eye mouth_ou "range" 0.000 1.000
    flexcontroller eye mouth_ou_half "range" 0.000 1.000
    flexcontroller eye chew_up "range" 0.000 1.000
    flexcontroller eye chew_down "range" 0.000 1.000
    %blink = blink
    %blink_ui = blink_ui
    %closedeyes_ou = closedeyes_ou
    %closedeyes_u = closedeyes_u
    %closedeyes_mild = closedeyes_mild
    %mild = mild
    %smile_mild = smile_mild
    %smile = smile
    %happy = happy
    %laughing = laughing
    %haughty = haughty
    %kiss = kiss
    %wink = wink
    %cute = cute
    %embarrassed = embarrassed
    %sad = sad
    %sorry = sorry
    %sulky = sulky
    %hostile = hostile
    %angry = angry
    %angry_shout = angry_shout
    %missed = missed
    %hurt = hurt
    %shocked = shocked
    %surprised = surprised
    %surprised_a = surprised_a
    %upperlid_hi = upperlid_hi
    %mouth_a = mouth_a
    %mouth_a_half = mouth_a_half
    %mouth_e = mouth_e
    %mouth_e_half = mouth_e_half
    %mouth_ou = mouth_ou
    %mouth_ou_half = mouth_ou_half
    %chew_up = chew_up
    %chew_down = chew_down
    $cdmaterials "models\player\evy\"
    $attachment "eyes" "ValveBiped.Bip01_Head1" 1.69 2.92 -0.00 rotate -

    0.00 82.41 90.00
    $attachment "forward" "ValveBiped.Bip01_Head1" 0.00 -0.00 0.00 rotate

    -0.00 80.00 90.00
    $attachment "chest" "ValveBiped.Bip01_Spine2" 0.00 0.00 -0.00 rotate -

    0.00 90.00 90.00
    $surfaceprop "flesh"
    $eyeposition -0.000 0.000 70.000
    $illumposition 6.750 -0.129 0.000
    $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 1.00
    $collisionjoints "phymodel.smd" {

    $mass 55.0
    $inertia 5.00
    $damping 0.01
    $rotdamping 1.50
    $rootbone "valvebiped.bip01_pelvis"

    $jointconstrain "valvebiped.bip01_spine" x limit -10.00 10.00

    0.20
    $jointconstrain "valvebiped.bip01_spine" y limit -6.00 6.00

    0.20
    $jointconstrain "valvebiped.bip01_spine" z limit -3.00 39.00

    0.00

    $jointconstrain "valvebiped.bip01_r_thigh" x limit -15.00 8.00

    0.20
    $jointconstrain "valvebiped.bip01_r_thigh" y limit -3.00 6.00

    0.20
    $jointconstrain "valvebiped.bip01_r_thigh" z limit -17.00

    106.00 0.20

    $jointconstrain "valvebiped.bip01_l_thigh" x limit -8.00 15.00

    0.20
    $jointconstrain "valvebiped.bip01_l_thigh" y limit -3.00 6.00

    0.20
    $jointconstrain "valvebiped.bip01_l_thigh" z limit -17.00

    106.00 0.20

    $jointconstrain "valvebiped.bip01_l_calf" x limit -1.00 15.00

    0.20
    $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_l_calf" z limit -70.00 -15.00

    0.00

    $jointconstrain "valvebiped.bip01_l_foot" x limit -15.00 15.00

    0.00
    $jointconstrain "valvebiped.bip01_l_foot" y limit -6.00 6.00

    0.00
    $jointconstrain "valvebiped.bip01_l_foot" z limit -23.00 15.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 -15.00 15.00

    0.20
    $jointconstrain "valvebiped.bip01_spine2" y limit -17.00 17.00

    0.20
    $jointconstrain "valvebiped.bip01_spine2" z limit -14.00 79.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 -10.00

    23.00 0.20
    $jointconstrain "valvebiped.bip01_r_upperarm" y limit -32.00

    -8.00 0.00
    $jointconstrain "valvebiped.bip01_r_upperarm" z limit -46.00

    17.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 -23.00

    10.00 0.20
    $jointconstrain "valvebiped.bip01_l_upperarm" y limit -8.00

    32.00 0.00
    $jointconstrain "valvebiped.bip01_l_upperarm" z limit -46.00

    17.00 0.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.00
    $jointconstrain "valvebiped.bip01_l_forearm" z limit -108.00 -

    15.00 0.00

    $jointconstrain "valvebiped.bip01_l_hand" x limit -15.00 17.00

    0.00
    $jointconstrain "valvebiped.bip01_l_hand" y limit -17.00 10.00

    0.00
    $jointconstrain "valvebiped.bip01_l_hand" z limit -39.00 41.00

    0.00

    $jointconstrain "valvebiped.bip01_r_forearm" x limit -1.00 1.00

    0.20
    $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00

    0.00
    $jointconstrain "valvebiped.bip01_r_forearm" z limit -108.00 -

    12.00 0.00

    $jointconstrain "valvebiped.bip01_r_hand" x limit -37.00 26.00

    0.00
    $jointconstrain "valvebiped.bip01_r_hand" y limit -15.00 23.00

    0.00
    $jointconstrain "valvebiped.bip01_r_hand" z limit -41.00 46.00

    0.00

    $jointconstrain "valvebiped.bip01_r_calf" x limit -17.00 8.00

    0.00
    $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.00
    $jointconstrain "valvebiped.bip01_r_calf" z limit -70.00 -15.00

    0.00

    $jointconstrain "valvebiped.bip01_r_foot" x limit -15.00 15.00

    0.00
    $jointconstrain "valvebiped.bip01_r_foot" y limit -6.00 6.00

    0.00
    $jointconstrain "valvebiped.bip01_r_foot" z limit -26.00 8.00

    0.00

    $jointconstrain "valvebiped.bip01_head1" x limit -26.00 26.00

    0.20
    $jointconstrain "valvebiped.bip01_head1" y limit -32.00 32.00

    0.20
    $jointconstrain "valvebiped.bip01_head1" z limit -19.00 30.00

    0.20
    }

  2. Post #2
    Gold Member
    one free man's Avatar
    May 2008
    3,169 Posts
    It looks like you forgot to put quotes around pc_evy_inner_armor01.smd in the first third
    Also, put a closing quotation around "pc_female_sweety_bear_foot.smd on the line above that

    So, like this:

    Code:
    $bodygroup foot {
    
    studio "pc_female_sweety_bear_foot.smd"
    blank
    
    }
    
    $bodygroup body {
    
    studio "pc_evy_inner_armor01.smd"
    Because their aren't any quotations around them at the moment, the compiler thinks that the SMD name is in fact a command, hence the "invalid command" error

  3. Post #3
    SevenBillion's Avatar
    January 2012
    200 Posts
    It looks like you forgot to put quotes around pc_evy_inner_armor01.smd in the first third
    Also, put a closing quotation around "pc_female_sweety_bear_foot.smd on the line above that

    So, like this:

    Code:
    $bodygroup foot {
    
    studio "pc_female_sweety_bear_foot.smd"
    blank
    
    }
    
    $bodygroup body {
    
    studio "pc_evy_inner_armor01.smd"
    Because their aren't any quotations around them at the moment, the compiler thinks that the SMD name is in fact a command, hence the "invalid command" error
    Ok I got that problem fixed now. Thanks, but now I get the eyeball texture is missing error.

  4. Post #4
    SevenBillion's Avatar
    January 2012
    200 Posts
    EDIT:Both of the errors has been fixed.
    The problem has been solved.
    /thread