Urban Chaos UCM: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks No edit summary |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== UCM == | == UCM == | ||
* ''' Game ''': [[Urban Chaos]] <br> | * ''' Game ''': [[Urban Chaos]] <br> | ||
* ''' Format Type ''': | * ''' 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 | '''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 17: | Line 17: | ||
UINT32 Version | UINT32 Version | ||
UINT32 Flags | UINT32 Flags | ||
260 bytes - BriefName | 260 bytes - BriefName // can be empty | ||
260 bytes - LightMapName // "Data\Lighting\gpost3.lgt" | 260 bytes - LightMapName // "Data\Lighting\gpost3.lgt" | ||
260 bytes - MapName // "Data\gpost3.iam" | 260 bytes - MapName // "Data\gpost3.iam" | ||
| Line 27: | Line 27: | ||
UBYTE CrimeRate | UBYTE CrimeRate | ||
UBYTE CivsRate | UBYTE CivsRate | ||
MAX_EVENTPOINTS | MAX_EVENTPOINTS * | ||
{ | |||
EventPoint | |||
} | |||
UBYTE SkillLevels[254] // up to 254 AI types supported | UBYTE SkillLevels[254] // up to 254 AI types supported | ||
UBYTE BoredomRate | UBYTE BoredomRate | ||
| Line 33: | Line 36: | ||
UBYTE MusicWorld | 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> | </pre> | ||
</div> | </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> | |||
</div> | |||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
| Line 59: | 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 17:06, 25 January 2021
UCM
- Game : Urban Chaos
- Format Type : Game Mission File
- Endian Order : Little Endian
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.