Difference between revisions of "Model"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
m (Related Tutorials: Updating links)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Models are the smallest pieces in Art creation. They make up a big part of every visible entity in the game. The builder consolidates models, along with other files, into a complete visible package which is then seen in the game world.
+
Models are ordinary, textured, static or animatable 3D Meshes. They make up a big part of every visible entity in the game. The builder consolidates models, along with other files, into a complete visible package which is then seen in the game world.
  
A Model belongs to the category: [[Art Resources]]
+
A Model is an [[Art Resources|Art Resource]].
  
 
== Overview ==
 
== Overview ==
Line 10: Line 10:
  
 
One model may be used in many different places and contexts. Changing a single model can cause multiple changes in a game world.
 
One model may be used in many different places and contexts. Changing a single model can cause multiple changes in a game world.
 +
 +
'''Note:''' A Model is an intermediate resource, which are used as part to design entities you see in game. To create or change the design of existing entities, based on existing Models, go straight to [[Design]].
 +
 +
=== Basic Integration ===
 +
 +
{| border="3" cellpadding="5" cellspacing="0" align"left"
 +
|- style="background-color:white;"
 +
| colspan="5" rowspan="2" style="border-right:3px solid black;background-color:#D3CFA0" align="center" |[[MSH|MSH File (Mesh Data)]]
 +
| align="center" style="border-right:2px solid black; background-color:#FFAD6B"|[[Textureformats|Diffuse]]
 +
| align="center" style="border-right:2px solid black; background-color:#FFAD6B"|[[Textureformats|Specular]]
 +
| align="center" style="border-right:2px solid black; background-color:#FFAD6B"|[[Textureformats|Normal]]
 +
| align="center" style="background-color:#FFAD6B"|[[Textureformats|Tint]]
 +
|-
 +
| colspan="4" align="center" style="background-color:#FFAD6B"| [[MAO|MAO Material File]]
 +
|- style="background-color:#E0E0E0;font-weight:bold;text-align:center;"
 +
| colspan="9" width="700pt" height="50pt" align="center" |
 +
↑↓
 +
[[MMH|MMH/PHY Model File]]
 +
↑↓
 +
|- style="background-color:white;"
 +
| colspan="3" align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[ItemVariations.xls|ItemVariations.XLS]] [[2DA|(2DA)]]
 +
| colspan="2" align="center" style="border-right:3px solid black; background-color:#E0C0C0" |[[APR_base.xls|APR_base.XLS]] [[2DA|(2DA)]]
 +
| colspan="2" align="center" style="border-right:3px solid black; background-color:#BD9970" |[[Placeables.xls|Placeables.XLS]] [[2DA|(2DA)]]
 +
| colspan="2" align="center" style="background-color:#C0C0E0" |[[Model Placement|Model]] [[Resource palette|(ResourcePalette)]]
 +
|-
 +
| align="center" style="background-color:#FFFFE0" |[[ItemVariations.xls|Cloth_var.,]]
 +
| align="center" style="background-color:#FFFFE0" |[[ItemVariations.xls|Longbows_var.,]]
 +
| align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[ItemVariations.xls|etc.]]
 +
| colspan="2" rowspan="3" align="center" style="border-right:3px solid black; background-color:#E0C0C0" |[[Creature|Creature: Appearance]]
 +
| colspan="2" rowspan="3" align="center" style="border-right:3px solid black; background-color:#BD9970" |[[Placeable|Placeable: Appearance]]
 +
| colspan="2" rowspan="6" align="center" style="border-bottom:2px solid black; background-color:#C0C0E0" |[[Level editor|Level Editor]]
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[2DA base.xls|(M)2DA_base.XLS worksheet ref]]
 +
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[BITM_base.xls|BITM_base.XLS worksheet ref by ID]]
 +
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[Item|Item: Base Item Type]]
 +
| colspan="2" rowspan="3" align="center" style="border-right:3px solid black; border-bottom:2px solid black; background-color:#E0C0C0" |[[Creature|Creature "*.utc"]] [[Resource palette|(ResourcePalette)]]
 +
