In short, I have tried to improve the BF2 AI Commander, and due to all the positive feedback from the members of this forum, I believe I have succeeded. When I first created this I thought I would be the only person to ever use it; I was mistaken. A huge Thanks goes out to all the good people at BFSP who have donated their time and energy in testing my work and giving me the feedback I needed to make it better.
The name of this project is "Enhanced Strategic AI",or simply ESAI for short. If you are impatient, the download links are at the bottom of this post.
News: Beta Testers Needed. Read This Post
NOTICE
ESAI is FREE SOFTWARE. It has no copyright or usage license. The only restriction on use of this code is that you may not redistribute it for a fee unless you need to cover the marginal cost of distribution media. The key word is "cost" of the media. You may not use that as an excuse to turn a profit. Individuals who break this rule will be subject to the following vague and non-incriminatory statement of my position:
Don't sell ESAI. You will not make much money, and the consequences of such behavior could possibly be unpleasant for you.
So what exactly is ESAI? It is an alternative approach to BF2 Strategic AI scripting that gives the AI commander more strategy options. ESAI is designed to enhance each team's cohesiveness and overall effectiveness.
The ESAI package is not exclusive to any particular mod. It has been tested with dozens of them. Here are the answers to the most frequently asked questions about ESAI. Please, restrain yourself - I will no longer respond to queries regarding the information below:
- Yes- it works with patch 1.5.
- Yes -it runs smoothly on a dedicated server.
- No- it will not make bots climb ladders.
- No- it will not make bots better drivers.
- No- it will not restore Arty requests to patch 1.5.
INCOMPATBILE MODS
There are none. All mods will work fine with ESAI; I promise.
STABILITY - CRASH ISSUES - SUPPORT
ESAI has now been tested extensively, and it is known to be stable. If you have any crashes related to ESAI, you have almost certainly made a mistake setting it up. Get help from someone who is already using ESAI.
ESAI Features
ESAI includes 4 default strategy sets for use with different styles of maps. Strategy Sets are assigned to specific maps on a per game mode basis,using a specially crafted 'Strategies.ai' file. This file loads the ESAI core code,any required plugins,and the strategy set that is to be applied to the game mode. ESAI does not override the default strategies of any mod. If ESAI is not activated inside a map, then the default strategies are loaded as usual.
New (5/13/2011):
The ESAI core now contains over 30 working strategies. The default Strategy Sets assign 12 strategies to each team, and there are more complex strategy sets available in the user directory tree.
ESAI uses a plugin system to allow coders to craft new strategies without reinventing the wheel. A user written plugin can create a strategy by making use of the conditions and prerequisites already defined by ESAI. Plugin authors can also create their own conditions,prerequisites,or strategies as needed.
There was once a branch of this project written specifically for Forgotten Hope version 2.3. That variant of ESAI is now obsolete; FH2 has made many changes to the mod since then. That version had a several custom strategies specific to fh2 maps that have since changed. You can still use the standard ESAI version with FH2.
DOWNLOAD LINK
ESAI v4.2 Public - Now with new-and-improved documentation:
Download ESAI 4.2 Public Release
ESAI v4.1 was exactly the same as v4.2 except for the included documentation. If you are still using 4.1 there is no real reason to download version 4.2, unless you want to read more details about how the code works
I have noticed some spam websites that have posted ESAI crap download links. They are using the typical tricks of posting a zoo of different and confusing d/l options and buttons etc, seems they mostly lead to that site's "automated download assistant", which is of course an executable that is dubious in nature - read "possible spyware". I give this warning for people who may have discovered an older cached version of this post, and took the extra step of coming here to see what has changed.
End Note:
I have retired from the BF2 world. If you have read this entire post then the requirements for redistributing ESAI should be clear.
BobTheDinosaur has been kind enough to agree to take charge of all ESAI permission requests. (Thanks again man). He has full power of attorney over this project, and speaks on my behalf. If you are still unsure if you can use ESAI with your own project, ask him for permission.
Any future changes BobTheDinosaur decides to make to the rules I have posted must be respected. A minor change has already occured - you now have to credit me if you use ESAI in your mod. I see no problem with that. If for some reason you submit a request and it is denied, his decision is non-negotiable, so don't bother to argue with him.
That said, Please do not pester him overmuch with personal requests for Technical Support. If you are having problems with ESAI setup I would encourage you to post your questions in this topic; there is a high probablity that the BFSP community will help you out.
On a personal note, I would prefer that authors of mods that are strictly AI enhancements not include ESAI as part of their project, but that isn't strictly a rule. As far as that goes, anyone is welcome to try and expand on ESAI or Improve it , but it would be nice if you renamed it slightly in order to make a distinction between my work and yours. Nothing elaborate, just add an extra letter to the name or whatever. This isn't an actual rule either, it is only my preference.
Enjoy your game!!!


