Urban Chaos PRM

From XentaxWiki
Revision as of 09:52, 18 October 2020 by imported>Ikskoks (→‎Format Specifications)
Jump to navigation Jump to search

PRM


Format Specifications

// Urban Chaos 
// PRM file format (3D Model)

//header
UINT16 Magic  // "\xA2\x16"
char(x) - Model Name // for example "ambulance"
UINT16 First point ID
UINT16 Last point ID
UINT16 First quadrangle ID
UINT16 Last quadrangle ID
UINT16 First triangle ID
UINT16 Last triangle ID

//properties
UINT8 Collision type
BOOL8 Reaction to an impact by a vehicle
UINT8 Shadow type
BOOL8 Various properties

//points coordinates
num_of_points *
{
   INT16 Position X
   INT16 Position Y
   INT16 Position Z
}

//quadrangles structure
num_of_quadrangles *
{
   UINT8 Texture ID group
   BOOL8 Properties
   UINT16 Point A ID
   UINT16 Point B ID
   UINT16 Point C ID
   UINT16 Point D ID


MultiEx BMS Script

Not written yet.

Notes and Comments

  • Files with this file format can be found inside "\Urban Chaos\server\prims\" folder.

Compatible Programs