Hello people, since in the Kaiserreich mod Britain always decleares war on Denmark I thought that I should make the British AI invade Denmark, but no matter what I do Britain always invaded Morocco with 20 divisions while completelly ignoring Denmark. I even made the British AI ignore the Moroccan coast and made invading Denmark a high priority, but guess what: Britain still ignores Denmark and invaded Morocco instead. It simply drives me nuts.
Here is a part of my British ai:
and here is an AI switch which Britain gets if she is at war with Denmark:
Please help me
Here is a part of my British ai:
###################################
# Invasions and Naval
###################################
invasion = {
invasion = yes
base = 0.1 #Relative modifier. (lower = specific targets much more important.)
random = 0.01 #How big a random range. (1.0 = 1%)
coastal = 0.1 #increase to avoid coastal forts more.
beach = 0.1 #higher, avoid worst beaches.
distance = 1.0 #higher = avoid long distance.
max_distance = 100.0
max_staging_distance = 100 # How far should the staging area be from the target invasion point
pocket = 20.0 #prioritise pockets, ie provinces with no adjacent controlled by same.
island = 0.1 #prioritise taking pure islands.
enemy = 7.0 #higher = much more vary of troops in province.
adjacentenemy = 10.0 #higher = much more vary of troops nearby
air_base = 1.5
naval_base = 0.1
air_support = 3.0
redirect = priority
ignore = no
help_allies = no #[yes/no]
staging_province = {
27 # Portsmouth
23 # Plymouth
13 # Sheiffield
25 # Norwich
26 # Dover
17 # Liverpool
22 # Cardiff
2137 #Newfoundland
2132 #Halifax
2134 #Moncton
1783
1
5
488 #Bergen
483 #Oslo
2153 #Gothenburg
2153 #Malmö
}
target = {
#Denmark
217 = 9000 # Aarlborg
220 = 9000 # Arhus
219 = 9000 # Odense
294 = 9000 # Copenhagen
#Holland
#125 = 3000# Rotterdam
#122 = 3000# Amsterdam
#Flanders
#115 = 3000# Antwerpen
#114 = 3000# Brügge
#Iceland
#1 = 3000
#1783 = 3000
#Canada
#2137 = 6000 #Saint John
#2132 = 6000 #Halifax
#2134 = 6000 #Moncton
#2131 = 8000 #Newfoundland
#2126 = 7000 #Rivière-du-Loup
#Germany
152 = 3000# Kiel
147 = 3000# Kolding
#Ireland
34 = 3000 # Cork
30 = 3000 # Galway
36 = 3000 # Sligo
32 = 3000 # Letterkenny
# Middle East
1004 = -1 # El Arish
1005 = -1 # Sharm el Sheikh
1008 = -1 # Tel Aviv
1019 = -1 # Beirut
1032 = -1 # Basrah
1038 = -1 # Doha
1039 = -1 # Abu Dhabi
1040 = -1 # Dammam
1041 = -1 # Kuwait
1043 = -1 # Khasab
1048 = -1 # Medina
1051 = -1 # El Mukalla
1052 = -1 # Masqat
# MEDITERRANEAN SEA
# -----------------
# Italy
400 = -1 # Venice
409 = -1 # Istanbul
412 = -1 # Ancona
416 = -1 # Anzio
419 = -1 # Rome
422 = -1 # Taranto
427 = -1 # Salerno
429 = -1 # Malta
430 = -1 # Palermo
433 = -1 # Siracuse
434 = -1 # Cagliari
#Greece
370 = -1 # Alexandroupoli
372 = -1 # Patra
377 = -1 # Athens
378 = -1 # Kalymnos
379 = -1 # Rodos
381 = -1 # Ermoupoli
382 = -1 # Irakleio
383 = -1 # Mytilene
#yugoslavia Albania
343 = -1
359 = -1
#Spain Africa Newfoundland
717 = -1
718 = -1
715 = -1
441 = -1
449 = -1
472 = -1
473 = -1
991 = -1
990 = -1
988 = -1
978 = -1
963 = -1
964 = -1
3137 = -1
#Iceland
1 = -1
1783 = -1
#Canada
2137 = -1 #Saint John
2132 = -1 #Halifax
2134 = -1 #Moncton
2131 = -1 #Newfoundland
2126 = -1 #Rivière-du-Loup
}
}
and here is an AI switch which Britain gets if she is at war with Denmark:
# USA D-Day AI File for DH by DB
max_garrison_prop = 0.28
min_garrison_prop = 0.22
###################################
# Ground Combat, Leaders and Garrisons
###################################
garrison = {
home_multiplier = 0.5
overseas_multiplier = 0.5
home_peace_cap = 30
war_zone_odds = 5.0
key_point_prio_mult = 0.3
revolt_risk_mult = 0.3
# PRIORITIES:
beach = 30 # Beach level 2
capital = 50 # Our capital
human_border = 0 # Ignored for allied human players
opposing_alliance = 20 # For neutrals, all alliances are "opposing"
claim_threat = 0 # If we are neutral, countries with claims on us get this
unstable_border = 0 # Bordering countries at war with someone else get this
ignore = {
#218 #Arburg DB
#217 #Arhus
#216 #Kolding
#124 #Leeweden
#122 #Amsterdam
#125 #Rotterdam
#114 #Ghent
#51 #Dunkerque
#53 #Dieppe
#45 #Le Havre
#44 #Caen
#38 #Rennes
#37 #Brest
#39 #Lorient
#57 #Nantes
68 #Cholet
#67 #Mont-de-Marsan
#80 #Perpignan
# 82 #Montpellier
#89 #Marseille
#86 #Toulon
#87 #Nice
717
718
715
441
449
472
473
991
990
988
978
963
964
3137
}
}
###################################
# Invasions and Naval
###################################
invasion = {
invasion = yes
base = 0.1 #Relative modifier. (lower = specific targets much more important.)
random = 0.01 #How big a random range. (1.0 = 1%) DB (0.1 is 10%)
coastal = 0.1 #increase to avoid coastal forts more.
beach = 0.01 #higher, avoid worst beaches.
max_distance = 200.0 #About the distance from Japan to Batavia
max_staging_distance = 200.0 # How far should the staging area be from the target invasion point
distance = 0.01 #higher = avoid long distance.
pocket = 0.02 #prioritise pockets, ie provinces with no adjacent controlled by same.
island = 0.01 #prioritise taking pure islands.
enemy = 0.4 #higher = much more vary of troops in province.
adjacentenemy = 0.2 #higher = much more vary of troops nearby
air_base = 1.5
naval_base = 1.5
#air_support = 3.0
redirect = nearest
ignore = no
help_allies = no #[yes/no]
staging_province = {
1795 #New York
23 #Plymouth
27 #Portsmouth
# 26 #Dover
# 25 #Norwich
348 #Gibraltar
1889 # San Francisco
1734 # Pearl harbour
}
target = {
#Denmark
217 = 8000 #Arborg
220 = 8000 #Arhus
219 = 8000 #Odense
#Norway
491 = 100 #Alesund
485 = 100 #Kristiansand
483 = 100 #Oslo
493 = 100 #Trondheim
495 = 100 #Narvik
#Germany
152 = 10 #Kiel
147 = 10 #Wilhelmshaven
153 = 10 #Rostock
158 = 10 #Stettin
#France
49 = 8000 #Calais
51 = 3000 #Dunkirk
53 = 8000 #Dieppe
44 = 8000 #Caen
46 = 8000 #Bayeux
37 = 800 #Brest
39 = 800 #Lorient
68 = 800 #Bordeaux
69 = 800 #La Rochelle
82 = 600 #Montpellier
86 = 600 #Marseille
# Belgium
114 = 200 #Bruges
115 = 200 #Antwerpen
#Holland
125 = 100 #Rotterdam
122 = 100 #Amsterdam
# Middle East
1004 = -1 # El Arish
1005 = -1 # Sharm el Sheikh
1008 = -1 # Tel Aviv
1019 = -1 # Beirut
1032 = -1 # Basrah
1038 = -1 # Doha
1039 = -1 # Abu Dhabi
1040 = -1 # Dammam
1041 = -1 # Kuwait
1043 = -1 # Khasab
1048 = -1 # Medina
1051 = -1 # El Mukalla
1052 = -1 # Masqat
# MEDITERRANEAN SEA
# -----------------
# Italy
400 = -1 # Venice
409 = -1 # Istanbul
412 = -1 # Ancona
416 = -1 # Anzio
419 = -1 # Rome
422 = -1 # Taranto
427 = -1 # Salerno
429 = 3000 # Malta
430 = -1 # Palermo
433 = -1 # Siracuse
434 = -1 # Cagliari
#Greece
370 = -1 # Alexandroupoli
372 = -1 # Patra
377 = -1 # Athens
378 = -1 # Kalymnos
379 = -1 # Rodos
381 = -1 # Ermoupoli
382 = -1 # Irakleio
383 = -1 # Mytilene
#yugoslavia Albania
343 = -1
359 = -1
717 = -1
718 = -1
715 = -1
441 = -1
449 = -1
472 = -1
473 = -1
991 = -1
990 = -1
988 = -1
978 = -1
963 = -1
964 = -1
3137 = -1
}
}
admiral = {
min_org = 90 # NEW: Percent of org gained back before the unit can leave port
min_dmg = 30 # NEW: Percent of dmg gained back before the unit can leave port
return_org = 80 # NEW: PERCENT OF ORG LOST BEFORE RETURNING TO PORT applies to all fleets/ships
return_dmg = 70 # NEW: PERCENT OF DMG LOST BEFORE RETURNING TO PORT for repairs applies to all fleets/ships
target = { 2636 = 250 2639 = 225 2631 = 200 2414 = 175 2424 = 175 2426 = 175
2195 = 200 2194 = 200 2193 = 175 2192 = 150 2181 = 150 2183 = 150 2185 = 100 2175 = 100
}
base = {
17 # ply
348 #Gibraltar
1734 # Pearl harbour
# 1889 # San Francisco
1886 # San Diego
1812 # Norfolk
1953 # Miami
1795 # New York
1789 # Boston
#1683 # Guam
}
}
Please help me