Jump to content

Changing AI in FE4


Guy Starwind
 Share

Recommended Posts

Am I able to change the AI in FE4. For example lets say I don't want Aeron (however, you spell his name) to follow Altenna. I want him and his men to attack the enemies on their own. Am I able to do that or something similar?

Link to comment
Share on other sites

FE4 AI is unusual. In the army unit editor, each enemy is assigned a home castle and a squad. Each squad has its own AI settings, so you're able to change enemy AI by putting them in a different squad.

Link to comment
Share on other sites

The same would apply to ally units, apart from the fact they normally only have one squad, meaning there's nothing really to swap their AI to.

Link to comment
Share on other sites

as far as I know enemy AI is determined through event stuff (especially in areone's case there) and isn't easily changed, I believe one of the bytes in the army data determines their actions but it seems like it's variable per chapter?

one of the bytes does seem like it makes units either attack until dead (01), stay put (02), attack villages (03) stay put until in range (04)

but I'm only looking at chapter 1 on this, some other chapters (like 5) seem to do things differently, but 01 and 02 seem to be the same throughout

Edited by Lorena
Link to comment
Share on other sites

So, each one of these numbers determines what they'll do? I might fart around with it a little more and see if I can't make something happen. Thanks.

remember I only gave values for that particular byte

and it's not too difficult to test out really, you'll need to restart the chapter every time to test though (AI is loaded only when spawned)

also in case you didn't know I recommend using the map editor to edit enemy unit placement and misc things like AI and such, very thorough and better than nightmare

Edited by Lorena
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...