Can anyone describe the benefits of scripted A.I ? I have always been very sceptical about it. It seems like the lazy way to go when not managing to create a dynamical A.I. A scripted A.I for me is an opponent which are very inflexible in handling unpredicted player moves. Or one that is cheating by already knowing where, when and which strength the player will have at a give point.
Hi, good question.
Well, first off, the AI doesn't cheat, and has no more knowledge than you do when planning its moves.
I did original try and create a dynamic AI and did it for the defense (it choose its own line of defense using terrain etc) but defense is one think but attack? That's an entire different kettle of fish. That'd be a Rommel AI in effect.
So why scripted AI?
By "scripted" I do not mean every unit has its orders plotted in advance.
The scenario creator does the AI 'strategic plan'. The AI has tactical controls over the units.
The script orders "Organisations" to move / attack (e.g. a Brigade or entire Division -> though it can also give orders to individual units)
So the AI might have a script to say "21 Panzer attack north" and all individual orders for each unit would be done by the AI (deciding what enemies to attack, how to position its units, how to allocate air / artillery etc).
The script is also responsive. E.g. it could be "if British attack south then 21 Panzer... " etc.
And also has priority scripts and random chance of scripts being activated etc.
Frankly, now that I've done it, I prefer it because it means the Scenario Creator can make (or not) Rommel attack in exactly the same way as he did. The Scenario creator can make the AI as simple or as complicated as he likes.
Sure, it'd be nice to have the AI do the whole shebang regardless of terrain, deployment, number of units and their strengths etc, but its strategy would never match that produced by a good Scenario Creator...(one can of course "force" an non-scripted AI to do certain things like in attack in a direction by using Victory Locations to influence the AI, but then if you're going to do that, then why not talk to the AI directly with scripts rather than indirectly though victory locations)...
< Message edited by Saint Ruth -- 3/23/2018 1:38:40 PM >