Difference between revisions of "Customizing Crafting Categories"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Herko ter Horst
imported>Herko ter Horst
Line 17: Line 17:
The game defines the crafting categories through a hard-coded mapping between Default Objects and Game Settings. This mapping cannot be changed. However, we can change the label for each Game Setting and the Keyword for each Default Object. The table below shows the default configuration. The white columns can be modified using the Creation Kit, the grey columns are hard-coded in the game.
The game defines the crafting categories through a hard-coded mapping between Default Objects and Game Settings. This mapping cannot be changed. However, we can change the label for each Game Setting and the Keyword for each Default Object. The table below shows the default configuration. The white columns can be modified using the Creation Kit, the grey columns are hard-coded in the game.


{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000" cellpadding="2"
{| style="vertical-align: top; border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000" cellpadding="2"
|-
|-
!style="border-style: solid; border-width: 1px; text-align: left"| Label
!style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| Label
!style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Game Setting
!style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Game Setting
!style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Default Object
!style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Default Object
!style="border-style: solid; border-width: 1px; text-align: left"| Keyword
!style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| Keyword
!style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| Notes
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| DAEDRIC
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| DAEDRIC
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDaedric
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDaedric
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Daedric
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Daedric
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialDaedric
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialDaedric
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| DRAGON
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| DRAGON
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDragon
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDragon
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Dragonbone{{DG}}<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Dragonbone{{DG}}<br/>
Keyword - Armor Material Dragonplate<br/>
Keyword - Armor Material Dragonplate<br/>
Keyword - Armor Material Dragonscale
Keyword - Armor Material Dragonscale
|style="border-style: solid; border-width: 1px; text-align: left"| DLC1WeapMaterialDragonbone{{DG}}<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| DLC1WeapMaterialDragonbone{{DG}}<br/>
ArmorMaterialDragonplate<br/>
ArmorMaterialDragonplate<br/>
ArmorMaterialDragonscale
ArmorMaterialDragonscale
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|''new for Dawnguard''
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| DWARVEN
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| DWARVEN
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDwarven
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sDwarven
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Dwarven<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Dwarven<br/>
Keyword - Weapon Material Dwarven
Keyword - Weapon Material Dwarven
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialDwarven<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialDwarven<br/>
WeapMaterialDwarven
WeapMaterialDwarven
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| EBONY
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| EBONY
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sEbony
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sEbony
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Ebony<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Ebony<br/>
Keyword - Weapon Material Ebony
Keyword - Weapon Material Ebony
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialEbony<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialEbony<br/>
WeapMaterialEbony
WeapMaterialEbony
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| ELVEN
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ELVEN
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sElven
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sElven
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Elven<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Elven<br/>
Keyword - Armor Material ElvenSplinted<br/>
Keyword - Armor Material ElvenSplinted<br/>
Keyword - Weapon Material Elven
Keyword - Weapon Material Elven
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialElven<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialElven<br/>
ArmorMaterialElvenGilded<br/>
ArmorMaterialElvenGilded<br/>
WeapMaterialElven
WeapMaterialElven
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|<br/>
''mismatch: Splinted vs Gilded''
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| GLASS
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| GLASS
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sGlass
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sGlass
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Glass<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Glass<br/>
Keyword - Weapon Material Glass
Keyword - Weapon Material Glass
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialGlass<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialGlass<br/>
WeapMaterialGlass
WeapMaterialGlass
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| HIDE
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| HIDE
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sHide
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sHide
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Hide
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Hide
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialHide
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialHide
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| IMPERIAL
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| IMPERIAL
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sImperial
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sImperial
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Imperial<br/>
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Imperial<br/>
Keyword - Armor Material ImperialHeavy<br/>
Keyword - Armor Material ImperialHeavy<br/>
Keyword - Armor Material ImperialReinforced<br/>
Keyword - Armor Material ImperialReinforced<br/>
Keyword - Weapon Material Imperial
Keyword - Weapon Material Imperial
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialImperialLight<br/>
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialImperialLight<br/>
ArmorMaterialImperialHeavy<br/>
ArmorMaterialImperialHeavy<br/>
ArmorMaterialImperialStudded<br/>
ArmorMaterialImperialStudded<br/>
WeapMaterialImperial
WeapMaterialImperial
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|''mismatch: Imperial vs ImperialLight''<br/>
<br/>
''mismatch: Reinforced vs Studded''
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| STUDDED
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| IRON
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sStudded
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sIron
|style="background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Studded
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Iron<br/>
|style="border-style: solid; border-width: 1px; text-align: left"| ''ArmorMaterialStudded''
Keyword - Armor Material IronBanded<br/>
Keyword - Weapon Material Iron
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialIron<br/>
ArmorMaterialIronBanded<br/>
WeapMaterialEbony
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"|
|-
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| STUDDED
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| sStudded
|style="vertical-align: top; background: #EEE; border-style: solid; border-width: 1px; text-align: left"| Keyword - Armor Material Studded
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialStudded
|style="vertical-align: top; border-style: solid; border-width: 1px; text-align: left"| ''only used by one item in the game: Studded Armor''
|}
|}


