we would like to create a game with character customization and we are now trying to figure out the best approach. Our players should be able to change:
Hair color (texture).
Armor should be of various types and there should be 4-6 armor parts for an armor type (e. g. gauntlets, leggings, helm, pauldrons, breastplate and shield). The armor parts should be meshes (not just textures). You have to handle things like:
Various character sizes.
Movement of the armor with character’s animation.
Coordination of the 3D artists to make “suitable” meshes.
I was thinking about some snapping points on the character mesh, but I couldn’t find any good one, because if we were snapping the armor meshes, for example, to the top of breast, it wouldn’t fit smaller/taller characters etc.
Good idea snapping it to the skeleton!
If we snap a particular piece of armor always right to the middle of a bone, it should fit the character model. If the character will be scaled down or up, the armor could be scaled down and up in the same manner. For example, we can scale the armor in the same rate as the new skeleton size compared to the original skeleton size.
If we also kept the “under armor” parts of the character mesh the same for other races as the original one, we could also save our time - we wouldn’t have to design variations of armor for different races of characters. There will be only male and female variants.
Hair could be snapped to the top of skeleton and scaled according to the overall skeleton size as well.
Changing skin tone, eyes and other stuff should be just about switching material, as you say.
And from the art creation view, only important thing is to tell the 3D guys to create a “base body”, which will serve as a template for any character of any race and to design the armor on top of this character template as well as hair and other meshes, which will be snapped on the character.
When you want to go into large/tall characters, you’ll probably want to set up morphs, and also build your items/hair etc, with those same morphs in mind, so that you can fit them together properly. That gets into the more advanced side of things of course, but it will also give you the best system possible and is a good backbone of a character customization system.
But yeah you are on the right track. If you set things up without the morph targets for now, it’d be a good idea not to get too far into creating everything, and just make the bare bones to get the basics working, as you’ve outlined in your post.
Then once you have it working and are comfortable with it, you can build your morph targets for your characters and then build out all your hair, armor etc. with the proper morphs as well.