Check2.bin

Introduction
check2.bin file stores checkpoints and connections on which AI can move.

Check2.bin can be imported with hdmaster's L3SD plugin for 3ds Max.

On the picture you can see a detail of the Africa1 grid. The yellow points show the human navigation grid and the green ones for vehicles.

Structure
File consists of a header and two sections; one for soldier checkpoints (abbreviated below as CP) and one for vehicle CP's. Each new section begins with 0901 D07E.


 * Section 1 header
 * CP 1 ID-0
 * CP 2 ID-1
 * CP N ID(N-1)
 * CP label
 * objects
 * Section 2 header
 * CP 1
 * CP 2
 * CP N
 * CP label

Checkpoints
Each CP has following attributes.

Addition to the last 16-Bit values: Depends on the number of connections. If e.g 2 connection we have 4 x 16-Bit INT. 2 x 16-Bit INT for each connection.

Calculation of distance between two checkpoints:

Labeled Checkpoints
After the list of checkpoints you can label any checkpoints needed for usage in script files.

Linked Objects
After the label part, objects (doors, ladders, barriers) are linked to certain checkpoints. These objects must be existent in the .bin files! Mention to link both relevant CPs to the object. In case of a door it's a CP directly before and one behind the door. First comes again a 16-Bit INT for the checkpoint ID, followed by the object name. At the end there's an 8-Bit INT (0) to mark the end of the name. If you done it correctly the AI should notice the object now and use it in the appropriated way.