• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(14856)

First Lieutenant
Feb 18, 2003
234
0
Visit site
Same as always ;)
As soon as the US works there will be the time to adjust the japanese.

In my test games the Japan ai is actually quite good at doing what it is told, it will attack all its target invasion sites and it will reinforce those sites quickly.
 

jgbaxter

HoI 2 Beta Tester
43 Badges
Aug 3, 2003
734
0
  • Age of Wonders
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Stellaris
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Cities in Motion 2
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
One other thing I've noticed about Japan, they don't seem to defend their Home Provinces as much as they should.

Here's a random idea (useful maybe for all AI nations);

Set the AI to defend provinces based on their value;

For example...

All home provinces are 1

Ports & Beaches +1

VP values, +1 per X VP (x being a number that won't destroy the concept like +1 for each 2 VP for example)

Capital +5


This could also extrapolate to non-home provinces, but I was just trying to convey my basic thoughts.

:)
 

PB-DK

Former Paradox Fan
61 Badges
Aug 26, 2003
1.817
82
Visit site
  • Mount & Blade: Warband
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Hearts of Iron II: Beta
  • Pride of Nations
  • Rome Gold
  • Mount & Blade: With Fire and Sword
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: No Step Back
  • For the Motherland
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • For The Glory
  • Arsenal of Democracy
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
standard Japan Ai file...

#
# Hearts of Iron
#
# By Trip
# Mod by ze Evil Overlord
#
# Standard Japan AI file
#

# 100 = Total warmonger, 0 = absolute pacifist
war = 70
strat_redeploy_threshold = 30

influence = {
AFG ARG BOL CHC CHI IRQ MAN MON PAR PER POR SIA TAN TIB TUR
}
construction = {

max_factor = 0.3

max_AA = 2
AA_batteries = atwar
max_AA_level = 5

coastal_fort = atwar
max_coastal_level = 5

ic_at_war = yes
force_ic_until = 1939
ic_end_year = 1943
}

military = {

relative_build_scheme = yes

infantry = 35
cavalry = 5
motorized = 5
mechanized = 0
panzer = 1
paratrooper = 0
marine = 10
bergsjaeger = 4
# 60 %

fighter = 8
strategic_bomber = 0
tactical_bomber = 3
naval_bomber = 3
dive_bomber = 3
transport_plane = 0
torpedo_plane = 3
# 20 %

battleship = 2
carrier = 3
destroyer = 8
cruiser = 4
submarine = 3
transports = 5
# 25 %
}

technology = {

endgoal = {}
preference = {

3100 3101 3103 3300 3101 3302 3602 3970 3972 3971 3973 3974 3804 3600 3800 3801 3802 3803 3940 3941 3942 3943 #Computers

14014 14015 14016 14402 14403 #Naval Guns

9103 9505 9803 #Torpedo Bombers

9106 9508 9806 #Naval Bombers

11003 11100 11104 11200 11203 11205 11300 11301 11303 11400 11401 11404 11406 11500 #Land doctrines that DO NOT focus on armor/mechanized/motorized

}

electronics = 2.8
armor = 1.7
infantry = 4.0
industry = 6.0
rocket = 0.6
nuclear = 0.1
heavy_aircraft = 3.4
light_aircraft = 3.4
naval = 5.6
submarine = 2.3
artillery = 4.2
naval_doctrine = 5.4
land_doctrine = 3.0
air_doctrine = 4.9
}

garrison = {

# OVERSEAS DISTRIBUTION:
defend_overseas_beaches = yes
# overseas_multiplier = 1.0 # Default is 0.3333
home_peace_cap = 6
area_multiplier = {
1562 = 3.0 # Saishu - i.e. 2x basic division need on the mainland.

# This works really well, but Japan tends to have trouble with China without those garrison troops
1919 = 1.0 # Kwajalein
1812 = 2.0 # Bonin Islands
1998 = 1.0 # Palau
1996 = 1.0 # North Solomon Islands
1804 = 1.5 # Manila
}

# PRIORITIES:
beach_1 = 50 # Beach level 1
beach_2 = 50 # Beach level 2
beach_3 = 50 # Beach level 3
capital = 75 # Our capital
human_border = 0 # Ignored for allied human players
war_target = 220 # The next country targeted for attack by this AI

opposing_alliance = 150 # For neutrals, all alliances are "opposing"
claim_threat = 100 # If we are neutral, countries with claims on us get this
unstable_border = 50 # Bordering countries at war with someone else get this

# Borders with specific countries
country_priorities = {
CHI = 150
SOV = 50
ENG = 100
USA = 150
}

key_point_prio_mult = 2

}

front = {
recklessness = 2 # 0-3
distrib_vs_ai = even
distrib_vs_human = reactive

enemy_reinf_days = 6

reserve_prop = 0.3
panic_ratio_vs_ai = 2.0
panic_ratio_vs_human = 1.5
base_attack_odds = 2.5
min_attack_odds = 1.0
max_attack_odds = 4.5
reinforce_odds = 1.1
withdraw_odds = 0.5

passivity = {
SOV = 90
}
}

