PDA

View Full Version : Making the AI a little tougher


eddieballgame
08-07-2005, 10:02
Two simple modifications in an attempt to "help" the AI are as follows---would appreciate any thoughts on these changes.

1. Removed all -negative #s- to all Units; total of 5 with -2

2. Edited the Difficulty file as follows

[easy]
; economy_tick = 12000
economy_tick = 60000
military_tick = 10000
min_invade_army_squads = 4 changed to 7
min_defend_army_squads = 3 changed to 4
max_invade_armies = 3 changed to 5
invade_levels = 1, 2, 5, 8
conquer_last_realm = 3

[normal]
; economy_tick = 7500
economy_tick = 45000
military_tick = 6000
min_invade_army_squads = 6 changed to 9
min_defend_army_squads = 3 changed to 7
max_invade_armies = 5 changed to 7
invade_levels = 2, 5, 5, 8, 12, 30
conquer_last_realm = 20

[hard]
; economy_tick = 5000
economy_tick = 30000
military_tick = 5000
min_invade_army_squads = 6 changed to 9
min_defend_army_squads = 5 changed to 9
max_invade_armies = 12
invade_levels = 1, 5, 3, 12, 10, 40
conquer_last_realm = 80

Elvain
08-07-2005, 10:21
I would recomend you to post it in modding section :wink:

nice attempt however

Angryminer
08-07-2005, 17:01
I moved it over to the modding-forum. :go:

Angryminer

maladominus
09-07-2005, 11:39
What files are these modifiations saved to?

Angryminer
09-07-2005, 12:19
The second change is obviously in ../Knights if Honor/defs/difficulty.in2. But I didn't quite understand what the first change is about, so I have no clue in which file it should be edited.

Angryminer

Jabba
09-07-2005, 22:48
What do these changes do exactly?

eddieballgame
10-07-2005, 06:42
Sorry, I meant removed the negative #'s to the unit morale (unit.txt) The reason for this was to strenghten the peasants for the AI' sake. Besides, why penalize the morale for any troop type? The "in game" adjustments based on battles etc, will take care of this.

maladominus
10-07-2005, 06:54
What do these changes do exactly?

He is trying to make the AI more competitive.

He wants to remove the morale penalties to the CRAPPY units like Peasants and Slavonic Bowmen, because the AI likes to use crappy units (e.g. peasants) all the time.

And since, most players will always prefer to use superior units instead of peasants and slavonic bowmen, what he is doing is he is making the Peasants stronger, so their overall performance will be stronger versus the Players.

Jabba
10-07-2005, 09:48
I mean: What do each of the lines in the difficulty file mean? What is the "economy tick", "the military tick", etc?

dearmad
04-01-2006, 09:14
No answer on this? I know, old post, but still...

Doux
04-01-2006, 13:20
The file itself gives some information about it, too, but:

militairy_tick = 5000 means that there are 5000 milliseconds or 5 seconds between decisions by the militairy AI. The same goes for economy. Setting this to 1 doesn't improve the AI, however, because it will keep changing 'course'; result would be a decisionless AI, I heard from Angryminer.