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 37: Line 37:
ArmorMaterialDragonplate<br/>
ArmorMaterialDragonplate<br/>
ArmorMaterialDragonscale
ArmorMaterialDragonscale
|-
|style="border-style: solid; border-width: 1px; text-align: left"| DWARVEN
|style="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/>
Keyword - Weapon Material Dwarven
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialDwarven<br/>
WeapMaterialDwarven
|-
|style="border-style: solid; border-width: 1px; text-align: left"| EBONY
|style="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/>
Keyword - Weapon Material Ebony
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialEbony<br/>
WeapMaterialEbony
|-
|style="border-style: solid; border-width: 1px; text-align: left"| ELVEN
|style="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/>
Keyword - Armor Material ElvenSplinted<br/>
Keyword - Weapon Material Elven
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialElven<br/>
ArmorMaterialElvenGilded<br/>
WeapMaterialElven
|-
|style="border-style: solid; border-width: 1px; text-align: left"| GLASS
|style="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/>
Keyword - Weapon Material Glass
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialGlass<br/>
WeapMaterialGlass
|-
|style="border-style: solid; border-width: 1px; text-align: left"| HIDE
|style="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="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialHide
|-
|style="border-style: solid; border-width: 1px; text-align: left"| IMPERIAL
|style="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/>
Keyword - Armor Material ImperialHeavy<br/>
Keyword - Armor Material ImperialReinforced<br/>
Keyword - Weapon Material Imperial
|style="border-style: solid; border-width: 1px; text-align: left"| ArmorMaterialImperialLight<br/>
ArmorMaterialImperialHeavy<br/>
ArmorMaterialImperialStudded<br/>
WeapMaterialImperial
|-
|-
|style="border-style: solid; border-width: 1px; text-align: left"| STUDDED
|style="border-style: solid; border-width: 1px; text-align: left"| STUDDED

Revision as of 14:34, 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:

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.

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'.

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
DAEDRIC sDaedric Keyword - Armor Material Daedric ArmorMaterialDaedric
DRAGON sDragon Keyword - Armor Material DragonboneDG

Keyword - Armor Material Dragonplate
Keyword - Armor Material Dragonscale

DLC1WeapMaterialDragonboneDG

ArmorMaterialDragonplate
ArmorMaterialDragonscale

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

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

STUDDED sStudded Keyword - Armor Material Studded ArmorMaterialStudded