Post 26 Sep 2011, 03:06 by Lewin
The AI in the Remake isn't as bad as you think it is, if you use the script commands properly it is almost as good as KaM. They place troops in defence positions, and will attack if you set an AI attack command. TAKEALL doesn't work in r2087, (so you must define the number of each troop type to take) but I've implemented it since then. If you attack their troops, they will come after you. If you attack their buildings, they will come to defend them. (as long as there is a defence position with the radius covering the building)
The current limitations of the AI compared to KaM are:
- They do not build
- They will not position troops or attack unless you give them defence positions and attack commands (in KaM the AI can kind of work without any scripting, though not very well)
- They will sometimes pull troops back from an attack if the troops becomes "out of combat" for a few seconds
@GreatWhiteBear: If you are going to make a co-op campaign, you'll need to use defence positions and AI attacks in my mission editor, the KaM Remake editor doesn't allow you to program the AI. If you open a mission in the Remake then save it, it could lose some of the AI commands. (I've since fixed this) You'll need to understand what these commands mean, so I suggest you read the help file in my mission editor or some of the other documentation around.
Please note that the current AI system is temporary and will be rewritten eventually. But that's a huge task so I'm focusing on other features for now, as the temporary system is "okay".
I've been playing a co-op mission with my brother in the Remake. I took the map "stuck in the middle" and modified it so it was both of us against all of the AIs. The AIs attacked us every 20 minutes or so, and while it was not a big challenge, it was fun and the AI felt kind of like KaM. We were using the current repository revision though, so a few things have been fixed since r2087. Most importantly we found and I fixed many bugs in the map editor and game, and we played for many hours with no issues so the game appears to still be quite stable. (I am worried the next demo will have a lot more bugs than r2087 because we've done so much refactoring)
Lewin.