Items are simple moveable objects and the parent tag of weapon, garbage, and equipment. Although they can have a hitbox in the form of a model_collision_geometry, when moving they are simulated as simple point-like objects that can bounce off the BSP and non-item objects. Unlike units, they cannot be controlled or die (though they can despawn).
This tag inherits fields from object which are not shown here. See the parent's page for more information. The following information is unique to the item tag.
Field |
Type |
Comments |
|
bitfield
|
Flag |
Mask |
Comments |
|
0x1 |
Forces the item to remain upright even if it has been launched in an explosion or thrown. This is used for the multiplayer flag weapon to prevent it from tumbling when dropped. |
|
0x2 |
Allows the item (e.g. grenade) to be detonated if receiving a damage_effect with a detonates explosives flag enabled. |
|
0x4 |
|
|
|
uint16
|
|
int16
|
|
float
|
|
int16
|
|
enum
|
Option |
Value |
Comments |
|
0x0 |
|
|
0x1 |
|
|
0x2 |
|
|
0x3 |
|
|
0x4 |
|
|
0x5 |
|
|
0x6 |
|
|
0x7 |
|
|
0x8 |
|
|
0x9 |
|
|
0xA |
|
|
0xB |
|
|
0xC |
|
|
0xD |
|
|
0xE |
|
|
0xF |
|
|
0x10 |
|
|
0x11 |
|
|
0x12 |
|
|
0x13 |
|
|
|
enum ?
|
|
enum ?
|
|
enum ?
|
|
TagDependency : material_effects
|
|
TagDependency : sound
|
|
Bounds
|
Field |
Type |
Comments |
|
float
|
|
float
|
|
|
TagDependency : effect
|
|
TagDependency : effect
|
Thanks to the following individuals for their research or contributions to this topic:
- Kavawuvi (Invader tag definitions)
- MosesOfEgypt (Tag structure research)