Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 1,211 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
animated entities #107520
01/19/07 04:23
01/19/07 04:23
Joined: Dec 2005
Posts: 7
S
sxiong Offline OP
Newbie
sxiong  Offline OP
Newbie
S

Joined: Dec 2005
Posts: 7
I've finished modeling my character, however I want to be able to change different clothings during game play and to do this I was thinking of creating clothings seperately and attaching them to the NUDE human model as an entity.

The human model will have different actions such as walk, run and attack. Is it possible to attach animated clothings as entities onto the human model. So when the character is in walk mode at frame 1, the counter-part of the clothing entity is also at frame 1, when the character is in walk mode at frame 2, the counter-part of the clothing entity is also at frame 2, etc...?? Thanks.

Re: animated entities [Re: sxiong] #107521
01/19/07 11:21
01/19/07 11:21
Joined: Jan 2007
Posts: 183
K
Kinji_2007 Offline
Member
Kinji_2007  Offline
Member
K

Joined: Jan 2007
Posts: 183
Keep the animations on same percentage using code is the easy part. I would think that the hardest thing would be getting the animations right. Although I wouldnt suggest doing it the way you explained.. yes it is very possible. I am programmer with very few skills concerning models and skins so this is only my humble opinion. I would attach small things like hats, bags etc with code. For main clothing I would start off with the base model and then save it with each article of clothing.

model 1 nude
model 2 pants
model 3 shirt
model 4 pants and shirt

The only reason I say this is because of your method. You will need to have the nude model present when doing the animations so to leave the two models together and save you can use easier methods in code. For example check out ent_morph in your manual.

For a bit harder method look up vec_for_vertex

Last edited by Kinji_2007; 01/19/07 11:29.

http://www.geocities.com/carapacedweller/kinjis/Tutorial_Index.html A5 and A6 tutorials <> E3S series "Show me once and I got it, tell me once and I'll think twice."
Re: animated entities [Re: Kinji_2007] #107522
01/19/07 23:11
01/19/07 23:11
Joined: Dec 2005
Posts: 7
S
sxiong Offline OP
Newbie
sxiong  Offline OP
Newbie
S

Joined: Dec 2005
Posts: 7
i also have another question, but I don't want to create a new topic. After I skin the model using the UVW Unwrap in 3D Studio Max, the skin looks good on the model in the PERSPECTIVE viewport. But when I use the MDL Exporter plugin or the Max2MDL plugin created by Malabar and then load the skinned model into MED, the skin appears on the inside of the model - not on the outside.

What is causing this to happen?

Re: animated entities [Re: sxiong] #107523
01/19/07 23:45
01/19/07 23:45
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
Maybe you need to invert normals.

Re: animated entities [Re: demiGod] #107524
01/20/07 00:24
01/20/07 00:24
Joined: Jan 2007
Posts: 1,565
innsbruck, austria
achaziel Offline
Serious User
achaziel  Offline
Serious User

Joined: Jan 2007
Posts: 1,565
innsbruck, austria
hm, because of your questio concernig the clothes: you already have your nude model? if yes, don't animate it, but create already the clothes for it. animate your model with clothes now and then delete your nude model. you should have now just the animated clothes. save them (for security) and then delete for example the trousers. now you have an animated t-shirt (for example). now just skin it, save it and then open the file with both clothes again. deletethis time the t-shirt and skin the trousers and save them. for me, it works...maybe you should have a try.


Yeah, but... Who is Lu?

Gamestudio download | chip programmers | 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