You got two options,
(Easy)
1) Compile the models with multiple skins, and change the objects
m_nSkin when you want to change skins

(Hard)
2) In the client side DrawModel() code, use the
modelrender->ForcedMaterialOverride function to change thar skins.


On Sat, 29 Jan 2005 18:45:02 +0100, AiMaPpEuR AiMaPpEuR
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to change the material of a model  while playing.
> I want to make a suit that make the player's weapons like that the model in
> the hardware test map.
> I looked through IMaterial and IMaterialSystem classes to check if I could
> change it, but I can't.
>
> Thanks in advance, Louka Outrebon.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to