• qc writing error (face flexes error? or something)
    2 replies, posted
i'm using guistudiomdl and got some error.. line 21 is incomplete <- what does that mean? i really can't understand and this is my qc.. [QUOTE]$cd "C:\Users\lsj\Desktop\modelling\usmc" $modelname "USMC2.mdl" $model "usmc2" "marine5.SMD"{ flexfile "blank.vta"{ flex "blank" frame 10 } flexfile "smile.vta"{ flex "smile" frame 10 } flexfile "blink.vta"{ flex "blink" frame 10 } flexfile "l_blink.vta"{ flex "l_blink" frame 10 } flexfile "r_blink.vta"{ flex "r_blink" frame 10 } flexcontroller "phoneme" "blank" "range" 01 flexcontroller "phoneme" "smile" "range" 01 flexcontroller "phoneme" "blink" "range" 01 flexcontroller "phoneme" "l_blink" "range" 01 flexcontroller "phoneme" "r_blink" "range" 01 %blank = blank %smile = smile %blink = blink %l_blink = blink_left %r_blink = blink_right } $cdmaterials "models\player\vad36_bf3\" $cdmaterials "models\marine1\" $hboxset "default" $surfaceprop "flesh" $illumposition -3.336 -0.001 38.829 $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $collisionjoints "phymodel.smd" { $mass 90.0 $inertia 10.00 $damping 0.01 $rotdamping 1.50 $rootbone "valvebiped.bip01_pelvis" $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1" $jointconstrain "valvebiped.bip01_l_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -55.00 90.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -110.00 120.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -12.00 145.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 35.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -90.00 55.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -110.00 125.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 145.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -55.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 -46.00 46.00 0.00 $jointconstrain "valvebiped.bip01_spine2" x limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -65.00 95.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -115.00 150.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -135.00 135.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -140.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -150.00 115.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -135.00 135.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -140.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_head1" x limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -65.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -70.00 70.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 -46.00 46.00 0.00 $animatedfriction 1.000 400.000 0.500 0.300 0.000 } [/QUOTE]
It means just what it says, that line #21 is incomplete. The "range" on flexcontrollers is two numbers - minimum and maximum, so 0 1. What you have is 01, without a space, so it's reading the line as incomplete. Just add the space between 0 and 1 on all of your flexcontroller lines and the error will be fixed. Although, then you'll encounter an error "Rule for blink_left could not be found." You have your rules, just beneath the flexcontrollers, referring to non-existent entities, "blink_left" and "blink_right", which are never referred to in your QC anywhere else, and will result in an error. [code] %l_blink = blink_left %r_blink = blink_right [/code] These two lines should instead read as: [code] %l_blink = l_blink %r_blink = r_blink [/code]
[QUOTE=Squiddy;41820048]It means just what it says, that line #21 is incomplete. The "range" on flexcontrollers is two numbers - minimum and maximum, so 0 1. What you have is 01, without a space, so it's reading the line as incomplete. Just add the space between 0 and 1 on all of your flexcontroller lines and the error will be fixed. Although, then you'll encounter an error "Rule for blink_left could not be found." You have your rules, just beneath the flexcontrollers, referring to non-existent entities, "blink_left" and "blink_right", which are never referred to in your QC anywhere else, and will result in an error. [code] %l_blink = blink_left %r_blink = blink_right [/code] These two lines should instead read as: [code] %l_blink = l_blink %r_blink = r_blink [/code][/QUOTE] Thanks man!
Sorry, you need to Log In to post a reply to this thread.