Swappable Mesh Model Profile

A swappable mesh model profile contains all of the information about a swappable mesh model so that the character editor and equipment can properly enable or disable the correct meshes.

Creation

To create a swappable mesh model profile, find (or create) the GameName/Resources/GameName/SwappableMeshModelProfile folder in the project tab and right click. Choose Create > AnyRPG > SwappableMeshModelProfile.

Properties

Swappable mesh model profiles, contain one property, Model Options, with the following fields.

NameDescription

Mesh Groups

Group Defaults

Mesh Group Properties

Mesh group properties contains a list of mesh group configurations, with the following fields.

NameDescription

Group Name

The name of the group that should be shown in the character creator.

Hidden

If true, the player will not see this group in the character appearance editor.

Optional

If true, the player can choose to not display any meshes from this group.

Display As

List Options should be displayed vertically as text with an optional image beside it. Grid Options should be displayed as a grid of images, with no text.

Hides Group

If this field is not empty, and any mesh from this group is chosen, the mesh group named in this field will be disabled and not shown on the character. This can be useful if you want (for example) a helmet to hide hair.

Meshes

A list of Mesh Options.

Mesh Options

Defines the friendly (display name) of a mesh, and the name of the GameObject the mesh is located on.

NameDescription

Display Name

The friendly name of the mesh that should be shown in the character editor.

Icon

An image that will be shown in the character editor for this option.

Mesh Name

The name of the GameObject the mesh is attached to.

Group Default Properties

Group default properties define which option should be active for which group when no other option is chosen. These are required so that some mesh is showing, instead of all meshes being disabled.

NameDescription

Group Name

The name of the Option Group that this default applies to.

Option Name

The friendly name of the mesh option that should be visible for the group.

Next Steps

Last updated