myspace / Docs /ModItemAppearancePreset.md.html
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
3.82 kB
[*Back to Index*](index.md.html)
Appearance Preset
====
This mod item allows to change the appearance of existing units in the game and create new appearances for custom units. You can choose different parts of clothing for the unit from the dropdown menus and change the colorization for some of the existing assets. However, assets that are part of the mercenaries' appearance cannot be colorized.
Please note that you will be restricted from attaching assets using both female and male animations in the same appearance preset. Doing so will result in errors.
You can import custom clothing assets following the instructions in the [Entity](ModItemEntity.md.html) mod item and the New Imp Merc sample mod.
The most important aspect is to set up the appropriate class of the entity so that it can be recognized by the game and appear in the dropdown for the dedicated part.
Classes
==========
**Male Clothing and Equipment**
Make sure that when you export the entity from Blender, it is set to inherit Male animations. The class is set in the Entity mod item where you can import the asset. After the import, set the class to one of the following depending on the equipment type:
* Body - assets in the dropdown menu have class CharacterBodyMale. Used for Tops.
* Head - assets in the dropdown menu have class CharacterHeadMale. This is the Head without the hair.
* Shirt - the assets in the dropdown menu have class CharacterShirtMale. Not used in the game, use Body for the tops instead.
* Pants - assets in the dropdown menu have class CharacterPantsMale. Used for bottoms and bottom parts.
* Armor - assets in the dropdown menu have class CharacterArmorMale. Applied over the tops, for example Vests.
* Chest - assets in the dropdown menu have class CharacterChestMale. Used for accessories that are placed on the chest, for example Binoculars.
* Hip - assets in the dropdown menu have class CharacterHipMale. Used for accessories that are placed on the hip, such as Medical bags.
* Hat - assets in the dropdown menu have class CharacterHatMale. Hats usually replace the hair of the unit.
* Hair - assets in the dropdown menu have class CharacterHairMale.
**Female Clothing and Equipment**
Make sure that when you export the entity from Blender, it is set to inherit Female animations. The class is set in the Entity mod item where you can import the asset. After the import, set the class to one of the following depending on the equipment type:
* Body - assets in the dropdown menu have class CharacterBodyFemale. Used for Tops.
* Head - assets in the dropdown menu have class CharacterHeadFemale. This is the Head without the hair.
* Shirt - the assets in the dropdown menu have class CharacterShirtFemale. Not used in the game, use Body for the tops instead.
* Pants - assets in the dropdown menu have class CharacterPantsFemale. Used for bottoms and bottom parts.
* Armor - assets in the dropdown menu have class CharacterArmorFemale. Applied over the tops, for example Vests.
* Chest - assets in the dropdown menu have class CharacterChestFemale. Used for accessories that are placed on the chest, for example Binoculars.
* Hip - assets in the dropdown menu have class CharacterHipFemale. Used for accessories that are placed on the hip, such as Medical bags.
* Hat - assets in the dropdown menu have class CharacterHatFemale. Hats usually replace the hair of the unit.
* Hair - assets in the dropdown menu have class CharacterHairFemale.
(insert footer.md.html here)
<link rel="stylesheet" type="text/css" href="Style.css" />
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>