Items.dat

Introduction
In the items.dat file you can edit the equipment of human AI and the ammunition of vehicles and stationary weapons like the anti-aircraft cannon(FLAK) or Panzerabwehrkanone(PAK). Additionally you can place any item (e.g documents) anywhere on the map by using map coordinates and rotation.

Layout
The items.dat file begins with 1000 0000, followed by the items assigned to objects and the items placed directly on the map.


 * 0100 0000
 * object item 1
 * object item 2
 * object item N
 * Item on map 1
 * Item on map 2
 * Item on map N

Note: The order of the items is not important. However it's a neat arrangement if the "items directly placed on map" are listed at the end of Items.dat.

Item assigned to an object
Item ID: The second byte of the 32-Bit INT represents the Item List.

e.g 0400 0000 is the code for the K98 whereas 0401 0000 is the code for the P08 with silencer.

Inventory Type: For vehicles inventroy type is always 0, for human AI six inventory types are defined as followed:

In the table below you find common used ammunition for vehicles or stationary weapons. For more item codes check out items.

Example 1
Soldier5 is given a blue mechanic uniform (9700 0000), a blue mechanic cap (5800 0000), a K98 rifle (0400 0000) on his shoulder, 3x Ammo for the K98 rifle (AE00 0000) and a small medic kit (3600 0000) into pouches.

Example 2
The german Tiger tank Tiger01 is given 3 rounds for the tank cannon (D500 0000) and 3 rounds for the Machine Gun. (D300 0000)

Example
On the example below we are placing a big medic kit (3500 0000) on map position (-10/1.75/-25)