invasion = {

base = 1.0 #Relative modifier. (lower = specific targets much more important.)
random = 50.0#How big a random range. (1.0 = 1%)
coastal = 1.0 #increase to avoid coastal forts more.
beach = 1.0 #higher, avoid worst beaches.
distance = 1.0 #higher = avoid long distance.
pocket = 1.0 #prioritise pockets, ie provinces with no adjacent controlled by same.
island = 1.0 #prioritise taking pure islands.
enemy = 10.0 #higher = much more wary of troops in province.
adjacentenemy = 1.0 #higher = much more wary of troops nearby

target = {

# China
1621 = 300
1698 = 400 # Shanghai
1703 = 400 # Kowloon
1724 = 400 # Haikou
1700 = 200 # Zhanjiang
1702 = 200 # Bobai
1622 = 100 # Jinan
1699 = 100 # Nantong
1562 = 200 # Jinzhou
}
}

bomber = {

#defensive fighter ai factors

defensiveIC = 2.0
recentlyBombed = 8.0
protectOil = 2.0
protectCoal = 1.0
protectSteel = 2.0
protectRubber = 2.0

#Evaluation factors for determening which landarea to be strategically bombarded.

areaSize = 1.0 # size of area.
areaDistance = 1.0 # distance
adjacency = 1.0 # if its neighbor to us.

#Evaluate which province to get a bombing mission.

targetIC = 9.0 #destroy NatChi industry base
avoidAA = 5.0 #lots of other targets in the area
targetCoal = 1.0
targetSteel = 1.0
targetOil = 5.0
targetRubber = 5.0
occupied = 20

}


admiral = {
target = {
1698 = 500 # Shanghai
1679 = 500
1680 = 500
1682 = 500
1686 = 500
1687 = 500
1720 = 1000
1721 = 500
1719 = 500
1723 = 100
1738 = 100
1718 = 100
1685 = 100
1826 = 100
1670 = 100
2001 = 100
}

}
 

PB-DK

Former Paradox Fan
61 Badges
Aug 26, 2003
1.817
82
Visit site
  • Mount & Blade: Warband
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Hearts of Iron II: Beta
  • Pride of Nations
  • Rome Gold
  • Mount & Blade: With Fire and Sword
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: No Step Back
  • For the Motherland
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • For The Glory
  • Arsenal of Democracy
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
Japan_sea ai file...
*edit passivity
#
# Hearts of Iron
# Mod by ze EVIL Overlord
#
# Japan loses interest in China
#

# 100 = Total warmonger, 0 = absolute pacifist
war = 100
combat = { PHI ENG HOL INO USA }
strat_redeploy_threshold = 20
max_front_ratio = 3
max_garrison_prop = 0.5
min_garrison_prop = 0.1

influence = {
MAN SIA GER ITA
}

construction = {

max_factor = 0.3
max_AA = 2
AA_batteries = yes
max_AA_level = 5
coastal_fort = atwar
max_coastal_level = 5
ic_at_war = yes
ic_end_year = 1943
}

military = {

relative_build_scheme = yes

infantry = 30
cavalry = 3
motorized = 4
mechanized = 0
panzer = 1
paratrooper = 0
marine = 15
bergsjaeger = 2
# 55 %

fighter = 8
strategic_bomber = 0
tactical_bomber = 3
naval_bomber = 3
dive_bomber = 3
transport_plane = 0
torpedo_plane = 3
# 20 %

battleship = 2
carrier = 3
destroyer = 7
cruiser = 5
submarine = 3
transports = 5
# 25 %
}

technology = {

endgoal = {}
preference = {

14014 14015 14016 14402 14403 #Naval Guns

9103 9505 9803 #Torpedo Bombers

9106 9508 9806 #Naval Bombers

11003 11100 11104 11200 11203 11205 11300 11301 11303 11400 11401 11404 11406 11500 #Land doctrines that DO NOT focus on armor/mechanized/motorized

}

electronics = 3.5
armor = 0.5
infantry = 4.0
industry = 2.0
rocket = 0.1
nuclear = 0.1
heavy_aircraft = 2.0
light_aircraft = 4.0
naval = 4.0
submarine = 1.0
artillery = 4.0
naval_doctrine = 4.0
land_doctrine = 4.0
air_doctrine = 2.0
}

