Difference between revisions of "ItemVariations.xls"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Layout)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This [[2DA]] lists variant models for items.
+
__NOTOC__
 +
{| style="float:right;"
 +
|-
 +
| {{Infobox items}}
 +
|-
 +
|
 +
{| align="right" border="2" cellpadding="5" cellspacing="0" align"left"
 +
|+'''Integration'''
 +
|- style="background-color:white;"
 +
| align="center" width="300pt" style="background-color:#E0E0E0" |'''[[Item|Item (*.uti) Properties]]'''
 +
|-
 +
| align="center" |''(Enable Variation)''
 +
|-
 +
| align="center" style="background-color:#C0C0E0" |'''↑↓ ItemVariations.XLS ↑↓'''
 +
|-
 +
| align="center" |''(Find Model File)''
 +
|-
 +
| align="center" width="300pt" style="background-color:#E0E0E0" |'''[[Model|Model Files in the Filesystem]]'''
 +
|}
 +
|}
  
There is a worksheet for each type of item that has variant models.
+
This [[2DA]] lists variant [[Model|models]] for [[Item|items]].
 +
 
 +
The different worksheet's are associated with the "Base Item Type" when defining an [[Item]]. The contents of each enable the particular "Item Variation" of said [[Item]], while they also refer to the [[Model|Model's]] filename via 3 strings which are joined with a prefix and suffix to find the actual file. ''(see: [[Naming conventions#Model File Naming Convention|Model File Naming Convention]])''
 +
 
 +
Some Item Types are defined with other [[2DA|2DA's]], and are not listed here. This is only for [[Item|Items]] that can have variant models.
 +
 
 +
== The different worksheets ==
  
The worksheets are:
 
 
*mace_variation
 
*mace_variation
 
*greatsword_Variation
 
*greatsword_Variation
Line 42: Line 66:
 
*dog_collar_variation
 
*dog_collar_variation
 
*dog_warpaint_variation
 
*dog_warpaint_variation
 +
 +
== Bug when using M2DA ==
 +
 +
When extending (most certainly) all of these 2DA's via M2DAs, and giving ID Ranges above 255, a bug occurs when trying to use an Item based on a Variation in game. It may also crash the Toolset when equiping that Item to an NPC. See [[Bug: High M2DA ID ranges might work in the toolset, but not in game|Bug report]].
 +
 +
== Layout ==
  
 
Each of these worksheets has the same set of columns:
 
Each of these worksheets has the same set of columns:
  
 
{{2da start|<itemtype>_variation}}
 
{{2da start|<itemtype>_variation}}
{{2da column|LABEL|string|}}
+
{{2da column|LABEL|string|Name as displayed in the Toolset}}
{{2da column|MODELTYPE|string|{{undocumented}}}}
+
{{2da column|MODELTYPE|string|First of 3 Strings of assigned Model [[MMH]] File.  ''[MainClass]_<b>[MODELTYPE]</b>_[MODELSUBTYPE][MODELVARIATION]_[LOD].MMH''}}
{{2da column|MODELSUBTYPE|string|{{undocumented}}}}
+
{{2da column|MODELSUBTYPE|string|Second of 3 Strings of assigned Model [[MMH]] File.  ''[MainClass]_[MODELTYPE]_<b>[MODELSUBTYPE]</b>[MODELVARIATION]_[LOD].MMH''}}
{{2da column|MODELVARIATION|string|{{undocumented}}}}
+
{{2da column|MODELVARIATION|string|Third of 3 Strings of assigned Model [[MMH]] File.  ''[MainClass]_[MODELTYPE]_[MODELSUBTYPE]<b>[MODELVARIATION]</b>_[LOD].MMH''}}
 
{{2da column|ICONNAME|string| This is the name for the ingame icon that appears on the quickbar, inventory, et cetera}}
 
{{2da column|ICONNAME|string| This is the name for the ingame icon that appears on the quickbar, inventory, et cetera}}
{{2da column|DEFAULTMATERIAL|int|{{undocumented}}}}
+
{{2da column|DEFAULTMATERIAL|int|Material set by the Toolset for this variation by default. As set in [[Materialtypes.xls]]}}
 
{{2da end}}
 
{{2da end}}
  
 
[[Category:Items]]
 
[[Category:Items]]
[[Category:2DAs]]
+
[[Category:XLS files]]

Latest revision as of 21:56, 2 March 2010

Item topics
Integration
Item (*.uti) Properties
(Enable Variation)
↑↓ ItemVariations.XLS ↑↓
(Find Model File)
Model Files in the Filesystem

This 2DA lists variant models for items.

The different worksheet's are associated with the "Base Item Type" when defining an Item. The contents of each enable the particular "Item Variation" of said Item, while they also refer to the Model's filename via 3 strings which are joined with a prefix and suffix to find the actual file. (see: Model File Naming Convention)

Some Item Types are defined with other 2DA's, and are not listed here. This is only for Items that can have variant models.

The different worksheets

  • mace_variation
  • greatsword_Variation
  • gloves_heavy_variation
  • gloves_medium_variation
  • gloves_light_variation
  • gloves_massive_variation
  • boots_massive_variation
  • boots_heavy_variation
  • boots_light_variation
  • boots_medium_variation
  • helmet_mage_variation
  • helmet_massive_variation
  • helmet_heavy_variation
  • helmet_medium_variation
  • helmet_light_variation
  • armor_massive_variation
  • armor_medium_variation
  • armor_light_variation
  • armor_heavy_variation
  • longsword_variation
  • staff_variation
  • wand_variation
  • dagger_variation
  • waraxe_variation
  • battleaxe_variation
  • maul_variation
  • lround_shield_variation
  • sround_shield_variation
  • kite_shield_variation
  • tower_shield_variation
  • crossbow_variation
  • shortbow_variation
  • longbow_variation
  • bolt_variation
  • arrow_variation
  • clothing_variation
  • dog_collar_variation
  • dog_warpaint_variation

Bug when using M2DA

When extending (most certainly) all of these 2DA's via M2DAs, and giving ID Ranges above 255, a bug occurs when trying to use an Item based on a Variation in game. It may also crash the Toolset when equiping that Item to an NPC. See Bug report.

Layout

Each of these worksheets has the same set of columns:

Column Type Description
ID int A number that uniquely identifies the entry (unless creating an M2DA override). ID numbers are listed from smallest to highest within a given file but do not need to be consecutive.
LABEL string Name as displayed in the Toolset
MODELTYPE string First of 3 Strings of assigned Model MMH File. [MainClass]_[MODELTYPE]_[MODELSUBTYPE][MODELVARIATION]_[LOD].MMH
MODELSUBTYPE string Second of 3 Strings of assigned Model MMH File. [MainClass]_[MODELTYPE]_[MODELSUBTYPE][MODELVARIATION]_[LOD].MMH
MODELVARIATION string Third of 3 Strings of assigned Model MMH File. [MainClass]_[MODELTYPE]_[MODELSUBTYPE][MODELVARIATION]_[LOD].MMH
ICONNAME string This is the name for the ingame icon that appears on the quickbar, inventory, et cetera
DEFAULTMATERIAL int Material set by the Toolset for this variation by default. As set in Materialtypes.xls