[[Category:Tutorials]][[Category:Community Tutorials]]
[[Category:Tutorials]][[Category:Community Tutorials]]

Revision as of 14:50, 6 September 2012

Introduction

Crafting categories, shown in-game when the player uses a crafting station such as a forge, are a way for the player to identify the material or type of item that will be crafted. Although some aspects of these categories are hard-coded, it is possible to customize them to a large degree.

Background

Categories consist of four components:

Label

This is the text that appears in-game to identify the category. For example: IRON, STEEL, IMPERIAL, JEWELRY. Note that all of the labels in the English version of the game are in uppercase. This is not a requirement. In fact, the Dawnguard DLC adds a custom category label 'Aetherium' spelt with a single capital 'A'.

Game Setting

The Game Setting is a key that provides access to a value. For categories, the value is a String that represents the label of the category. Game settings are part of the game and their keys can not be modified. Which game settings are used as categories is hard-coded in the game as well. This means the number of categories is limited by the game itself and cannot be modified using the Creation Kit.

Default Object

Default Objects are permanent objects that the programs needs to access reliably. Some of the Default Objects are of the type 'keyword', meaning they point to Keyword objects in the Creation Kit. Although the list of Default Objects is determined by the game and cannot be modified, it is possible to modify the Keyword object each Default Object points to. There are a number of Default Object keywords that represent crafting materials/categories.

Keyword

A Keyword is a named object that can be added to most other objects. We can modify the list of Keywords using the Creation Kit. Through the use of Keywords we can make sure items such as armor and weapons appear in the correct category. This only works for Keywords pointed to by a Default Object.

Default category definitions

The game defines the crafting categories through a hard-coded mapping between Default Objects and Game Settings. This mapping cannot be changed. However, we can change the label for each Game Setting and the Keyword for each Default Object. The table below shows the default configuration. The white columns can be modified using the Creation Kit, the grey columns are hard-coded in the game.

Label Game Setting Default Object Keyword Notes
DAEDRIC sDaedric Keyword - Armor Material Daedric ArmorMaterialDaedric
DRAGON sDragon Keyword - Armor Material DragonboneDG

Keyword - Armor Material Dragonplate
Keyword - Armor Material Dragonscale

DLC1WeapMaterialDragonboneDG

ArmorMaterialDragonplate
ArmorMaterialDragonscale

new for Dawnguard
DWARVEN sDwarven Keyword - Armor Material Dwarven

Keyword - Weapon Material Dwarven

ArmorMaterialDwarven

WeapMaterialDwarven

EBONY sEbony Keyword - Armor Material Ebony

Keyword - Weapon Material Ebony

ArmorMaterialEbony

WeapMaterialEbony

ELVEN sElven Keyword - Armor Material Elven

Keyword - Armor Material ElvenSplinted
Keyword - Weapon Material Elven

ArmorMaterialElven

ArmorMaterialElvenGilded
WeapMaterialElven


mismatch: Splinted vs Gilded

GLASS sGlass Keyword - Armor Material Glass

Keyword - Weapon Material Glass

ArmorMaterialGlass

WeapMaterialGlass

HIDE sHide Keyword - Armor Material Hide ArmorMaterialHide
IMPERIAL sImperial Keyword - Armor Material Imperial

Keyword - Armor Material ImperialHeavy
Keyword - Armor Material ImperialReinforced
Keyword - Weapon Material Imperial

ArmorMaterialImperialLight

ArmorMaterialImperialHeavy
ArmorMaterialImperialStudded
WeapMaterialImperial

mismatch: Imperial vs ImperialLight


mismatch: Reinforced vs Studded

IRON sIron Keyword - Armor Material Iron

Keyword - Armor Material IronBanded
Keyword - Weapon Material Iron

ArmorMaterialIron

ArmorMaterialIronBanded
WeapMaterialEbony

STUDDED sStudded Keyword - Armor Material Studded ArmorMaterialStudded only used by one item in the game: Studded Armor