Ok, I'm ready to release something which changes quite a bit the way siege AI works. Here is the ladder section of the battle_config xml file with the new values:
Code:
<!-- should run be the default? -->
<default-run>1</default-run>
<!-- start distance for the blockout region -->
<entry-blockout-inner>0.0</entry-blockout-inner>
<!-- end distance for the blockout region -->
<entry-blockout-outer>225.0</entry-blockout-outer>
<!-- limit on number of soldiers in the blockout region -->
<number-in-blockout>2</number-in-blockout>
<!-- distance soldiers should stop at if the entrance is blocked (in metres squared) -->
<stand-off-distance>324.0</stand-off-distance>
<!-- distance within which soldiers will step onto the line (in metres squared) -->
<step-on-distance>400.0</step-on-distance>
<!-- queue length limit before movement will be stopped (in number of soldiers -->
<maximum-queue-length>10</maximum-queue-length>
<!-- distance soldiers should stop at if the queue is too long (in metres squared) -->
<long-queue-stand-off-distance>324.0</long-queue-stand-off-distance>
<!-- when the entrance to a line is blocked all of the soldiers are stopped. -->
<!-- once the entrance is clear then the first x soldiers will be restarted moving. x is set below -->
<restart-threshold>10</restart-threshold>
<!-- when the entrance to a line is block any soldiers beyond this position in the queue will be halted. -->
<halt-threshold>-1</halt-threshold>
<!-- do the soldiers have to enter in a precise order? -->
<precise-order>1</precise-order>
Essentially, the critical point is having the step-on-distance higher than the other variables. What this does is it means all units waiting to get onto the ladder at the start of a siege are considered within the step-on-distance before the other variables which can cause them to halt kick in. The net result in the AI being able to get all/nearly all of its soldiers up to the walls at the first attempt. There are situations where this won't always happen, but for the majority this works pretty well every time.
Also included is the same trick for the siege engines, so soldiers should climb the siege engine quicker.
Have fun and be prepared to sweat under AI sieges.
Feedback always appreciated.
Find the modified battle_config file here:
http://www.twcenter.net/forums/showt...11#post1395211
Bookmarks