====== Falcon 4 .PST file ====== [[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]] The .PST file holds objects that are not static, but that come and go, and might last across sessions. This includes things such as runway craters and similar. Each object has an X and Y coordinate, a type of visible object, a bitmask of flags, and then (dependent on the flags) either: A time stamp, or \\ An ID. \\ ===== .PST File Format ===== ^Field^Data Type^Width (in bytes)^Description^Versions^ |numPersistantObjects|Signed 32-bit integer|4 | |>=69| |persistantObjects[]|PersistantObject[numPersistantObjects]| (24 * numPersistantObjects) bytes | |>=69| ===== Structures Used ===== ==== PersistantObject structure ==== ^Field^Data Type^Width (in bytes)^Description^Versions^ |x|single-precision 32-bit floating point|4 | |>=69| |y|single-precision 32-bit floating point|4 | |>=69| |unionData|PackedVUID| 12 | |>=69| |visType|Signed 16-bit integer| 2 | |>=69| |flags|Signed 16-bit integer| 2 | |>=69| ==== PackedVUID structure ==== ^Field^Data Type^Width (in bytes)^Description^Versions^ |creator|unsigned 32-bit integer|4 | |>=69| |num|unsigned 32-bit integer|4 | |>=69| |index|byte|1 | |>=69| |padding[]|byte[3]|3 | necessary so that data aligns on an Int32 boundary |>=69|