OBD:AISA: Difference between revisions
Jump to navigation
Jump to search
m (wiki code) |
(on second thought, that image *does* look like it's older than even AISA) |
||
Line 13: | Line 13: | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr2| 0x000 | char[32] |FFC8C8| unused | name of ASIA character }} | {{OBDtr2| 0x000 | char[32] |FFC8C8| unused | name of ASIA character }} | ||
{{OBDtr | 0x020 | int16 |FFFFC8| 00 00 | 0 | ID of the character, which you can spawn with the script command | {{OBDtr | 0x020 | int16 |FFFFC8| 00 00 | 0 | ID of the character, which you can spawn with the script command [[chr_create]] }} | ||
{{OBDtr | 0x022 | int16 |C8FFC8| 00 00 | 0 | flag | {{OBDtr | 0x022 | int16 |C8FFC8| 00 00 | 0 | flag where character is spawned; must be a valid flag ID (from the [[OBD:BINA/OBJC/FLAG|BINACJBOFlag]] collection) }} | ||
{{OBDtr | 0x024 | int16 |C8FFFF| 00 00 | 0 | unknown }} | {{OBDtr | 0x024 | int16 |C8FFFF| 00 00 | 0 | unknown }} | ||
{{OBDtr | 0x026 | int16 |FFC8FF| 00 00 | 0 | unknown }} | {{OBDtr | 0x026 | int16 |FFC8FF| 00 00 | 0 | unknown }} | ||
{{OBDtr | 0x028 | link |FFC800| 01 DF 03 00 | 991 | link to [[OBD:ONCC|00991- | {{OBDtr | 0x028 | link |FFC800| 01 DF 03 00 | 991 | link to [[OBD:ONCC|00991-ONCCkonoko_generic]] }} | ||
{{OBDtr | 0x02C | int32 |C800C8| 00 00 00 00 | 0 | unknown; always zero }} | {{OBDtr | 0x02C | int32 |C800C8| 00 00 00 00 | 0 | unknown; always zero }} | ||
{{OBDtr2| 0x030 | char[32] |C87C64| unused | unknown; never used in Oni }} | {{OBDtr2| 0x030 | char[32] |C87C64| unused | unknown; never used in Oni }} | ||
Line 34: | Line 34: | ||
{{OBDtr | 0x15C | int32 |C8C864| 00 00 00 00 | 0 | unknown; always zero }} | {{OBDtr | 0x15C | int32 |C8C864| 00 00 00 00 | 0 | unknown; always zero }} | ||
|} | |} | ||
;Dialog from level0_Tools | |||
:This dialog aparently predates AISA (it's redundant of [[CMBT]], while the current AISA probably links to a [[CMBT]] instead). | |||
:In that sense maybe [http://geyser.oni2.net/OBD/dialogs/dialog_character2_properties.png THIS] dialog (the one used for [[CHAR]]) is closer to the AISA format than the following. Oh well... | |||
http://geyser.oni2.net/OBD/dialogs/dialog_character_properties.png | |||
{{OBD_File_Footer | type=ASIA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level}} | {{OBD_File_Footer | type=ASIA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level}} |
Revision as of 17:15, 25 May 2008
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x000 | res_id | 01 9C 02 00 | 668 | 00668-level3_scripts.AISA |
0x004 | lev_id | 01 00 00 06 | 3 | level 3 |
0x008 | char[22] | dead | unused; you can set all to whatever you want | |
0x01E | int16 | 0D 00 | 13 | array size |
First element (black outline) | ||||
0x000 | char[32] | unused | name of ASIA character | |
0x020 | int16 | 00 00 | 0 | ID of the character, which you can spawn with the script command chr_create |
0x022 | int16 | 00 00 | 0 | flag where character is spawned; must be a valid flag ID (from the BINACJBOFlag collection) |
0x024 | int16 | 00 00 | 0 | unknown |
0x026 | int16 | 00 00 | 0 | unknown |
0x028 | link | 01 DF 03 00 | 991 | link to 00991-ONCCkonoko_generic |
0x02C | int32 | 00 00 00 00 | 0 | unknown; always zero |
0x030 | char[32] | unused | unknown; never used in Oni | |
0x050 | char[32] | intro | name of the function, which is called up when Oni spawns the character | |
0x070 | char[32] | unused | name of the function, which is called up when the character dies | |
0x090 | char[32] | unused | name of the function, which is called up when the character notices the player | |
0x0B0 | char[32] | unused | unknown; never used in Oni | |
0x0D0 | char[32] | unused | name of the function, which is called up when someone hits the character the first time | |
0x0F0 | char[32] | unused | name of the function, which is called up when the health of the character is equal 1 | |
0x110 | char[32] | unused | name of the function, which is called up when the character reloads its weapon with its last ammo/cell; works only, if the character has some ammo/cells when Oni spawns it | |
0x130 | char[32] | unused | unknown | |
0x150 | link | 00 00 00 00 | unused | link to an ONWC file |
0x154 | int16 | 00 00 | 0 | unknown |
0x156 | int16 | FF FF | -1 | unknown; always the same |
0x158 | int32 | 00 00 00 00 | 0 | unknown; always zero |
0x15C | int32 | 00 00 00 00 | 0 | unknown; always zero |
- Dialog from level0_Tools
- This dialog aparently predates AISA (it's redundant of CMBT, while the current AISA probably links to a CMBT instead).
- In that sense maybe THIS dialog (the one used for CHAR) is closer to the AISA format than the following. Oh well...
ONI BINARY DATA |
---|
AGQR << Other file types >> AITR |
ASIA : AI Character Setup Array |
Level file |