Wear armor or boot

Discussion about everything. New games, 3d math, development tips...
Post Reply
ttom
Posts: 43
Joined: Tue Aug 26, 2003 3:43 am
Location: Taiwan

Wear armor or boot

Post by ttom »

Dear all:
Any one had a idea about this topic. I am a new one to this. In the 3D RPG the character need to change the armor of boot.
sorry for me poor english
AssiDragon
Posts: 158
Joined: Wed Apr 28, 2004 11:03 am
Location: Hungary
Contact:

Post by AssiDragon »

...err...what is the question? lol :D
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

i believe ttom is asking for a way to have a player model change the armour they are wearing, which is something most if not all new RPG's support. I guess you would use a method similar to attaching weapons to a bone, but you would also need some way to deform the mesh of the armour
ttom
Posts: 43
Joined: Tue Aug 26, 2003 3:43 am
Location: Taiwan

Post by ttom »

thanks to Masdus to define my question. i found to attach the weapon to bone is very simple. but attach the armor is another story.
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

i'm also working on this problem. Its not too hard to attach the armor using a similar method to the weapon, but then it will just stay in place. i Think the armor needs to be animated as well, then play both animations at once.

The boots are easier i think. Make each boot a seperate model and attach each one to a bone in the foot. Hopefully this wiil mean that each boot will move when the foots does.

Now that i think about it this could be used for the armor as well. Divide the armour up into logical part so that each part can be attached to a static part of the body, then each part should move properly using the bodies animations.

Using this scheme you would have a breats plate, should pads etc as seperate models. Probably hard to understand without a picture.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

We did a test program that accomplished this, although your model can have problems, like major tearing.

What we did was made and ms3d model that was just joints. The joints were animated.

Then we made pieces for each body location: thigh, head, upper arm, lower arm, etc... We then put on or popped off the pieces as necessary.

I guess it could be improved if you did some sort of vertex welding.
Crud, how do I do this again?
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

Saigumi, would it be possible to use layers of models instead of changing the base player model. This way the player model could be made as a complete model so the tearing problems wouldn't occur.

Armour and other item models could then be attched to the player model on a higher layer so that they mask anybody parts that are under the new models. As long as the new models are well designed and properly atttached to the player model i think this should work fairly well.

Of course if you start adding more functionality like that found in current mmorpg, like changing chararcter height facial features and so forth a more compilcated and robust system would be need.

I do plan to do some testing for this, and hopefully produce a good system that others can reuse as it seems to be a recuring request. However its not at the top of my list of projects and i'm currently unable to do any coding due to other demands.
ttom
Posts: 43
Joined: Tue Aug 26, 2003 3:43 am
Location: Taiwan

Post by ttom »

Really thanks to saigumi to provide his way. Our team is use the X file format to do this system. So i don't have any idea to do this
thanks
Guest

Post by Guest »

Why dont u change texture when u change the armor level?
Post Reply