Discord
Steam
/
Developers
/
Eye setup woes..
Login/Join
Event Log
Eye setup woes (works in hlmv not in game)
2 replies, posted
Search
In This Thread
I've been trying to set up eyes for a model. The basic setup is completely fine. The eyes work in HLMV, track as they are supposed to, the textures show up without any problems or issues. The issue is, that they iris just doesn't show up in gmod. Or if it does it's completely tucked away in the corner. Example pics In game [img_thumb]http://dl.dropbox.com/u/6252145/gm_flatgrass0004.jpg[/img_thumb] HLMV [IMG]http://localhostr.com/files/57c84e/capture.png[/IMG] QC [code] $cd "C:\Users\junk\Desktop\girlbot" $modelname "kit\NT\gynbot.mdl" //$model "studio" "gbot_ref.smd" //start eye/face data $eyeposition 0 0 70 //head controllers $attachment "eyes" "ValveBiped.Bip01_Head1" 2.39 -3.50 -0.00 rotate 0 -80 -90 $attachment "lefteye" "ValveBiped.Bip01_Head1" 2.56 -3.50 1.30 rotate 0 -80 -90 $attachment "righteye" "ValveBiped.Bip01_Head1" 2.56 -3.50 -1.30 rotate 0 -80 -90 $attachment "mouth" "ValveBiped.Bip01_Head1" 0.80 -5.80 -0.15 rotate 0 -80 -90 $attachment "forward" "ValveBiped.Bip01_Head1" 0.00 -0.00 0.00 rotate -0 0 0 $model Gynbot "gbot_ref.smd" { eyeball righteye "ValveBiped.Bip01_Head1" -1.20 -2.54 64.94 "eyeball_r" 1.00 4 "pupil_r" 0.5 eyeball lefteye "ValveBiped.Bip01_Head1" 1.24 -2.54 64.94 "eyeball_l" 1.00 -4 "pupil_l" 0.5 eyelid upper_right "gynbot_expressions" lowerer 1 -0.02 neutral 0 0.31 raiser 2 0.40 split 0.1 eyeball righteye eyelid lower_right "gynbot_expressions" lowerer 3 -0.23 neutral 0 -0.14 raiser 4 -0.03 split 0.1 eyeball righteye eyelid upper_left "gynbot_expressions" lowerer 1 -0.02 neutral 0 0.31 raiser 2 0.40 split -0.1 eyeball lefteye eyelid lower_left "gynbot_expressions" lowerer 3 -0.23 neutral 0 -0.14 raiser 4 -0.03 split -0.1 eyeball lefteye mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination flexfile "gynbot_expressions" { //$include "../standardflex_xsi.qci" } //$include "../facerules_xsi.qci" //$include "../bodyrules_xsi.qci" } //end eye/face data $cdmaterials "models\props_tech\" $cdmaterials "models\gameplay\" $hboxset "default" //$hbox 0 "static_prop" -40.691 -12.552 -0.655 40.680 12.552 10.843 // Model uses material "girlbot.vmt" $surfaceprop "metall" $illumposition -0.006 0.000 5.094 $sequence ragdoll "gbot_ani.smd" ACT_DIERAGDOLL 1 fps 30.00 $collisionjoints phymodel { $mass 90.0 $inertia 10.00 $damping 0.01 $rotdamping 1.50 $rootbone "pelvis" $jointconstrain "valvebiped.bip01_r_thigh" x limit -15.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -15.00 64.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -95.00 84.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" x limit -44.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit -15.00 15.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -15.00 146.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" x limit -41.00 61.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -59.00 41.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -97.00 73.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" x limit -97.00 97.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit -10.00 10.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -15.00 133.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_spine2" x limit -97.00 97.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -61.00 61.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -73.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -66.00 66.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -104.00 104.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -100.00 100.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -64.00 64.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit -100.00 100.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -75.00 75.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -57.00 57.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -93.00 93.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -129.00 129.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -82.00 82.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit -100.00 100.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -77.00 77.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit -66.00 66.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -79.00 79.00 0.00 $jointconstrain "valvebiped.bip01_head1" x limit -84.00 97.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -37.00 26.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -86.00 82.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -93.00 84.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit -75.00 104.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -77.00 82.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit 0.00 0.00 0.00 } [/code]
You didn't define the flex properly. It should be like this: [code]$model Gynbot "gbot_ref.smd" { flexfile "gynbot_expressions.vta" { flex "blank" frame 1 } eyeball righteye "ValveBiped.Bip01_Head1" -1.20 -2.54 64.94 "eyeball_r" 1.00 4 "pupil_r" 0.5 eyeball lefteye "ValveBiped.Bip01_Head1" 1.24 -2.54 64.94 "eyeball_l" 1.00 -4 "pupil_l" 0.5 eyelid upper_right "gynbot_expressions" lowerer 1 -0.02 neutral 0 0.31 raiser 2 0.40 split 0.1 eyeball righteye eyelid lower_right "gynbot_expressions" lowerer 3 -0.23 neutral 0 -0.14 raiser 4 -0.03 split 0.1 eyeball righteye eyelid upper_left "gynbot_expressions" lowerer 1 -0.02 neutral 0 0.31 raiser 2 0.40 split -0.1 eyeball lefteye eyelid lower_left "gynbot_expressions" lowerer 3 -0.23 neutral 0 -0.14 raiser 4 -0.03 split -0.1 eyeball lefteye mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination flexcontroller "phoneme" "blank" "range" 0 0 %blank = blank { [/code]
Thanks that solved the problem. Just had to change the last bracket Though odd that it didn't work at first, since I grabbed the that part of the QC from QCeyes
Sorry, you need to
Log In
to post a reply to this thread.