HoI 4 - [1.12.5] [18aa] Scripted on_action 'on_capitulation' has been broken in wars involving factions

  • 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.

concommie

Recruit
39 Badges
Jul 14, 2018
2
6
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Cities: Skylines
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
Description of issue
[v1.12.7] [b738] Scripted on_action 'on_capitulation' has been broken in wars involving factions

What platform do you play on?
Steam

Game Version
1.12.5

Enabled DLC
Together for Victory, Waking the Tiger, Man The Guns, La Resistance, No Step Back, By Blood Alone

Do you have mods enabled?
Yes

Description
As the title states: I work on a mod where all peace deals are scripted using on_capitulation. However, since 1.12, this on_action no longer fires when the final member of a faction capitulates. I ran some tests with an output log for each time a country capitulates in a multi-faction war, and it found that on_capitulation will fire for each member that capitulates of a faction until the last one, in which the game fires a normal peace conference. This may have to do with the order of events after a capitulation, but I can't say I'm too sure. Please help, as this issue has been a huge headache to the mod's scripted peace deals. Attached is the on_capitulation file for the mod.

Steps to Reproduce
1. Set on_action 'on_capitulation' to produce an output log if FROM is a member of winning faction and is still at war after the on_capitulation is triggered
2. Set another effect that checks that FROM is no longer at war, to produce another output log
3. Tag to the FROM tag in a war between two factions, and slow capitulate all members of the opposing faction
4. An output log is reduced for each tag capitulating, showing it does work
5. Final tag does not produce an output log upon capitulating, on_capitulation did not fire

Upload Attachment
File(s) attached
 

Attachments

  • TNO_peace_on_actions.txt
    267,4 KB · Views: 0
Last edited:
  • 5Like
  • 1
Reactions:
Upvote 0

Immortal Oveja

Recruit
49 Badges
May 11, 2016
6
3
  • Stellaris: Synthetic Dawn
  • 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
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II
  • Stellaris: Ancient Relics
  • Crusader Kings III
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Hearts of Iron IV: Together for Victory
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Hearts of Iron IV: No Step Back
  • Age of Wonders II
  • Europa Universalis IV
  • Victoria 2
  • Europa Universalis IV: El Dorado
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Megacorp
  • Darkest Hour
Can confirm this is fucking us up. As said above, peace deals seem to fire instantly when the last member of a faction capitulates and it appears to ignore firing the on_capitulation. We've tried a multitude of workarounds but thus far we haven't managed to do anything about it.
 
  • 3Like
Reactions: