OBD:AISA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
(There's no point to have that dialog here, it does not have fields for script functions but it has fields that are not in AISA. It's likely that there never was a dialog for AISA.)
Line 20: Line 20:
{{OBDtr2| 0x02C | char[32] |C87C64| unused            | unknown; never used in Oni }}
{{OBDtr2| 0x02C | char[32] |C87C64| unused            | unknown; never used in Oni }}
{{OBDtr | 0x04C | int32    |C800C8| 00 00 00 00 | 0    | unknown; always zero }}
{{OBDtr | 0x04C | int32    |C800C8| 00 00 00 00 | 0    | unknown; always zero }}
{{OBDtr2| 0x050 | char[32] |B0C3D4| intro              | name of the function, which is called up when Oni spawns the character }}
{{OBDtr2| 0x050 | char[32] |B0C3D4| intro              | name of the function which is called up when Oni spawns the character }}
{{OBDtr2| 0x070 | char[32] |E7CEA5| unused            | name of the function, which is called up when the character dies }}
{{OBDtr2| 0x070 | char[32] |E7CEA5| unused            | name of the function which is called up when the character dies }}
{{OBDtr2| 0x090 | char[32] |FFDDDD| unused            | name of the function, which is called up when the character notices the player }}
{{OBDtr2| 0x090 | char[32] |FFDDDD| unused            | name of the function which is called up when the character notices the player }}
{{OBDtr2| 0x0B0 | char[32] |64AAAA| unused            | unknown; never used in Oni }}
{{OBDtr2| 0x0B0 | char[32] |64AAAA| unused            | alarm function name; see [[CHAR]] }}
{{OBDtr2| 0x0D0 | char[32] |EBEBEB| unused            | name of the function, which is called up when someone hits the character the first time }}
{{OBDtr2| 0x0D0 | char[32] |EBEBEB| unused            | name of the function, which is called up when someone hits the character the first time }}
{{OBDtr2| 0x0F0 | char[32] |8C8CCC| unused            | name of the function, which is called up when the health of the character is equal 1 }}
{{OBDtr2| 0x0F0 | char[32] |8C8CCC| unused            | name of the function, which is called up when the health of the character is equal 1 }}
{{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 }}
{{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 }}
{{OBDtr2| 0x130 | char[32] |F0F096| unused            | unknown }}
{{OBDtr2| 0x130 | char[32] |F0F096| unused            | no path function name; see [[CHAR]] }}
{{OBDtr | 0x150 | link    |00C864| 00 00 00 00 |unused| link to an [[OBD:ONWC|ONWC]] file }}
{{OBDtr | 0x150 | link    |00C864| 00 00 00 00 |unused| link to an [[OBD:ONWC|ONWC]] file }}
{{OBDtr | 0x154 | int16    |00C8FF| 00 00      | 0    | weapon ammo }}
{{OBDtr | 0x154 | int16    |00C8FF| 00 00      | 0    | weapon ammo }}
Line 38: Line 38:
|}
|}


;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 09:14, 27 May 2008

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 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 team ID (see CHAR for possible values)
0x028 link 01 DF 03 00 991 link to 00991-ONCCkonoko_generic
0x02C char[32] unused unknown; never used in Oni
0x04C int32 00 00 00 00 0 unknown; always zero
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 alarm function name; see CHAR
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 no path function name; see CHAR
0x150 link 00 00 00 00 unused link to an ONWC file
0x154 int16 00 00 0 weapon ammo
0x156 int16 FF FF -1 unknown; always the same
0x158 int16 00 00 0 unknown; always zero
0x15A int16 00 00 0 unknown; always zero
0x15C int16 00 00 0 unknown; always zero
0x15E int8 00 0 unknown; always zero
0x15F int8 00 0 unknown; always zero


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