+1
Answered

Equipment armor and clothing

Stanislav 3 months ago in Inventory updated by Marti (Lead Developer) 3 months ago 5

probably there is some kind of documentation but on the official website, I did not find anything about it. In the new version there is armor that can be equipped directly with the character. How can I do that? If it is possible in more detail, when I used the ORK Framework there was a script that allowed me to equip clothes for a player using UMA. How can this be solved with the help of GC? As I understand it, scripts are not needed here.

Unity version:
Unity 2018.4.17f1 (64-bit)
Game Creator version:
1.1.5
+2

The easy way is to use the inventory module to equip your players with armor

I understand this and use the inventory module. The question is how to make it so that when I equip armor for a player, the armor appears visually on the player. At the same time, it should have a skeleton, as I understand it, so that the animation works correctly. An example is red armor from a module. But I still can’t figure out how it works ....

Answered

Hi Stanislav;

The On Equip and On Unequip actions of each items are called when any item is respectively equipped or unequipped. However, not all games require to visually show an item on the character. That's why we left this as an optional feature.

It is worth noting that there are two types of models you can equip on a character: An object that doesn't deform with the character's mesh (like a sword, hammer, hat, etc...) or models that use the Mesh skin (like armors, shirts, trousers, ...

Either way, the Inventory example scene contains both examples. I don't recall exactly the names, by you just have to call the Attach action or the Skinmesh action, depending on the type of object you want to add onto the character/player.

I'm leaving here the WebGL demo so you can see how this is done. In the Inventory, make sure you install the Inventory Examples and see how it works.

I want to find out exactly how you made the armor model, a skined mesh that you can put on a character. That is, what is the best way to customize a character. What programs? GC with UMA does not work well. Can you tell me a good tutorial?

+1

This is not my field of expertice, but what I did was open the default GC character in Blender and remove all parts I didn't need (head and limbs). Then, modified the structure of the body so it appears bigger, like an armor, with some spikes and so on.

But again, not sure if this is how it should be done. I'm more of a programmer than a 3D artist. Just bear in mind that the character and the armor must use a humanoid rig.