Source Filmmaker

Source Filmmaker

< blank > Jun 6, 2015 @ 3:49pm
Changing eye color
Is there a way to change the eyecolor of a TF2 character?
< >
Showing 1-4 of 4 comments
R234 Jun 6, 2015 @ 6:02pm 
Yep, change the $iris material parametre to another texture.

The best way to do so would be to use override materials, and add $iris as a string attribute to the eyeball materials. Then just link to another iris texture, that you may or may not have created yourself.

If for instance you want to give a model the unused green eye texture, add override materials, and in the element viewer, right click eyeball_l > add attribute > string, and name it $iris. In the text variable that appears to the right, type "models/player/shared/eye-iris-green" (without quotes). Repeat with eyeball_r.
GLAZZMAN Jul 28, 2015 @ 9:35pm 
Originally posted by R234:
Yep, change the $iris material parametre to another texture.

The best way to do so would be to use override materials, and add $iris as a string attribute to the eyeball materials. Then just link to another iris texture, that you may or may not have created yourself.

If for instance you want to give a model the unused green eye texture, add override materials, and in the element viewer, right click eyeball_l > add attribute > string, and name it $iris. In the text variable that appears to the right, type "models/player/shared/eye-iris-green" (without quotes). Repeat with eyeball_r.

I was actually about to ask about that. Thanks, man! I can always count on you for this kind of info. *praise the SFM God*
HashTek Jun 25, 2016 @ 7:17am 
Originally posted by R234:
Yep, change the $iris material parametre to another texture.

The best way to do so would be to use override materials, and add $iris as a string attribute to the eyeball materials. Then just link to another iris texture, that you may or may not have created yourself.

If for instance you want to give a model the unused green eye texture, add override materials, and in the element viewer, right click eyeball_l > add attribute > string, and name it $iris. In the text variable that appears to the right, type "models/player/shared/eye-iris-green" (without quotes). Repeat with eyeball_r.

Sorry for reviving this post, but what if your custom eye color is in the usermod folder? I have put the folder path from the usermod folder which is "materials\models\chara-kun\ryekseumaterials\models\chara-kun\ryekseu\eye-iris-red" and when I put that in the $iris variable, still nothing happens.

EDIT 1: Okay, so reloaded SFM, and now when I put the $iris variable, it changes to the "missing texture file" which is the pink-and-black grid.
Last edited by HashTek; Jun 25, 2016 @ 7:20am
R234 Jun 25, 2016 @ 9:16am 
Originally posted by Ryekseu:
Sorry for reviving this post, but what if your custom eye color is in the usermod folder? I have put the folder path from the usermod folder which is "materials\models\chara-kun\ryekseumaterials\models\chara-kun\ryekseu\eye-iris-red" and when I put that in the $iris variable, still nothing happens.

EDIT 1: Okay, so reloaded SFM, and now when I put the $iris variable, it changes to the "missing texture file" which is the pink-and-black grid.
It doesn't matter which mod folder it's in, you always type the filepath starting after the materials folder. So in your case it should be "models\chara-kun\ryekseumaterials\models\chara-kun\ryekseu\eye-iris-red".
Last edited by R234; Jun 25, 2016 @ 9:16am
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jun 6, 2015 @ 3:49pm
Posts: 4