OBD:AISA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(correct me if I'm wrong (CMIIW))
(I was wrong)
Line 1: Line 1:
{{OBD_File_Header | type=AISA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level | desc=The '''AISA''' file contains some of the most basic and useful information on a particular instance of a type of enemy. For instance, each green Striker on a level of Oni would have their own AISA instance. This is where the official internal name of the character is set (used in scripting), their team, what flag they spawn at, what weapon they possess, etc. | align=center}}
{{OBD_File_Header | type=AISA | prev=AGQR | next=AITR | name=AI Character Setup Array | family=Level | desc=The '''AISA''' file is semi-obsolete. It originally contained some of the basic and useful information on a particular instance of a type of enemy. This file's function was replaced by the much more sophisticated [[OBJC]] file type, but AISA was then re-purposed for cutscene characters. | align=center}}





Revision as of 22:57, 27 August 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 AISA 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 ignored
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 ignored
0x04C int32 00 00 00 00 0 ignored
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 ignored
0x158 int16 00 00 0 ignored
0x15A int16 00 00 0 ignored
0x15C int16 00 00 0 ignored
0x15E int8 00 0 ignored
0x15F int8 00 0 ignored


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