Posted: Mon Jan 06, 2014 8:35 pm Post subject:
Undeploy units by AI
Hi there,
is it possible to tell the AI via script to reuse deployed units, for example tick tanks? It's really annyoing that AI players produce new tick tanks / artilleries instead of using existing ones and simply undeploy them. QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Mon Jan 06, 2014 9:25 pm Post subject:
Nope. Once deployed they won't move again unless forced to. In example, in case of Artilleries, when an enemy firing on them is within it's minimum range, they will undeploy and move to get to a better firing position. As for Tick Tanks the opposite: when being fired upon from out of their range they will undeploy to get closer.
This gave some nice problems with the AI in TI with the deployed AA mode of the Railgun Tank: standard AI logic is to deploy to use the better weapon, not knowing it then only has an AA weapon, making it useless. Our solution was to make an AI-only copy that didn't had the secondary deploy weapon, just the primary anti-ground weapon. Of course, in case of artilleries this isn't useful, but for Tick Tanks it can be handy to have an AI-only copy which doesn't deploy QUICK_EDIT
Posted: Fri Jan 10, 2014 10:54 am Post subject:
AI and aircraft units
I have another question about the AI.
The following TaskForce should be build by AI, if the enemy has a certain amount of harvesters. The problem is, that the AI attacks either very rarely (but only 1 or 2 times and then stops) or never. If I edit the TaskForce and give it only 1 light infantry, it works without any problems (AI build the TaskForce constantly and replace it instantly if it get destroyed). I will post my AI.INI settings.
[TaskForces]
000=09020001-G ;it's the only TaskForce for testing
TeamDelays=1,1,1 ;2250,2700,3600 ; interval between checking for and creating teams, by difficulty level
AIHateDelays=2250,2700,3600 ;5400,4500,4050 ; delay in frames before the computer chooses an enemy, by difficulty level
FillEarliestTeamProbability=100,100,100 ;100,80,60 ; (by difficulty level, from hardest to easiest)
MinimumAIDefensiveTeams=0,0,0 ; (by difficulty level, from hardest to easiest)
MaximumAIDefensiveTeams=0,0,0 ; " "
TotalAITeamCap=100,100,100 ;16,14,12 ; (by difficulty level, from hardest to easiest)
UseMinDefenseRule=no ;yes
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum