Urban Chaos UCM

From XentaxWiki
Jump to: navigation, search

UCM


Format Specifications

New mission (version 9 and 10)

// Urban Chaos 
// UCM file format (Game Mission Files)



UINT32 Version
UINT32 Flags
260 bytes - BriefName // can be empty
260 bytes - LightMapName  // "Data\Lighting\gpost3.lgt"
260 bytes - MapName  // "Data\gpost3.iam"
260 bytes - MissionName  // "wstores11"
260 bytes - CitSezMapName  // "text\wstores111.txt"
UWORD MapIndex
UWORD FreeEPoints
UWORD UsedEPoints
UBYTE CrimeRate
UBYTE CivsRate
MAX_EVENTPOINTS *
{
  EventPoint
}
UBYTE SkillLevels[254] // up to 254 AI types supported
UBYTE BoredomRate
UBYTE CarsRate
UBYTE MusicWorld

128*128 bytes - MissionZones


Old missionB (Version 6, 7 and 8)

UINT32 Version
BOOL Used
260 bytes - BriefName
260 bytes - LightMapName
260 bytes - MapName
260 bytes - MissionName
260 bytes - CitSezMapName
UWORD MapIndex
UWORD FreeEPoints
UWORD UsedEPoints
UBYTE CrimeRate
UBYTE CivsRate
MAX_EVENTPOINTS	*
{
   EventPoint
}
UBYTE SkillLevels[255]

128*128 bytes - MissionZones

Old mission (Version 5 or lower)

UINT32 Version
BOOL Used
260 bytes - BriefName
260 bytes - LightMapName
260 bytes - MapName
260 bytes - MissionName
260 bytes - SewerMapName
UWORD MapIndex
UWORD FreeEPoints
UWORD UsedEPoints
UWORD padding
MAX_EVENTPOINTS	*
{
   EventPoint
}

128*128 bytes - MissionZones

Related Structures

EventPoint

//EventPoint structure

UBYTE Colour
UBYTE Group
UBYTE WaypointType
UBYTE Used

UBYTE TriggeredBy
UBYTE OnTrigger
UBYTE Direction
UBYTE Flags

UWORD EPRef
UWORD EPRefBool
UWORD AfterTimer

SLONG Data[10]
SLONG Radius
SLONG X
SLONG Y
SLONG Z
	
UWORD Next
UWORD Prev

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Files with this file format can be found inside "\Urban Chaos\levels\" folder.
  • These files store level data and text from game.

Compatible Programs