#How do you change enemies with specific AI?

18 messages · Page 1 of 1 (latest)

spare solar
#

For example, Enemy ID 733. This is Odin from special battles. The only skill it has is All Amp passive. Despite that, he actually uses wild thunder, riot gun, thunder reign and concentrate (and in that order, it seems). As far as I know enemies also can have AI assigned to them, though I'm not sure how to edit it either.

#

How do you change enemies with specific AI?

winter mica
#

battle/table/elsai.tbl

#

if you look through that with the tbl binary template and find the enemy id

#

there is a bit that says AI ID

#

that number lines up with the .bf files in battle/enemy/script/

#

though after saying that i checked 733 and it dosent have an AI ID

#

I'm actually completely stumped here

#

just checked both the script logger and file calls

#

neither of them show anything when starting the fight, he but you are right he should only have all amp

#

all enemies in that fight have the same situation

#

no scripts tied to them but no skills

#

only consolation i have here is that you can manually change the ai to use different skills

#

but you would have to rewrite it if you wanted it to act normally

spare solar
#

Still helpful, thank you!

#

(don't close yet rudiger, I want to do some more research)

spare solar
#

Right so the moves of an enemy without an AI are governed by these bits. Here on screenshot, for example, I copied bits from 734 (Thor's special battle AI) and Odin started to act like Thor. These bits refer to the second segment of elsai though so far no idea how to change them.

spare solar
#

...and that's about it. Some of those actions seem to specify a skill the AI uses, and you can even change it, but not always changing the skill helps. Nor does it stop the AI from using a skill not specified in action. I can only assume an action can point to another action.
The most useful I managed to find is that leaving actions on just 1710, like on screenshot. This causes an infinite Charge-Attack loop. Can be useful for further research.