Talk:Creating a Material: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[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.
Line 21: Line 20:
This information was researched from the [http://http://www.chatbear.com/board.plm?b=4989&v=flatold&g=21 Valve Editing Resource Centre] forums.
This information was researched from the [http://http://www.chatbear.com/board.plm?b=4989&v=flatold&g=21 Valve Editing Resource Centre] forums.
:Would that let you have more than one material, though? All the current Source models have the same material whether it's a plastic helmet or bare flesh. --[[user:TomEdwards|TomEdwards]] 05:34, 5 Jul 2005 (PDT)
:Would that let you have more than one material, though? All the current Source models have the same material whether it's a plastic helmet or bare flesh. --[[user:TomEdwards|TomEdwards]] 05:34, 5 Jul 2005 (PDT)
::Not sure about that. This could all go in its own article, or added on to an article in the Modeling category. There is no textures category.-[[user:mungo|mungo]]

Revision as of 08:07, 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.

Would that let you have more than one material, though? All the current Source models have the same material whether it's a plastic helmet or bare flesh. --TomEdwards 05:34, 5 Jul 2005 (PDT)
Not sure about that. This could all go in its own article, or added on to an article in the Modeling category. There is no textures category.-mungo