OBD:AISA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (ASIA fix AISA)
m (wiki code)
Line 1: Line 1:
{{OBD_File_Header | type=AISA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level | align=center}}
{{OBD_File_Header | type=AISA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level | align=center}}
:
 
{{OBD_File_Image | image=aisa_a.gif}}
 
:
[[image:aisa_a.gif]]
 
 
{{Table}}
{{Table}}
{{OBD_Table_Header}}
{{OBDth}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x000 | res_id  |FF0000| 01 9C 02 00 | 668 | 00668-level3_scripts.AISA }}
| 0x000 || file id || BGCOLOR="#FF0000" | 01 9C 02 00 || 668 || ALIGN=LEFT | 00668-level3_scripts.AISA
{{OBDtr | 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3   | level 3 }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x008 | char[22] |00FF00|       | dead | unused; you can set all to whatever you want }}
| 0x004 || level id || BGCOLOR="#FFFF00" | 01 00 00 06 || 3 || ALIGN=LEFT | level 3
{{OBDtr | 0x01E | int16    |00FFFF| 0D 00       | 13   | array size }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtrBK}}
| 0x008 || unused (22) || BGCOLOR="#00FF00" |   || dead || ALIGN=LEFT | not used; you can set all to whatever you want
{{OBDtr2| 0x000 | char[32] |FFC8C8| unused            | name of ASIA character }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x020 | int16    |FFFFC8| 00 00       | 0   | ID of the character, which you can spawn with the script command *chr_create* }}
| 0x01E || short || BGCOLOR="#00FFFF" | 0D 00 || 13 || ALIGN=LEFT | 13 packages follow (one package is edged in black)
{{OBDtr | 0x022 | int16    |C8FFC8| 00 00       | 0   | flag ID, where Oni spawns the character (works only, if the flag exits; look to [[OBD:BINA/OBJC/FLAG|Flag.BINA]] for a flag list) }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr | 0x024 | int16    |C8FFFF| 00 00       | 0   | unknown }}
| COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
{{OBDtr | 0x026 | int16    |FFC8FF| 00 00       | 0   | unknown }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x028 | link     |FFC800| 01 DF 03 00 | 991 | link to [[OBD:ONCC|00991-konoko_generic.ONCC]] }}
| 0x000 || string (32) || BGCOLOR="#FFC8C8" COLSPAN=2 | not used || ALIGN=LEFT | Name of ASIA character
{{OBDtr | 0x02C | int32    |C800C8| 00 00 00 00 | 0   | unknown; always zero }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr2| 0x030 | char[32] |C87C64| unused            | unknown; never used in Oni }}
| 0x020 || short || BGCOLOR="#FFFFC8" | 00 00 || 0 || ALIGN=LEFT | ID of the character, which you can spawn with the script command "chr_create"
{{OBDtr2| 0x050 | char[32] |B0C3D4| intro             | name of the function, which is called up when Oni spawns the character }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr2| 0x070 | char[32] |E7CEA5| unused            | name of the function, which is called up when the character dies }}
| 0x022 || short || BGCOLOR="#C8FFC8" | 00 00 || 0 || ALIGN=LEFT | flag ID, where Oni spawns the character (works only, if the flag exits; look to [[OBD:Flag.BINA | Flag.BINA]] for a flag list)<BR>(Thanks to geyser who figured that out.)
{{OBDtr2| 0x090 | char[32] |FFDDDD| unused            | name of the function, which is called up when the character notices the player }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr2| 0x0B0 | char[32] |64AAAA| unused            | unknown; never used in Oni }}
| 0x024 || short || BGCOLOR="#C8FFFF" | 00 00 || 0 || ALIGN=LEFT | unknown
{{OBDtr2| 0x0D0 | char[32] |EBEBEB| unused            | name of the function, which is called up when someone hits the character the first time }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr2| 0x0F0 | char[32] |8C8CCC| unused            | name of the function, which is called up when the health of the character is equal 1 }}
| 0x026 || short || BGCOLOR="#FFC8FF" | 00 00 || 0 || ALIGN=LEFT | unknown
{{OBDtr2| 0x110 | char[32] |FF00C8| 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 }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr2| 0x130 | char[32] |F0F096| unused            | unknown }}
| 0x028 || dat link || BGCOLOR="#FFC800" | 01&nbsp;DF&nbsp;03&nbsp;00 || 991 || ALIGN=LEFT | link to 00991-konoko_generic.[[OBD:ONCC | ONCC]]
{{OBDtr | 0x150 | link     |00C864| 00 00 00 00 |unused| link to an [[OBD:ONWC|ONWC]] file }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x154 | int16    |00C8FF| 00 00       | 0   | unknown }}
| 0x02C || long || BGCOLOR="#C800C8" | 00 00 00 00 || 0 || ALIGN=LEFT | unknown; always zero
{{OBDtr | 0x156 | int16    |C80040| FF FF       | -1   | unknown; always the same }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr | 0x158 | int32    |FFCD96| 00 00 00 00 | 0   | unknown; always zero }}
| 0x030 || string (32) || BGCOLOR="#C87C64" COLSPAN=2 | not used || ALIGN=LEFT | unknown; never used in Oni
{{OBDtr | 0x15C | int32    |C8C864| 00 00 00 00 | 0   | unknown; always zero }}
|- ALIGN=CENTER VALIGN=TOP
| 0x050 || string (32) || BGCOLOR="#B0C3D4" COLSPAN=2 | <TT>intro</TT> || ALIGN=LEFT | name of the function, which is called up when Oni spawns the character
|- ALIGN=CENTER VALIGN=TOP
| 0x070 || string (32) || BGCOLOR="#E7CEA5" COLSPAN=2 | not used || ALIGN=LEFT | name of the function, which is called up when the character dies
|- ALIGN=CENTER VALIGN=TOP
| 0x090 || string (32) || BGCOLOR="#FFDDDD" COLSPAN=2 | not used || ALIGN=LEFT | name of the function, which is called up when the character notices the player<BR>(Thanks to Loser who figured that out.)
|- ALIGN=CENTER VALIGN=TOP
| 0x0B0 || string (32) || BGCOLOR="#64AAAA" COLSPAN=2 | not used || ALIGN=LEFT | unknown; never used in Oni
|- ALIGN=CENTER VALIGN=TOP
| 0x0D0 || string (32) || BGCOLOR="#EBEBEB" COLSPAN=2 | not used || ALIGN=LEFT | name of the function, which is called up when someone hits the character the first time
|- ALIGN=CENTER VALIGN=TOP
| 0x0F0 || string (32) || BGCOLOR="#8C8CCC" COLSPAN=2 | not used || ALIGN=LEFT | name of the function, which is called up when the health of the character is equal 1
|- ALIGN=CENTER VALIGN=TOP
| 0x110 || string (32) || BGCOLOR="#FF00C8" COLSPAN=2 | not used || ALIGN=LEFT | 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<BR>(Thanks to Loser who figured that out.)
|- ALIGN=CENTER VALIGN=TOP
| 0x130 || string (32) || BGCOLOR="#F0F096" COLSPAN=2 | not used || ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP
| 0x150 || dat link || BGCOLOR="#00C864" | 00 00 00 00 || not used || ALIGN=LEFT | link to an [[OBD:ONWC | ONWC]] file
|- ALIGN=CENTER VALIGN=TOP
| 0x154 || short || BGCOLOR="#00C8FF" | 00 00 || 0 || ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP
| 0x156 || short || BGCOLOR="#C80040" | FF FF || -1 || ALIGN=LEFT | unknown; always the same
|- ALIGN=CENTER VALIGN=TOP
| 0x158 || long || BGCOLOR="#FFCD96" | 00 00 00 00 || 0 || ALIGN=LEFT | unknown; always zero
|- ALIGN=CENTER VALIGN=TOP
| 0x15C || long || BGCOLOR="#C8C864" | 00 00 00 00 || 0 || ALIGN=LEFT | unknown; always zero
|}
|}
:
 
----
 
:
{{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}}
:

Revision as of 13:16, 19 September 2007

ONI BINARY DATA
AGQR << Other file types >> AITR
AISA : AI Character Setup Array
switch to XML:AISA page
Overview @ Oni Stuff
OBD.png


Aisa a.gif


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 ID, where Oni spawns the character (works only, if the flag exits; look to Flag.BINA for a flag list)
0x024 int16 00 00 0 unknown
0x026 int16 00 00 0 unknown
0x028 link 01 DF 03 00 991 link to 00991-konoko_generic.ONCC
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


ONI BINARY DATA
AGQR << Other file types >> AITR
ASIA : AI Character Setup Array
Level file