change skin

Posted By: boyax

change skin - 10/01/09 09:30

Hi guys,

I have here my player model w/c is consists of two parts:
1. player model
2. bike

So, the model itself consists of two skins.
How I could change the skin of it at runtime referring only to skin1 or skin2?

I tried ent_morphskin but it would just point this to the player entity as a whole...

Thanks for the help.
Posted By: MrGuest

Re: change skin - 10/03/09 16:11

heya, have a look at
Code:
ent_setskin(ENTITY*,BMAP*,var num);

ent_morphskin is used for duplicating a skin for a different entity so setskin isn't applied to all models

hope this helps
Posted By: boyax

Re: change skin - 10/05/09 04:48

Thanks.. got it.. laugh
© 2024 lite-C Forums