Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 11/22/26 10:49
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, Martin_HH, EW_bytes), 41,857 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
change skin #292221
10/01/09 09:30
10/01/09 09:30
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline OP
Member
boyax  Offline OP
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
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.

Re: change skin [Re: boyax] #292443
10/03/09 16:11
10/03/09 16:11
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
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

Re: change skin [Re: MrGuest] #292599
10/05/09 04:48
10/05/09 04:48
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline OP
Member
boyax  Offline OP
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
Thanks.. got it.. laugh


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1