|
Introduction | Index
|
| Model Defines an nwn model |
| Syntax: newmodel [model_name] Properties donemodel [model_name]
|
| Description: The basic object in the mdl format seems to be the model. Each mdl file we have from Bioware represents a single model, and each model has it's own scene graph associated with it (as well as animations and other properties). Models also support inheritance from other models. Each model also has a classification associated with it that specifies the type of model.
|
| Properties: setsupermodel [model_name] [parent_model] [additional_parents...] This sets the parent model(s) from which this model inherits behavior. If there are no parent models the second parameter should be NULL. A child model inherits animations and geometry from it's parent and may override these properties with their own. classification [model_type] This defines the type of the model. Valid types we have seen are: Character, Tile, Effects and Item. All of the creature models have been characters. The Tile and Item models (found in gidy_intlight.mdl and gidy_sun.mdl) are used for the environment in the viewer, but it's easy to imagine their possible uses in the actual game. The spells that have been released are classified as tiles. The Effects class appears in fx_ref.mdl which is reffered to by the spells, but is not a parent of them. setanimationscale [float] From the name I would guess this is a global control on the length of animations for this model. All of the character models use this setting, the tile and item (which aren't animated) do not.
|
| Sections: Geometry - The model's scene graph. Animation - The model's animations.
Introduction | Index
|
Worlds of NeverWinter: http://www.wnwn.net/
This document is not supported by Bioware and should not be taken as an official specification for the NWN model format. It is based on my own experiments with the model viewer and speculations by others in the NWN community. There may be errors or omissions in this document, if you find any please let me know at: sorcerer@wnwn.net. The format may also change before the game is released. Finally I would like to thank the great community on the bioware forum for their contributions to this project.