garrison = {

# OVERSEAS DISTRIBUTION:
defend_overseas_beaches = yes
home_peace_cap = 6
area_multiplier = {
1762 = 2.0
1490 = 2.0
1804 = 2.0
}

# PRIORITIES:
beach_1 = 50 # Beach level 1
beach_2 = 50 # Beach level 2
beach_3 = 50 # Beach level 3
capital = 50 # Our capital
human_border = 0 # Ignored for allied human players
war_target = 200 # The next country targeted for attack by this AI

opposing_alliance = 100 # For neutrals, all alliances are "opposing"
claim_threat = 100 # If we are neutral, countries with claims on us get this
unstable_border = 20 # Bordering countries at war with someone else get this

# Borders with specific countries
country_priorities = {
CHI = 50
SOV = 25
ENG = 100
AST = 75
NZL = 50
HOL = 75
INO = 75
USA = 100
SIA = -1
MAN = -1
SIK = -1
MON = -1
TAN = -1
FRA = 10
}

key_point_prio_mult = 2

province_priorities = {

# Japanese Sphere
1812 = 225 # Bonin Islands (Iwo Jima)
1937 = 200 # Mariane Islands
2002 = 200 # Caroline Islands
2001 = 225 # Truk Islands
1919 = 200 # Kwajalein
1923 = 200 # Marshall Islands

# Philipines
1804 = 200 # Manilla
1976 = 100 # Davao

# Indonesia
1950 = 100 # Surubaya

# Mid Pacific
1942 = 100 # Guam
1889 = 100 # Wake

# Singapore
1762 = 1000 # Kota Baharu
1765 = 1000 # Kuala Lumpur
1766 = 1000 # Singapore

# South Pacific
40 = 100 # Gilbert Islands
1991 = 100 # New Ireland
1966 = 100 # North Solomon Islands
2119 = 100 # South Solomon Islands
}

}

front = {
recklessness = 3 # 0-3
distrib_vs_ai = even
distrib_vs_human = even

enemy_reinf_days = 6

reserve_prop = 0.3
panic_ratio_vs_ai = 2.0
panic_ratio_vs_human = 1.5
base_attack_odds = 2.5
min_attack_odds = 1.0
max_attack_odds = 4.5
reinforce_odds = 1.1
withdraw_odds = 0.5

passivity = { # Few new offensives
CHI = 25
CHC = 50
SOV = 90
MON = 90
}
}

invasion = {

base = 0.1 #Relative modifier. (lower = specific targets much more important.)
random = 8.0 #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 = 0.1 #higher = avoid long distance.
pocket = 2.0 #prioritise pockets, ie provinces with no adjacent controlled by same.
island = 4.0 #prioritise taking pure islands.
enemy = 1.0 #higher = much more vary of troops in province.
adjacentenemy = 1.0 #higher = much more vary of troops nearby

target = {

# United States
92 = 50 # Los Angeles

# Japanese Sphere
1812 = 1500 # Bonin Islands (Iwo Jima)
1937 = 1500 # Mariane Islands
2002 = 1500 # Caroline Islands
1923 = 1200 # Marshall Islands

# Philipines
1800 = 2000 # Bagiuo
1976 = 2000 # Davao
1804 = 6000 # Manila

#Hongkong & Singapore
1717 = 5000 # Hong Kong
1762 = 5000 # Singapore Peninsula

# Indonesia
1794 = 2500 # Banjarmasin
1971 = 2500 # Manado
1774 = 2500 # Oosthaven
1950 = 2500 # Surubaya
1984 = 2500 # Barapasi
1787 = 2500 # Kutching
2011 = 1300
1968 = 1300
1780 = 1300

# Mid Pacific
1942 = 6000 # Guam
1889 = 6000 # Wake
17 = 900 # Midway
22 = 500 # Honolulu

# South Pacific
40 = 900 # Gilbert Islands
1990 = 700 # Admiralty Islands
1991 = 700 # New Ireland
1966 = 4000 # North Solomon Islands
2119 = 4000 # South Solomon Islands
2003 = 900 # Port Moresby

# Australia
2095 = 400 # Darwin

# New Zealand
2135 = 300 # Auckland
2144 = 300 # Christchurch

# India
1480 = 400 # Colombo
1490 = 200 # Calcutta
1468 = 200 # Madras

}
}

bomber = {

#defensive fighter ai factors

defensiveIC = 2.0
recentlyBombed = 8.0
protectOil = 2.0
protectCoal = 1.0
protectSteel = 2.0
protectRubber = 3.0

#Evaluation factors for determening which landarea to be strategically bombarded.

areaSize = 1.0 #size of area.
areaDistance = 1.0 #distance
adjacency = 1.0 #if its neighbor to us.

#Evaluate which province to get a bombing mission.

targetIC = 5.0 #destroy NatChi industry base
avoidAA = 5.0 #lots of other targets in the area
targetCoal = 1.0
targetSteel = 1.0
targetOil = 5.0
targetRubber = 5.0
occupied = 20 #Subtract for provinces which are occupied, ie bomb germany ahead of france as UK.

}

admiral = {
target = {
1679 = 800
1680 = 800
1686 = 600
1687 = 600
1720 = 500
1721 = 500
1719 = 500
1723 = 100
1738 = 100
1718 = 100
1685 = 100
1826 = 100
1670 = 100
2001 = 100
1453 = 100
2034 = 100
1902 = 100
1922 = 100
1893 = 100
20 = 100
18 = 10
27 = 10
1864 = 100
30 = 150
15 = 150
1840 = 100
1828 = 100
1813 = 100
1943 = 500
1941 = 500
1453 = 100
1485 = 100
1312 = 100
1292 = 100
1769 = 300
1755 = 300
1766 = 300
1958 = 300
1781 = 300
1795 = 100
1797 = 100
1995 = 100
1978 = 100
1801 = 100
2006 = 100
}

}
 
Last edited: