Difference between revisions of "Urban Chaos UCM"

From XentaxWiki
Jump to: navigation, search
(Created page with "== UCM == * ''' Game ''': Urban Chaos <br> * ''' Format Type ''': Level File <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian...")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== UCM ==  
 
== UCM ==  
 
* ''' Game ''':    [[Urban Chaos]] <br>  
 
* ''' Game ''':    [[Urban Chaos]] <br>  
* ''' Format Type ''':    Level File <br>  
+
* ''' Format Type ''':    Game Mission File <br>  
 
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
 
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
  
Line 7: Line 7:
 
=== Format Specifications ===  
 
=== Format Specifications ===  
  
 +
'''New mission (version 9 and 10)'''
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 
<pre>
 
<pre>
Line 13: Line 14:
  
  
 +
 +
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
 +
</pre>
 +
</div>
 +
 +
 +
'''Old missionB (Version 6, 7 and 8)'''
 +
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 +
<pre>
 +
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
 +
</pre>
 +
</div>
 +
 +
'''Old mission (Version 5 or lower)'''
 +
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 +
<pre>
 +
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
 +
</pre>
 +
</div>
 +
 +
=== Related Structures ===
 +
 +
'''EventPoint'''
 +
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 +
<pre>
 +
//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
 
</pre>
 
</pre>
 
</div>
 
</div>
Line 23: Line 128:
  
 
* Files with this file format can be found inside "\Urban Chaos\levels\" folder.
 
* Files with this file format can be found inside "\Urban Chaos\levels\" folder.
 +
* These files store level data and text from game.
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
Line 35: Line 141:
 
[[Category:Extension_ucm | Extension: ucm]]
 
[[Category:Extension_ucm | Extension: ucm]]
 
[[Category:BMS_None | BMS: None]]
 
[[Category:BMS_None | BMS: None]]
 +
[[Category:File Format]]

Latest revision as of 19:06, 25 January 2021

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