Items

Items

Classnames: item_armor_amulet/bracer/breastplate/helmet, item_health
Purpose: Boosting player attributes.
H2 Code: items.hc
fields required: origin
Items sit there waiting to be grabbed by player, and act on same immediately rather than going into an inventory. Since they rotate, an angle-field would be meaningless.

Fields

origin Value is a triple of number, location of item. Your editor should manage this visually, automatically.
spawnflags Value 1 means item hangs floating where put it in the map, rather than dropping to convenient grabbing distance off the floor (default value = 0). Your map editor should provide some kind of labelled checkbox scheme for spawnflags,


Back to the list.