Rin's tutorial: How to do eyes in the source engine

Since urdead is a retart he asked me to make this for him because he doesnt know how to into source models

First load up your model.

https://dl.dropboxusercontent.com/s/7i93j65sv4x68j3/1.png

Go into element mode

https://dl.dropboxusercontent.com/s/owpm8bzk65yavuv/2.png

select the each eyeball and add textures with the names


eyeball_l and eyeball_r

its good to have some handy on the desktop.

https://dl.dropboxusercontent.com/s/8dhenygw2gbxdiq/3.png

there.

https://dl.dropboxusercontent.com/s/a9xwh8grmve2tt0/4.png

now select an eye one at a time

https://dl.dropboxusercontent.com/s/7t5wlk0198vcdz1/5.png

select the move tool and right click the same icon.

https://dl.dropboxusercontent.com/s/9p3x9gqwdzx5lsn/6.png

Window should pop up.

https://dl.dropboxusercontent.com/s/dm9641woybad9f7/7.png

now open qceyes.exe, they should be located in the bin folders of the root of HL2,CSS,CSGO, etc.
tick Z axis up

https://dl.dropboxusercontent.com/s/74kfynzrc8092fy/9.png

post the info from earlier into these boxes, then click generate QC text

http://puu.sh/9Vedu/d137812b43.png

https://dl.dropboxusercontent.com/s/0dfdi33x019wd0v/10.png

now you only need the highlighted stuff in your QC.
now in your materials folder for your ragdoll, you should have VMTs for the eyeballs.
if you dont have then get them from other models.

That’s not a good way to get those eye values. That will only work if the model already has full sphere models for the eyeballs. It’s better to instead just create a primitive sphere, position it in the eye sockets in a way it looks right and then get the values from that. Also another note, qceyes will only accept numbers that use periods, not commas for the decimal mark.

that’s racist

Simkas is right. You shouldn’t be using spheres for eyes in source, it can break the shader, but you should use spheres for getting the eye position.

I wrote up a post addressing this, and even wrote up a slightly more lightweight tool to calculate the values, and included source files for max and commented .qc files for additional clarification.

spheres seem good enough if you need that extra geometry for detailed stuff.

I think Tf2 uses spheres for its eyes, or half spheres.

Ooooooooh I’ve been searching for this!!
Thank you very much!!

by any chance. can you also please make detailed guide for face posing?

TF2 eyes are just flat surfaces.

But honestly I’ve talked with a bunch of people about this before, the general consensus was that having spheres for eyes doesn’t really change anything. Only thing that might happen is rarely you could get a repeating eye bug, that’s it.