Hi, i want to know how to make the ai to attack my units first then the buildings not to go and attack my money farms and ignore my units
Better AI
#1
Posted 20 February 2015 - 07:41 PM
#2
Posted 20 February 2015 - 07:47 PM
Did you ever tryed 1.08 Brutal ?
"Certainly award of the noob..."
#3
Posted 20 February 2015 - 08:09 PM
its for rotwk or for bfme 2 ? i use rotwk.
#4
Posted 20 February 2015 - 08:12 PM
bfme2 but it's the same did you ever tryed 2.02 ?
"Certainly award of the noob..."
#5
Posted 20 February 2015 - 08:14 PM
no. do you know how to change the ai manualy ?
#6
Posted 20 February 2015 - 08:19 PM
nop yu better go to gr people on gr made the cw patch wich ia very improved you can ask to the bfme2 admin Val he will tell you how if he is not busy with 1.09patch
"Certainly award of the noob..."
#7
Posted 20 February 2015 - 08:34 PM
Hi, i want to know how to make the ai to attack my units first then the buildings not to go and attack my money farms and ignore my units
Hi grunshac,
There are a number of in-depth AI tutorials on our website:
http://www.the3rdage...tem-235?addview
http://www.the3rdage...tem-350?addview
http://www.the3rdage...tem-122?addview
and more, I think.
Further tutorials on setting up your mod can also be found there. If you run into trouble, let us know and we will help.
- grunshac likes this
No fuel left for the pilgrims
#9
Posted 04 May 2020 - 01:13 AM
Hi, i want to know how to make the ai to attack my units first then the buildings not to go and attack my money farms and ignore my units
I know it’s a very old post , but did anyone figure this out ?
This stuff below is a tutorial on 3rd age , but modifying to get INFANTRY 300 and STRUCTURES 0.00 does nothing
AI still likes to go after economy building first , which is why I kinda hate playing BFME2 solo against AI , BFME1 was more realistic
An enemy battalion ignores my battalion , and heroes , and dies trying to get my farm type building down
Unit attack priorities
Ini.big -> data\ini\default\skirmishaidata.iniFirst thing we can change here are attack priorities. This tells computer what will unit attack most likely. Code looks like this ( it is not complete list just part):CombatChainDefinition CavalryCombatChain Unit = CAVALRYTargetTypes = STRUCTURE PIKEMAN CAVALRY ARCHER INFANTRYTargetPriorityModifiers = 50.0 0.0 50.0 150.0 50.0 EndSo basicly this tells computer that all units that are cavalry will attack most likely ARCHERS, then STRUCTURES, CAVALRY or INFRANTRY and if no other target is around the PIKEMAN.TargetTypes = STRUCTURE PIKEMAN CAVALRY ARCHER INFANTRYThis part is hardcoded so make no changes to that.TargetPriorityModifiers = 50.0 0.0 50.0 150.0 50.0Here you can give numbers in the sameorder as type sof target in TargetTypes. The higher numer the higher is priority to attack this type of units. 0.0 means that AI will attack this target only when no other is around. And negative number means that it will not attack that type of targets at all.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users