-
Notifications
You must be signed in to change notification settings - Fork 48
zitem.xml
The zitem id, which distinguishes different items. This is a 32-bit unsigned value, with possible values ranging from 0 to 2^32. Note that 0 is reserved for the invalid/null item, and the range from 200001 to 299999 inclusive is reserved for quest items. (All quest items must be in this range, and non-quest items must not be.)
The name of the item. Max length is 127 bytes.
The name of the mesh used to render the item.
Unused.
The type of weapon. Can be "melee", "range", "equip", and "custom".
The sex the item is for. This can be "a" for all, "m" for male, or "f" for female.
The minimum level required to equip the item.
The slot the item is equipped in. This can be "none", "melee" for melee weapons, "range" for ranged weapons, "custom" for items (medkits and grenades), "finger" for rings, "head", "chest", "hands", "legs" and "feet" for clothes, and "extra", which is unused.
The type of weapon. Can be "dagger", "dualdagger", "katana", "doublekatana", "greatsword", "pistol", "pistolx2", "revolver", "revolverx2", "smg", "smgx2", "shotgun", "sawedshotgun" (unused), "rifle", "machinegun", "rocket", "snifer", "frag", "flashbang", "smoke", "medkit", "repairkit", "bulletkit", "food", "skill" (unused), "enchant_fire", "enchant_cold", "enchant_lightning", and "enchant_poison".
Weight of the item.
Bounty price required to purchase the item from the shop.
The delay between shots, in milliseconds.
The sound file played when shooting.
The sound file played when reloading.
The sound file played when shooting, but the gun is empty.
The damage done by each attack or bullet.
Melee weapon range, in game units. The default is DEFAULT_MELEE_WEAPON_RANGE, which is 160.
Melee weapon angle, in degrees. Ignored: No code exists to read or use it.
The number of bullets in each magazine.
The time it takes to reload, in seconds. The value is read, but not used.
Whether the weapon outputs spent cases when shooting. This is a boolean. Mainly exists to be false for revolvers.
Because the value of MICTOK_SLUGOUTPUT is typoed as "slut_output", the parser never reads this property and it is unused. Additionally, the MMatchItem::m_bSlugOutput member that it would've been read into is never used either.
???
???
???
???
Offset that this item applies to HP.
Offset that this item applies to AP.
Offset that this item applies to the max weight cap.
??? Safefall???
Fire resistance.
Cold resistance.
Poison resistance.
Lightning resistance.
???
???
???
???
??? This is 0xFFFFFFFF by default.
Item description, viewable in the slot or inventory.
???
???
???
???
???
???
???