# Documentation

\ <mark style="color:blue;">**Basic Modular Mesh Pawn example**</mark>
----------------------------------------------------------------------

\
Simple prefab. Drop it in a level, assign a mesh to as many skeletal mesh components as you wish and you have yourself a basic modular character.<br>

<figure><img src="https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FmefbSM26QhzQhnG9UhN4%2F0.png?alt=media" alt=""><figcaption></figcaption></figure>

***

## <mark style="color:blue;">**Advanced Modular Character Template**</mark>

This template comes with facial morph preview interface and equipment manager which compares items compatibility with one another and automatically equips suitable meshes

![](https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FcKxO7Mdac9e6LXNVuEoR%2F1.png?alt=media)

Equipment setup is done through a **Data table**, enabling easy modification of existing pieces or adding new equipment without needing to modify the code.

<figure><img src="https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2F8RhbWkjCLdSKmawif5LL%2F2.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

***IMPORTANT:** This system is built to work only with skeletal mesh components that are skinned to a default epic humanoid skeleton!*

In order to add new items, add a new Data table entry, pick an **item slot** and assign suitable skeletal meshes.

![](https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FqpFBJSIV2TSgt6WCgN5z%2F3.png?alt=media)

In this example, we created a torso item called "MaleWizardDress". It's a mesh assigned to a **Chest** slot. This means it has to have a **default mesh** and a **Short sleeve variant.**

![](https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FH33pT3s95VaAe4WbMxgH%2F4.png?alt=media)

This setup uses "special settings" to decide if it needs to substitute standard mesh component with a modified version to better match the setup.

![](https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FT2g4KolFSljtJdw8acPX%2F5.png?alt=media)

Each "Special Setting" is a condition check that automatically equips the character with a alternative mesh variant depending on the said "special setting".<br>

<figure><img src="https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2FrPNbUb8KXa8GyTb8RtRi%2F6.png?alt=media" alt=""><figcaption></figcaption></figure>

As an example, we have **Armor Gloves** item that uses this "special setting" to force all other chest pieces to switch into a **short sleeve variant** when equiped\
\
This means, **Chest** items are required to have a **Short sleeve variant** which would automatically loads when the "**Force Short Sleeves**" setting is called by any item. If no variant mesh is assigned, nothing will be loaded once the variant call has occurred. If your mesh is already short sleeved in its "default" form, then you need to use the same mesh on both "default" and as a "short sleeved" variant.

<figure><img src="https://2172137675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIDY48Kh4vjaW2sp9MS3a%2Fuploads%2F1uowMpMRNO78VVs9jne2%2F7.png?alt=media" alt=""><figcaption></figcaption></figure>

Any "Special Setting" can be called by any item. As long as there is at least 1 item making the special setting request, that particular variant will be automatically used.

### **Brief Explanation of all the "Special settings"**

*Force Wide Hips -* tells **belt slot** items to switch into a bigger belt variant to work with torso pieces which are bigger around the hips such as robes or dresses

*Force Short Sleeves -* switches all **chest** meshes into Short sleeve variants

*Force* *Compact Hat Variant -* We use this setting to change **Rogue Hoods** into more compact and better fitting versions to go with **cloak** and **Shoulderplates** when required.

*Force Shorts -* Switches **Pants** slot meshes into shorts variant

*Force No Hair -* Hides **hair** slot entirely.

*Force Hair Helmet Variant -* used by **helmet** items when default **hair** mesh doesn't fit into the helmet

*Force Cloak Variant -* We use this setting to switch to a more bulky cloak to that is more compatible with bigger torso items, such as Heavy armor chest piece

*Hide Underwear -* Hides the underwear mesh when called. We use this setting for all **Pants**

*Hide Bra -* Only works for female items. We use it with all **Chest** items to avoid overlapping.<br>

**Input**

Press \[ F ] to bring up customization menu

Movement is default \[W,S,A,D + Space]
