Veröffentlicht am Schreib einen Kommentar

MMORPGKit … Characters and visual equipment.

This tutorial is about the MMORPG Kit made by Suriyun and how to get the Polygon Fantasy Characters from Synty Studios i’m using to show their equipped weapon…

Starting with the character…i’m using the Female Druid Prefab for my tests inside the kit right now.
Using the Druid-Prefab from the Fantasy Character Set i created my own Prefab

To be able to equip an item and let it show, you need to define an equip slot.
To create one search through your Character Stucture till you find the right spot (for a weapon one of the hands)

I searched for the “Hand_R” of the character structure and created an empty object and named it “RWeaponSocket”

To be sure that the weapon you want to equip is shown like you want drag the model into the scene, attach it to your socket, reset it’s position and adjust the rotation and position of you socket (not of the weapon!)

Delete the weapon out of the model and apply the changes to the prefab so the Socket-Item is saved.

Now you need to create the named equipment socket that your item/weapon will be referred to. It is defined inside the Character Model (Script) attached to your Character Model.

You need to define the Equipment Container.
Select a name for your EquipSocket (should be the same for all character models that should equip at this position)
I named it “WeaponR” for the right and “WeaponL” for the left hand.
Linked to this should be the Transform you created with your new Elements you attached and adjusted to the model in the previous step.

After this you need to create your new weapon…
If you follow the used structure you need a folder inside you assets ->GameData->Resources->Items->Weapons
Add a new item there

Set the Item Type to Weapon and adjust the settings to you liking.

To be able to be displayed you need to define “Equipment Models” for your item… here you will fill in the equip socket you created inside your character script before and select wich model should be shown.

That should be it…

Just a footnote: i’ve run into problems with mismatching scaling on the models… wich resulted in the weapons being so small they weren’t recognisable … they showed but i was not able to see them and so i thought they weren’t showing at all.. so if you follow this little guide and you weapons won’t show … check the scales 😉

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.