| colspan="2" rowspan="3" align="center" style="border-right:3px solid black; border-bottom:2px solid black; background-color:#BD9970" |[[Placeable|Placeable "*.utp"]] [[Resource palette|(ResourcePalette)]]
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black; background-color:#FFFFE0" |[[Item|Item: Itemvariation]]
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black; border-bottom:2px solid black; background-color:#FFFFE0" |[[Item|Item "*.uti"]] [[Resource palette|(ResourcePalette)]]
 +
|-
 +
| colspan="3" align="center" style="border-right:3px solid black"|'''Game (as Armour/Cloth/etc)'''
 +
| colspan="2" align="center" style="border-right:3px solid black"|'''Game (as Creatures/NPC's/etc)'''
 +
| colspan="2" align="center" style="border-right:3px solid black"|'''Game (as interactive Level Layout)'''
 +
| colspan="2" align="center" |'''Game (as static Level Layouts)'''
 +
|}
 +
 +
 +
These are the basic dependencies a model got with the Game, in its forms, where each entry links directly to the next. The Level Editor gets direct access to any Model, where the others are listed in [[2DA|2DA's]]. Where the [[2DA|2DA's]] are the place to begin listing any new Items.
 +
<!-- At least to my observations!! -->
  
 
== File Formats ==
 
== File Formats ==
Line 19: Line 74:
 
Bioware made models are stored in the Dragon Age file system's [[ERF]] files. They all share a [[Naming conventions|Naming Convention]].
 
Bioware made models are stored in the Dragon Age file system's [[ERF]] files. They all share a [[Naming conventions|Naming Convention]].
  
=== Creature models ===
+
=== Textures ===
  
*[[APR_base.xls]] [[2DA]]
+
*[[Textureformats]] in DAO
  
=== Materials ===
+
== Modding / Creation ==
  
*[[Textureformats]] in DAO
+
Creating or Modding a Model can be done in multiple ways. A common activity in modding is retexturing an existing model. However, entirely new Models can also be created. Custom model import is possible by placing the MMH and all custom files referenced by the MMH into your module's override folder. These files would include any custom [[MAO]] files with their associated DDS files and the [[MSH]] and [[PHY]] files.
  
=== Props and placeables ===
+
See the table above, to work out which dependency is needed to gain the desired endresult. When the goal is to create a Sword, the dependency for a Model has to made with the [[ItemVariations.xls]] in a 2 way connection. In this case, the Itemvariation inquires the Filename and you give the Model the Filename. Bear in mind that such example isnt easily applied to anything, but each 2 items have to have the connection somewhere.
  
*[[placeables.xls]]
+
Many hardcoded conventions apply, which is best found out individually. On other pages, or by learning.
  
== Modding / Creation ==
+
In any case, once the new Model is available to be applied in the Toolset and for the Designer, you should get carried on over to the [[Design]] Portal. This also accounts for any Resource already in use by the Single Player campaign.
  
Creating or Modding a Model can be done in multiple ways. A common activity in modding is retexturing an existing model. However, entirely new Models can also be created. Custom model import is possible by placing the MMH and all custom files referenced by the MMH into your module's override folder. These files would include any custom [[MAO]] files with their associated DDS files and the [[MSH]] and [[PHY]] files.
+
=== Meshes ===
  
 +
*Model Import/Export for gmax/3dsmax: see http://social.bioware.com/project/2336/ (Fully featured Model Import Export)
 
*Model Import: see http://social.bioware.com/project/218/ (Converts game resource files into a readable format by external Modelling Applications. Tutorial needed)
 
*Model Import: see http://social.bioware.com/project/218/ (Converts game resource files into a readable format by external Modelling Applications. Tutorial needed)
*Model Export for 3dsmax: see http://social.bioware.com/project/563/ (Works for static Models, soon to work for Animated Models and Animations. Tutorial needed)
+
*Model Export for 3dsmax: see http://social.bioware.com/project/563/ (Works for static and animated Models, soon to work for Animations. Tutorial needed)
 
*Model Export for Blender: see http://social.bioware.com/project/899/ (Able to mod Meshes, Tutorial needed)
 
*Model Export for Blender: see http://social.bioware.com/project/899/ (Able to mod Meshes, Tutorial needed)
  
See Related Tutorials for workflows.
+
=== Materials ===
  
== Related Tutorials ==
+
*Model Import/Export for gmax/3dsmax: see http://social.bioware.com/project/2336/ -custom material type accessible within max material editor
 +
*[[Material editor]] - Part of the Toolset, and will create [[MAO]] files.
 +
