Jump to content

OBD:ONLD: Difference between revisions

m
wording; also, we don't use code tags for notes like this
m (Formatting...)
m (wording; also, we don't use code tags for notes like this)
Line 11: Line 11:
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x08 | int16    |FFC8C8| 01 00      | 1    | current level number is… }}
{{OBDtr| 0x08 | int16    |FFC8C8| 01 00      | 1    | current level number is… }}
{{OBDtr| 0x0A | int16    |FFFFC8| 02 00      | 2    | next level should be… <code>(ignored; Oni will pick the next highest level number no matter what you place here)</code> }}
{{OBDtr| 0x0A | int16    |FFFFC8| 02 00      | 2    | next level should be… (ignored; Oni will pick the next highest level number no matter what you place here) }}
{{OBDtr2|0x0C | char[64] |C8FFC8| TCTF-Training      | name of the level; you'll find it in the list, when you load a level }}
{{OBDtr2|0x0C | char[64] |C8FFC8| TCTF-Training      | name of the level; you'll find it in the list, when you load a level }}
{{OBDtr| 0x4C | char[20] |C8FFFF| AD DE      | dead | unused }}
{{OBDtr| 0x4C | char[20] |C8FFFF| AD DE      | dead | unused }}
Line 18: Line 18:


;Hardcoded level name
;Hardcoded level name
The name of Chapter 1, "Syndicate Warehouse", is hardcoded into the engine rather than coming from the ONLD. That's because [[{{C0}}]] and [[{{C1}}]] share level1_Final.dat, which means that the ONLD could only provide a name for one chapter or the other. The loser was Syndicate Warehouse; BWest hardcoded its name to appear in place of what would have been Save Point 1 of TCTF Training (and moved the other save points down by one). The historical reason for this odd situation is likely that the training level was added to Oni in the final rushed month of development.
The name of Chapter 1, "Syndicate Warehouse", is hardcoded into the engine rather than coming from the ONLD. That's because [[{{C0}}]] and [[{{C1}}]] share level1_Final.dat, which means that the ONLD could only provide a name for one chapter or the other. The loser was Syndicate Warehouse; BWest hardcoded its name to appear in place of what would have been Save Point 1 of TCTF Training (and shifted the numbering of the other save points down by one). The historical reason for this odd two-levels-in-one situation is that Combat Training was added to Oni in the final rushed month of development.


{{OBD_File_Footer | type=ONLD | prev=ONIA | next=ONLV | name=Oni Game Level Descriptor | family=Global}}
{{OBD_File_Footer | type=ONLD | prev=ONIA | next=ONLV | name=Oni Game Level Descriptor | family=Global}}


{{OBD}}
{{OBD}}