Difference between revisions of "Talk:Creating a Material"

From Valve Developer Community
Jump to: navigation, search
Line 8: Line 8:
  
 
''$texturegroup skinfamilies
 
''$texturegroup skinfamilies
 +
 
''{  
 
''{  
 +
 
''{ "test1.vtf" }  
 
''{ "test1.vtf" }  
 +
 
''{ "test2.vtf" }  
 
''{ "test2.vtf" }  
 +
 
''}  
 
''}  
  

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.