How to create eyes for a model ?

Greetings! I have a question. How i can make a eyes for a model? I tried to make it, but I failed. :tinfoil:

In game eyes were white.(pupils only) =|

My QC:


$cd "G:\Source Models\eye_test"
$modelname "eye.mdl"
$model "body" "reference.smd"{

eyeball righteye bip_head -1.57 -2.21 66.96 eyeball_r 1.00 4 eye-iris-blue 0.63
	eyeball lefteye bip_head 1.17 -2.21 66.96 eyeball_l 1.00 -4 eye-iris-blue 0.63
	
flexcontroller eyes range -45 45 eyes_updown
flexcontroller eyes range -45 45 eyes_rightleft 

}	
$cdmaterials "\models\eye_test"
$cdmaterials ""
$hboxset "default"
$hbox 0 "bip_head" -5.180  -9.669  -8.264  5.180  2.970  3.872
$surfaceprop "flesh"
$illumposition 2.196 0.000 3.349
$sequence reference "reference" fps 30.00

My model(screen from 3D Max):

http://imageshack.com/a/img203/5796/xowm.jpg

What’s wrong ?

Thanks.

P.S. Sorry for bad english. :<

UPD: Okay, i fixed it, but now there is anohter problem. How can i fix it ? Thx.

QC:


$cd "G:\Source Models\eye_test"
$modelname "eye.mdl"
$model "body" "reference.smd"{
	eyeball righteye bip_head 1.33 -5.36 3.79 "eyeball_r" 1.00 4 eyeball_r 0.63
	eyeball lefteye bip_head 1.42 -5.33 3.79 "eyeball_l" 1.00 -4 eyeball_l 0.63
	
     flexcontroller eyes eyes_updown "range" 0.000 1.000
     flexcontroller eyes eyes_rightleft "range" 0.000 1.000
}	
$cdmaterials "\models\eye_test"
$hboxset "default"
$hbox 0 "bip_head" -5.180  -9.669  -8.264  5.180  2.970  3.872
$surfaceprop "flesh"
$illumposition 2.196 0.000 3.349
$sequence reference "reference" fps 30.00

Heres some detailed tutorial:

https://digitalero.org/phpbb/viewtopic.php?t=2549&p=27228

But its focused more on SFM than in Gmod or any other source game.
However it should be usefull

[sp]ITs NOT SOME NAUGHTY MACHINIMA THREAD, FAGS[/sp]

One thing to remember - make sure the eye mesh is as flat as possible, otherwise you’ll be getting doubled eyes at angles where you ray multiple areas of the eye mesh.

Wow, thanks, this is useful. :slight_smile:

What do you mean ? I need to compress my model ?

I don’t know why, but in the game eyeballs twinkle. :<