16.03.2012, 13:27
Ok, so far I also understand about 58/68 bytes for the vehicle recordings, and 58/72 bytes of the on foot recordings. Seems as both got some unused bytes for upward/downward compatibility.
The files themselves consist of a header, followed by data blocks. Every block represents the player/vehicle data at a moment (position, velocity, weapon, pressed keys, animations, etc etc). Each block is executed by the NPC at a specified time offset (relative to recording playback start), that is also part of the block.
I guess a wiki page about the rec file format would be the best, Ill write that down before working on a plugin
The files themselves consist of a header, followed by data blocks. Every block represents the player/vehicle data at a moment (position, velocity, weapon, pressed keys, animations, etc etc). Each block is executed by the NPC at a specified time offset (relative to recording playback start), that is also part of the block.
I guess a wiki page about the rec file format would be the best, Ill write that down before working on a plugin
