Creating a customizable prefab

From UMAWiki
Revision as of 17:43, 1 September 2017 by 107.77.87.110 (talk) (Created page with " Often, a developer will want to pregenerate a character, and place that pregenerated character into the scene. This is a simple procedure in DCS once you have the basics. Fi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Often, a developer will want to pregenerate a character, and place that pregenerated character into the scene. This is a simple procedure in DCS once you have the basics.

First step is to create a place to store your character definitions. Characters are stored as recipes. For ease of use, we will store these definitions in resources.

  • Create a Resources folder if you do not already have one.
  • Create a folder inside the resources folder, and give it a name. We'll name ours CharacterRecipes

Next, create and save a character.

  • Start up the "UMA DCS Demo - Simple Setup", and design your character:
    • Add wardrobe items
    • Set colors
    • Change DNA
  • Select the UMADynamicCharacterAvatar in the scene Hierarchy pane
  • Select "UMA/Load And Save/Save DynamicCharacterAvatar(s) Text (optimized)" from the menu, and save your character to the CharacterRecipes folder we created above. I named by character "Dwarf":

File:Example.jpg