Difference between revisions of "Creating a customizable prefab"

From UMAWiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 17:43, 1 September 2017

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