*Model Export for 3dsmax: see http://social.bioware.com/project/563/ - which also may generate Material [[MAO]] by demand.
  
*[[Tutorial: Adding a Custom Model to Toolset]]
+
See Related Tutorials for workflows.
*[[Tutorial: Reskinning an Item]]
+
*[[Tutorial: Creating a custom placeable from a model]]
+
  
 +
== Related Tutorials ==
  
 +
* [[Adding a custom model to the toolset tutorial]]
 +
* [[Creating a custom placeable from a model tutorial]]
 +
* [[Reskinning an item tutorial]]
  
-------
+
== See also==
See also:
+
  
 
*[[Art]] --Dragon Age Game Art
 
*[[Art]] --Dragon Age Game Art
 
*[[Model list]] --For a list of Models placable in the Level Editor. Static Models.
 
*[[Model list]] --For a list of Models placable in the Level Editor. Static Models.
*[[Vegetation]] --For a list of Vegetation models placable in the Level Editor. Static Models.
 
  
 
[[Category:Art resources]]
 
[[Category:Art resources]]

Latest revision as of 13:30, 23 February 2012

Models are ordinary, textured, static or animatable 3D Meshes. They make up a big part of every visible entity in the game. The builder consolidates models, along with other files, into a complete visible package which is then seen in the game world.

A Model is an Art Resource.

Overview

A Model is made up of a collection of files which define its shape, material, and other important information. These are created using external modelling applications such as 3DSMax or Blender which then export information into a game-readable Format. Models can be static, or animated.

The only editor that makes direct use of them is the level editor, but things like creatures and placeables will make use of them indirectly via 2DA definitions.

One model may be used in many different places and contexts. Changing a single model can cause multiple changes in a game world.

Note: A Model is an intermediate resource, which are used as part to design entities you see in game. To create or change the design of existing entities, based on existing Models, go straight to Design.

Basic Integration

MSH File (Mesh Data) Diffuse Specular Normal Tint
MAO Material File

↑↓ MMH/PHY Model File ↑↓

ItemVariations.XLS (2DA) APR_base.XLS (2DA) Placeables.XLS (2DA) Model (ResourcePalette)
Cloth_var., Longbows_var., etc. Creature: Appearance Placeable: Appearance Level Editor
(M)2DA_base.XLS worksheet ref
BITM_base.XLS worksheet ref by ID
Item: Base Item Type Creature "*.utc" (ResourcePalette) Placeable "*.utp" (ResourcePalette)
Item: Itemvariation
Item "*.uti" (ResourcePalette)
Game (as Armour/Cloth/etc) Game (as Creatures/NPC's/etc) Game (as interactive Level Layout) Game (as static Level Layouts)


These are the basic dependencies a model got with the Game, in its forms, where each entry links directly to the next. The Level Editor gets direct access to any Model, where the others are listed in 2DA's. Where the 2DA's are the place to begin listing any new Items.

File Formats

Models are principally defined using the following two file formats: MMH and MSH

A Model's Material is defined in a MAO file which includes a list of Textures, in DDS format, used in the material.

Bioware made models are stored in the Dragon Age file system's ERF files. They all share a Naming Convention.

Textures

Modding / Creation

Creating or Modding a Model can be done in multiple ways. A common activity in modding is retexturing an existing model. However, entirely new Models can also be created. Custom model import is possible by placing the MMH and all custom files referenced by the MMH into your module's override folder. These files would include any custom MAO files with their associated DDS files and the MSH and PHY files.

See the table above, to work out which dependency is needed to gain the desired endresult. When the goal is to create a Sword, the dependency for a Model has to made with the ItemVariations.xls in a 2 way connection. In this case, the Itemvariation inquires the Filename and you give the Model the Filename. Bear in mind that such example isnt easily applied to anything, but each 2 items have to have the connection somewhere.

Many hardcoded conventions apply, which is best found out individually. On other pages, or by learning.

In any case, once the new Model is available to be applied in the Toolset and for the Designer, you should get carried on over to the Design Portal. This also accounts for any Resource already in use by the Single Player campaign.

Meshes

Materials

See Related Tutorials for workflows.

Related Tutorials

See also

  • Art --Dragon Age Game Art
  • Model list --For a list of Models placable in the Level Editor. Static Models.