Item tutorial

From Dragon Age Toolset Wiki
Jump to: navigation, search
Item topics

In Dragon Age, "items" are things that a player can take into his inventory and carry around with him through the game. They are distinct and very different from placeables, which are interactive objects that are visible in the game area. Items cannot be placed directly on the area map, they can only be added to the inventory of placeables or creatures in the area. They can also be put in a player's inventory using scripting, a common occurrence for "plot" items. This tutorial doesn't cover any of that; see the tutorials on creatures, placeables, or scripting for more detail. This tutorial just covers the creation of items themselves.

Note that due to the large number of items the toolset has to deal with, the item list displayed while editing creature and merchant inventories is cached. If you create a new item you'll need to refresh the toolset to see them in these lists (the "refresh" option is listed under the View menu).

A longsword

First, select the item palette from the palette menu (IconItem.png). Right-click on the empty item list and select "New -> Item" (alternately, go to the file menu and select "New -> Item" from there) and a new item resource will be created. You'll need to name it; we're going to create a sword for starters so we'll call it "longsword". This is just the internal name used by the game to keep track of the item, not the name the player will see, so you can pick whatever naming scheme makes things easiest for you.

The default base item type is "Weapon - Longsword", which is what we want for this particular item and so we'll leave it at that. Most of the other properties can be left as defaults, too. The ones you'll want to change right off the bat are:

  • Name - the name of the item that the player actually sees in-game. We'll use "Longsword".
  • Description - a short block of text that the player can see if he "examines" the item. A basic "This is a longsword." will suffice.
  • Icon - the small image that's displayed next to the item's entry in the inventory, and in the equipped item slot when the player has the item equipped. A set of icons is included in the core resources, all prefixed with "ico_"; we'll use "ico_longsword.dds" for this item.

Since not all longswords look the same, you may wish to choose from a set of alternate models for your item. The "Item Variation" field does this. Unlike Neverwinter Nights, swords cannot be customized by putting together several different parts.

MaterialProgression and MaterialType are of particular significance to weapons and armor; they determine the general quality of the item (magical effects are added in other properties)

!! need to look up some details on materials for this !!

Item editing longsword.png

The "Attributes" section includes a base cost field (measured in copper pieces - silver and gold are calculated automatically), whether the item is damaged or intact, and a variety of advanced properties that can be set for magical weapons.

You have to set the base cost manually. As far as I can see, the base cost of official items is determined by the Item Variation. So, if we're making a sword of variation Longsword 2, have a look at the offical longswords in the Object Inspector. It turns out that gen_im_wep_mel_lsw_oth is Longsword 2, so we can copy the base cost (1500 cp). Don't worry about material or item properties - the game automatically adjusts the buy/sell cost for that (see Item#Item_Cost).

"Item Properties" brings up a display for adding properties that go into effect whenever the item is equipped. These are any special power, effects, or stat variations beyond the basic item attributes. There are two general classes of properties that can be added; abilities and restrictions. Abilities are properties that enhance the item's function in some way - increased damage against certain targets, bonuses to the character's attributes, and so forth. Restrictions are limitations that can be put on who can use the item - for example, only certain classes, or only characters with certain skills or talents. There are also visual effect properties. Each property also has an associated power, which determines how "strong" the property is - generally, how much of a bonus it gives.

An item can have up to five properties on it, including both abilities and restrictions in the total.

Item properties.png

You can also assign an item an "OnHit Effect".

A shield

A suit of armor

A potion

Inventory Subgroup

The Inventory Subgroup (located in the item properties) is a number that designates which category the item belongs to. For quick reference, a list of the more common items can be found [here]