froglegs

Colonel
4 Badges
Mar 10, 2005
939
2
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III
  • 500k Club
Which file contains the Japanese surrender conditions? I have been looking for 15 minutes and cannot seem to find it.

Thanks in advance!
 

Zsar1

Major
50 Badges
Dec 19, 2014
655
194
  • Arsenal of Democracy
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Darkest Hour
  • Age of Wonders III
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis III: Collection
  • Victoria 2
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: The Old Gods
  • Stellaris: Megacorp
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Heir to the Throne
  • King Arthur II
  • Sword of the Stars II
Searching for "surrender" in folder db/events with filter "*jap*" yields events 3824 and 3825 in file db/events/vanilla/cored_japan.txt .
Searching for "surrender" in folder config yields key EVT_43_NAME; searching for key EVT_43_NAME in folder db/events yields event 43.

That should be all. Further events, should they exist, can easily be found on observation by noting down their title and option names and searching those in folder config to obtain their keys, then search for these keys in folder db/events (with subfolders).
 

froglegs

Colonel
4 Badges
Mar 10, 2005
939
2
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III
  • 500k Club
Searching for "surrender" in folder db/events with filter "*jap*" yields events 3824 and 3825 in file db/events/vanilla/cored_japan.txt .
Searching for "surrender" in folder config yields key EVT_43_NAME; searching for key EVT_43_NAME in folder db/events yields event 43.

That should be all. Further events, should they exist, can easily be found on observation by noting down their title and option names and searching those in folder config to obtain their keys, then search for these keys in folder db/events (with subfolders).

Thanks! I guess I should have been more specific. Those are of course the HOI2 events for Japanese surrender to China. I am looking for terms of surrender to USA instead and I guess there are none.

The reason I ask is because unlike the normal games, I am trying out a "Japan First" game as USA. Otherwise, I never continue a game after Germany is defeated and Tokyo is taken. A habit of a chess player perhaps. I am aware that periodically the game engine will have Japan beg me for a negotiated settlement offering back a few tokens that they have taken from other nations but keeping Japan whole even though they are negotiating from a position of utter defeat.
 

Zsar1

Major
50 Badges
Dec 19, 2014
655
194
  • Arsenal of Democracy
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Darkest Hour
  • Age of Wonders III
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis III: Collection
  • Victoria 2
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: The Old Gods
  • Stellaris: Megacorp
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Heir to the Throne
  • King Arthur II
  • Sword of the Stars II
Mmh. I am pretty sure event 43 is the one you are interested in. You can find it quickly by searching for "id = 43" in folder db/events using the option "Match whole word only".

Vanilla events are usually kept as "vanilla" in the CORE file hierarchy until modified very substantially (for a gut-feeling definition of "substantial").
 

froglegs

Colonel
4 Badges
Mar 10, 2005
939
2
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III
  • 500k Club
I see the problem with it. In event 43. it assumes that Japan is at war with USA and China. However, Japan has made China a puppet so it won't fire in my game.

No problem. I can fix that.

Thanks!