• Eye Posing Fucked
    3 replies, posted
I gave my model some eye posing. It works fine in the model viewer, it follows the camera fine and whatnot. I load it up into Garry's Mod. The pupils follow a spot somewhere in the map (Much like how the eyes followed the camera in the model viewer, but it doesn't follow the player) and the eye poser tool doesn't work on the model. Here's the .QC. [code] $cd "C:\Documents and Settings\Milkshake\Desktop\Junk\Model Stuff\Stuff to Compile\henry" $modelname "dean/sh4/henry_townshend.mdl" $model "ballocks" "henry.smd" { flexfile "wieners.vta" { } eyeball righteye ValveBiped.Bip01_Head1 1.23 -4.146 67.731 eyeball_r 1.000 4.000 pupil_r 0.630 eyeball lefteye ValveBiped.Bip01_Head1 -1.388 -4.146 67.731 eyeball_l 1.000 -4.000 pupil_l 0.630 } $cdmaterials "models\sh4\henry" $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 "citizen_sheet.vmt" // Model uses material "mouth.vmt" // Model uses material "eyeball_l.vmt" // Model uses material "eyeball_r.vmt" // Model uses material "vance_facemap.vmt" // Model uses material "pupil_r.vmt" // Model uses material "glint.vmt" // Model uses material "pupil_l.vmt" $attachment "eyes" "ValveBiped.Bip01_Head1" 3.39 -3.75 0.04 rotate 0.00 -80.10 -90.00 $attachment "mouth" "ValveBiped.Bip01_Head1" 0.70 -5.20 -0.00 rotate 0.00 -80.00 -90.00 $attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 -0.00 rotate 0.00 90.00 90.00 $attachment "forward" "ValveBiped.forward" 0.00 -0.00 0.00 rotate 0.00 0.00 -0.00 $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" -0.00 0.00 -0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" -0.00 0.00 -0.00 rotate -90.00 -90.00 0.00 $includemodel "humans/male_shared.mdl" $includemodel "humans/male_ss.mdl" $includemodel "humans/male_gestures.mdl" $includemodel "humans/male_postures.mdl" $surfaceprop "flesh" $eyeposition 0.000 0.000 70.000 $illumposition 0.637 0.000 36.058 $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" $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1" $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_r_upperarm" x limit -39.00 39.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -79.00 95.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -93.00 23.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -95.00 84.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -86.00 26.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -149.00 4.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_r_forearm" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -149.00 4.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_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 -97.00 32.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_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 $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 -93.00 30.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_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 $animatedfriction 1.000 400.000 0.500 0.300 0.000 } [/code] Here's what's in wieners.vta [code]version 1 nodes end skeleton time 0 time 1 time 2 time 3 time 4 time 5 time 6 time 7 time 8 time 9 time 10 time 11 time 12 time 13 time 14 time 15 time 16 time 17 time 18 time 19 time 20 time 21 time 22 time 23 time 24 time 25 time 26 time 27 time 28 time 29 time 30 time 31 time 32 time 33 time 34 time 35 time 36 time 37 time 38 time 39 time 40 time 41 time 42 time 43 time 44 time 45 time 46 time 47 time 48 time 49 time 50 time 51 time 52 time 53 time 54 time 55 time 56 time 57 time 58 time 59 time 60 time 61 time 62 time 63 time 64 time 65 time 66 time 67 time 68 time 69 time 70 time 71 time 72 time 73 time 74 time 75 time 76 time 77 time 78 time 79 time 80 time 81 time 82 time 83 time 84 time 85 time 86 time 87 time 88 time 89 time 90 time 91 time 92 time 93 time 94 time 95 time 96 time 97 time 98 time 99 time 100 end vertexanimation time 0 time 1 time 2 time 3 time 4 time 5 time 6 time 7 time 8 time 9 time 10 time 11 time 12 time 13 time 14 time 15 time 16 time 17 time 18 time 19 time 20 time 21 time 22 time 23 time 24 time 25 time 26 time 27 time 28 time 29 time 30 time 31 time 32 time 33 time 34 time 35 time 36 time 37 time 38 time 39 time 40 time 41 time 42 time 43 time 44 time 45 time 46 time 47 time 48 time 49 time 50 time 51 time 52 time 53 time 54 time 55 time 56 time 57 time 58 time 59 time 60 time 61 time 62 time 63 time 64 time 65 time 66 time 67 time 68 time 69 time 70 time 71 time 72 time 73 time 74 time 75 time 76 time 77 time 78 time 79 time 80 time 81 time 82 time 83 time 84 time 85 time 86 time 87 time 88 time 89 time 90 time 91 time 92 time 93 time 94 time 95 time 96 time 97 time 98 time 99 time 100 end [/code]
Without re-doing it myself I can't really know whats wrong for sure. Sorry. :frown:
[code]flexfile "wieners.vta" flex "fuck" frame 100 flexcontroller "phoneme" "fuck" "range" 0 1[/code] I don't know if the flex controller is necessary. Try this and if it doesn't work I fail.
[QUOTE=Chilean_Wolf;20092374][code]flexfile "wieners.vta" flex "fuck" frame 100 flexcontroller "phoneme" "fuck" "range" 0 1[/code] I don't know if the flex controller is necessary. Try this and if it doesn't work I fail.[/QUOTE] Holy goddamn shit it actually worked. :eek:
Sorry, you need to Log In to post a reply to this thread.