Jump to content
  • Advertisement
Sign in to follow this  
Sokol

Same model different item

This topic is 4084 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am sorry if this problem has been discussed before, unfortunately I couldn't find anything about it. I made my first game model It's a dwarf but of course it doesn't matter. In every tutorial I was doing, every model had items(such as weapon) "sticked" to it. But let's say that I want dwarf to be PC and I would like to use 10 different types of weapons(they are completly different not only colour) for him 10 different types of armor, and 10 types of helmets. Would that mean that I have to make 10*10*10=1000 models of dwarf with different items??

Share this post


Link to post
Share on other sites
Advertisement
No, generally meshes are made of just the items that go on the dwarf. I.e. there's a model for the sword in the hand, an (animated) model of the shirt, pants, etc.

These are drawn on top of the dwarf, using position/animation information from the base (naked) dwarf mesh.

For, say, a sword, you could attach the sword model to the skeletal animation bones in the hand of the dwarf, and use the same animation data to animate it. Same with the shirt, etc.

Thus, you'd need different versions of the models for each base mesh (i.e. one for an elf, one for a dwarf, x2 if there are male and female models), but you don't need every combination of every item ever.

That would suck.

Share this post


Link to post
Share on other sites
Thank You for your answer now I understand that I don't have to do as much work as I thought. :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!