OBD:AISA: Difference between revisions

m
ref. Oni_AI_Setup.h, lines 53-86; Oni_AI_Script.h, lines 51-62...
(took a moment to check whether ONWC links work at all)
m (ref. Oni_AI_Setup.h, lines 53-86; Oni_AI_Script.h, lines 51-62...)
Line 10: Line 10:
{{OBDtr | 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr | 0x004 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr | 0x008 | char[22] |00FF00|        | dead | unused; you can set all to whatever you want }}
{{OBDtr | 0x008 | char[22] |00FF00|        | dead | unused; you can set all to whatever you want }}
{{OBDtr | 0x01E | int16   |00FFFF| 0D 00      | 13  | array size }}
{{OBDtr | 0x01E | uint16   |00FFFF| 0D 00      | 13  | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr2| 0x000 | char[32] |FFC8C8| unused            | name of AISA character }}
{{OBDtr2| 0x000 | char[32] |FFC8C8| unused            | name of AISA character }}
{{OBDtr | 0x020 | int16   |FFFFC8| 00 00      | 0    | ID of the character, which you can spawn with the script command [[chr_create]] }}
{{OBDtr | 0x020 | uint16   |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 where character is spawned; must be a valid flag ID (from the [[OBD:BINA/OBJC/FLAG|BINACJBOFlag]] collection) }}
{{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    | ignored }}
{{OBDtr | 0x024 | uint16   |C8FFFF| 00 00      | 0    | flags; ignored }}
{{OBDtr | 0x026 | int16   |FFC8FF| 00 00      | 0    | team ID (see [[CHAR]] for possible values) }}
{{OBDtr | 0x026 | uint16   |FFC8FF| 00 00      | 0    | team ID (see [[CHAR]] for possible values) }}
{{OBDtr | 0x028 | link    |FFC800| 01 DF 03 00 | 991  | link to [[OBD:ONCC|00991-ONCCkonoko_generic]]; must be a valid ONCC; replaced with first available ONCC if missing }}
{{OBDtr | 0x028 | link    |FFC800| 01 DF 03 00 | 991  | link to [[OBD:ONCC|00991-ONCCkonoko_generic]]; must be a valid ONCC; replaced with first available ONCC if missing }}
{{OBDtr2| 0x02C | char[32] |C87C64| unused            | ignored  }}
{{OBDtr2| 0x02C | char[32] |C87C64| unused            | variable, which is affected on game events; ignored  }}
{{OBDtr | 0x04C | int32   |C800C8| 00 00 00 00 | 0    | ignored  }}
{{OBDtr | 0x04C | uint32   |C800C8| 00 00 00 00 | 0    | script flags; ignored  }}
{{OBDtr2| 0x050 | char[32] |B0C3D4| intro              | script event called when character is created; see [[CHAR]] }}
{{OBDtr2| 0x050 | char[32] |B0C3D4| intro              | script event called when character is created; see [[CHAR]] }}
{{OBDtr2| 0x070 | char[32] |E7CEA5| unused            | script event called when the character dies; see [[CHAR]]... }}
{{OBDtr2| 0x070 | char[32] |E7CEA5| unused            | script event called when the character dies; see [[CHAR]]... }}
Line 29: Line 29:
{{OBDtr2| 0x130 | char[32] |F0F096| unused            | script event supposed to be called when the character can't pathfind }}
{{OBDtr2| 0x130 | char[32] |F0F096| unused            | script event supposed to be called when the character can't pathfind }}
{{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 (in %?) }}
{{OBDtr | 0x154 | uint16   |00C8FF| 00 00      | 0    | weapon ammo (in %?) }}
{{OBDtr | 0x156 | int16   |C80040| FF FF      | -1  | ignored  }}
{{OBDtr | 0x156 | uint16   |C80040| FF FF      | -1  | number of ammo(?) to drop; ignored  }}
{{OBDtr | 0x158 | int16   |FFCD96| 00 00      | 0    | ignored  }}
{{OBDtr | 0x158 | uint16   |FFCD96| 00 00      | 0    | number of clips to drop; ignored  }}
{{OBDtr | 0x15A | int16   |FFCD96| 00 00      | 0    | ignored  }}
{{OBDtr | 0x15A | uint16   |FFCD96| 00 00      | 0    | number of hypos to drop; ignored  }}
{{OBDtr | 0x15C | int16   |C8C864| 00 00      | 0    | ignored  }}
{{OBDtr | 0x15C | uint16   |C8C864| 00 00      | 0    | number of cells to drop; ignored  }}
{{OBDtr | 0x15E | int8    |C8C864| 00         | 0    | ignored  }}
{{OBDtr | 0x15E | char[2] |C8C864| 00 00         | 0    | padding }}
{{OBDtr | 0x15F | int8    |C8C864| 00         | 0    | ignored  }}
|}
|}
;Player character
;Player character
279

edits