• 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(42723)

Field Marshal
Apr 6, 2005
3.564
0
#############################################
# Jap puppet penalties
#############################################
event = {
id = 27551
random = no
country = CHI
persistent = no

trigger = {
ai = yes
ispuppet = JAP
}

name = "AI_EVENT"
style = 0

date = { day = 1 month = january year = 1941 }
offset = 7
deathdate = { day = 29 month = december year = 1948 }

action_a = {
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = construct which = IC where = -4 value = -2 }
command = { type = dissent value = 10 }
command = { type = manpowerpool value = -500 }
}
}

Why does this event, esp. the IC reduction seem to have no effect? I fired it manually (when not playing CHI) after AI CHI became a JAP puppet, but from the screen there was still the same IC. Didn't load as CHI to test again though.....
 

HistoryMan

Colonel
14 Badges
Jun 1, 2004
1.066
0
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • East India Company Collection
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Victoria: Revolutions
  • Semper Fi
  • 500k Club
  • Rise of Prussia
  • Mount & Blade: Warband
  • Achtung Panzer
I think your problem may be your trigger condition :-

trigger = {
ai = yes
ispuppet = JAP
}

"ai=yes" is fine, however, "ispuppet = JAP" will check to see if JAP is a puppet, and since you are trying to get this to fire for CHI...

Try replacing "ispuppet = JAP" with "puppet = { country = CHI country = JAP}", and see if that works.

Tim
 

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
I thought it would check if Chi is a puppet of Jap.....but I did what you suggested, and it works now.

Many thx :)
 
Last edited:

xtfoster

Field Marshal
57 Badges
Feb 8, 2006
5.874
2.209
  • Shadowrun Returns
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Deus Vult
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • 500k Club
  • Hearts of Iron II: Beta
  • Stellaris
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
BeBro said:
I thought it would check if Chi is a puppet of Jap.....but I did what you suggested, and it works now.

Many thx :)
You might have a problem however...
There is a bug where if you reduce any value to 0 (IC in this case) it doesn't get stored in the save file and will be reloaded from province.csv when you load a savegame. The fix for this is to set the IC to 0 in provinces.csv and add the starting IC in the *.inc files.