MakeGame

The MakeGame translator is used to load a game plug-in.

Loading MakeGame

To load the mgame.addin plug-in using Alias Preferences...

If the path to the OpenAlias games area is added to the plug-in Search path, the mgame.addin plug-in is available in the Plug-in Manager window.

Tip: The Plug-in Manager window also shows all other game-related plug-ins.

To add the Games area:

  • Select Preferences Edit Alias preferences.

  • Open the Plug-in Options section of the Alias Preferences window, and type the following in the Search Path box:
    $GAMES_LOCATION/plugins/lib

  • Click the Save button at the bottom of the Alias Preferences window.

  • Exit and restart Alias.

  • After you restart Alias, select Plug-in Manager from the Utilities menu to open the Plug-in Manager window. The Plug-in Manager window now includes the mgame.addin plug-in.

    To load the mgame.addin plug-in from the Plug-in Manager window:

    Click the box in the Load/Unload or Auto/Load column beside mgame.addin. A check mark is displayed.

    The Utilities menu is updated to include the MakeGame option.

    To load the mgame.addin plug-in using the File Browser...

    1. Select Plug-in Manager from the Utilities menu to open the Plug-in Manager window.

    2. Click the Plug-in Browse... button at the bottom of the Plug-in Manager window to open the File Requestor.

    3. Click Show List to display a list of available plug-ins and select the mgame.addin icon from the File Lister, or type mgame.addin in the File box.

    4. Click the Install Plug-in button.

    5. The Plug-in Manager window now includes the mgame.addin plug-in. The Utilities menu is updated to include the MakeGame option.

      To open the MakeGame translator window:

      1. Select Utilities MakeGame- to open the Make Game translator window.

        Make Game translator window

        The Make Game option box is partitioned into different blocks of information that enable you to set up the working environment for the translators to use. There are five blocks that can be selected: GENERAL, GEOMETRY, TEXTURES, ANIMATION, and PATHS. This allows the size of the option box to remain manageable.

        Use preset configuration

        In this section, you can select predetermined game platforms and change their settings to suit your needs. Depending on which game platform you select, the Make Game translator window default settings change to reflect your choice.

        If you change options and then select another game platform, the options for the previously selected game platform are reset to the respective defaults.

        General Properties

        Verbose

        These options are used to control how messages are displayed while the dag tree is processed into the internal format used for the Dt translators. If you select Off, no messages are displayed.

        Gui

        You can specify if you want to use the Gui interface for the Dt Translator.

        Reload DSO

        Click the On radio button to reload the Dt Translator or keep it in memory for the next time it is run.

        Scene Name

        This box displays the name of the scene.

        Options

        This box displays the options supplied to the Dt Translator. See the specific translator for available options.

        Geometry Properties

        Selection

        Enables you to specify what portions of the geometry in the current scene are to be exported.

        All exports all visible, non-templated geometry in the current stage.
        Picked exports objects found on the pick list.
        Active exports objects found on the current pick list, and all objects found below them in the dag tree.

        Hierarchy

        You can specify the hierarchy used to step through the dag tree, and how the final coordinate space is displayed by selecting one of these radio buttons:

        World There is no hierarchy, and all vertices are displayed in world space.
        Flat The hierarchy is compressed to one level. Transformation are displayed in world space, and vertices in local space.
        Full The hierarchy is used as set in the dag tree. Transformations are displayed in local space, and vertices in local space.

        Tesselation

        You can define the method of tesselation of NURBS surfaces in the dag tree by selecting one of these radio buttons.

        None the tesselation operation defaults to triangles (three-sided polygons are created).
        Tris the tesselation operation creates three-sided polygons.
        Quads the tesselation operation creates four-sided polygons.

        Scale

        This is the scaling factor used to set the model's vertex coordinates to a reasonable range for the integer space of the game box you have chosen.

        Textures Properties

        Sample Tex

        Enables you to override the default behavior of forcing the UV repeat (surface placement shader options) to 1.

        Inline Texture

        Lets you override the default behavior of doing an evaluation for the generation of the texture image to use. It copies the texture file as is for the final output.

        X Texture

        Lets you select the size of the final texture images that will be output for procedural textures. All of the texture files will be the same size.

        Y Texture

        Lets you select the size of the final texture images that will be output for procedural textures. All of the texture files will be the same size.

        Animation Properties

        Use Metacycle data

        If set to Yes, the range of animation is automatically defined to use the settings in the MetaCycle window (Animation MetaCycle). This setting is usually used in command line mode; in GUI mode, the options presented by the translators override any range set here.

        If set to No, the Start, End and By sliders (shown above) are displayed. Using these sliders, you can manually select the range of animation you want.

        Note on the MetaCycle window

        The MetaCycle window is used to separate one or more animated models into the following components:

        Characters Characters represent an animated entity in the scene or interactive piece. A character's geometry is specified as a set specified in a stage.
        Snippets Snippets represent a single basic movement or cycle that a character may perform, such as a walk cycle. A snippet is specified by a character's range of frames in a specified stage.
        Transitions Transitions are procedurally defined blends that link snippets together. Transitions can be specified in the MetaCycle window. See Animation MetaCycle window... for more information.

        View Frames

        If you select On, the view is updated for view frame changes.

        Paths Properties

        Translator

        This box displays the name of the Dt Translator found in the $DT_PLUGIN_LOCATION, $ALIAS_LOCATION/ODS/Games/Dtplugins directory, or one specified in the $GAMES_LOCATION/Dtplugins directory.

        Output Directory

        This is the name of the export directory. If you do not change the directory name, the current directory, or the one specified by DT_EXPORT_DIR, is used.





        aliasdocs@aw.sgi.com
        Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.