Difference between revisions of "Installing template character"

From XStoryPlayer Wiki
Jump to: navigation, search
(Created page with "In this tutorial you will learn how to load and create the template character. ===Steps===")
 
Line 1: Line 1:
In this tutorial you will learn how to load and create the template character.
+
In this tutorial you will learn how to load and create the [[template character]].
  
===Steps===
+
==Steps==
 +
 
 +
<ol>
 +
<li>Re-download the '[[Beta patch]]' using the [[Account manager]] and re-install it. Do this even if the version is the same.<br>
 +
If you already have downloaded the '[[Beta patch]]', delete it first in order to re-download it.</li>
 +
<li>Download the latest version of the '[[Tutorial resource pack]]'. In the '3. Advanced Modding / 1. Creating character' directory you will see the following files:
 +
* <code>pack_character</code>: This directory contains the '[[Template character]]'.
 +
* <code>testini</code>: This directory contains the files that you can use in [[Test mode]].</li>
 +
<li>Copy the <code>pack_character</code> directory to your <code>./pack</code> directory.</li>
 +
<li>Use the [[Filemaker]] to convert the '[[Template character]]' to the game .obj files. Use e.g. this sample script:
 +
<syntaxhighlight lang="cpp">
 +
#define SOURCES  "../pack/pack_character/sources/"
 +
#define RUNTIME  "../pack/pack_character/"
 +
 
 +
maya_auto_copy    = COPY_DIR;
 +
maya_auto_compress = COLOR;
 +
 
 +
Maya scene
 +
{
 +
  src_path = "[SOURCES]";
 +
  run_path = "[RUNTIME]";
 +
  in_file  = "[SOURCES]scenes/char_template/body.ma";
 +
}
 +
 
 +
Compgen compress0 {compress = true;}
 +
</syntaxhighlight>
 +
</li>
 +
</ol>

Revision as of 14:32, 25 January 2015

In this tutorial you will learn how to load and create the template character.

Steps

  1. Re-download the 'Beta patch' using the Account manager and re-install it. Do this even if the version is the same.
    If you already have downloaded the 'Beta patch', delete it first in order to re-download it.
  2. Download the latest version of the 'Tutorial resource pack'. In the '3. Advanced Modding / 1. Creating character' directory you will see the following files:
    • pack_character: This directory contains the 'Template character'.
    • testini: This directory contains the files that you can use in Test mode.
  3. Copy the pack_character directory to your ./pack directory.
  4. Use the Filemaker to convert the 'Template character' to the game .obj files. Use e.g. this sample script:
    #define SOURCES  "../pack/pack_character/sources/"
    #define RUNTIME  "../pack/pack_character/"
     
    maya_auto_copy     = COPY_DIR;
    maya_auto_compress = COLOR;
     
    Maya scene
    {
      src_path = "[SOURCES]";
      run_path = "[RUNTIME]";
      in_file  = "[SOURCES]scenes/char_template/body.ma";
    }
     
    Compgen compress0 {compress = true;}