In the QC file, add something like these lines (taken from our flag model
with 3 skins)
$texturegroup skins
{
{ "unitedstates.bmp" }
{ "vietnam.bmp" }
{ "unowned.bmp" }
}
The first texture in the group is the one that is referenced in your
modelling package. The remaining ones are the ones to replace them
with. See the Modelling for Half-Life word doc that came with the SDK for
more info on the format.
To change the skin, just set pev->skin for your weapon. You may also have
to send another animation to get it to appear (like you do with pev->body
in the 2.2 SDK, sorry I'm not sure about that one, I only change bodies in
our mod for the view models, not skins ;) )
Rob Prouse
http://www.tourofdutymod.com
At 04:57 PM 22/06/2002 -0400, you wrote:
>I am having problems with multiple skins on a view model. My problems
>include compiling (the big one) and coding for them. Any help would be
>appreciated.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders