Difference between revisions of "Talk:Creating a Material"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Modelling]][[Category:Textures]]  
 
[[Category:Modelling]][[Category:Textures]]  
 
=={{HL2}} Multiple Skins on a Single Model==
 
=={{HL2}} Multiple Skins on a Single Model==
Creating multiple skins under one model requires the $texturegroup definition in your .qc file following the body.
+
Creating multiple skins under one model requires the $texturegroup definition in your .qc file following the $body.
  
 
'''It must follow the $body definition or else the .qc will simply not compile.
 
'''It must follow the $body definition or else the .qc will simply not compile.

Revision as of 12:19, 5 July 2005

<Half-Life 2> Multiple Skins on a Single Model

Creating multiple skins under one model requires the $texturegroup definition in your .qc file following the $body.

It must follow the $body definition or else the .qc will simply not compile.

$body studio "models/test/test.smd"

$texturegroup skinfamilies

{

{ "test1.vtf" }

{ "test2.vtf" }

}

Your textures can be named anything you wish as long as you've referenced them correctly in the .qc

This information was researched from the Valve Editing Resource Centre forums.