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

Chaim Kaufmann

Lt. General
15 Badges
May 21, 2001
1.367
20
Visit site
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • 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
Need to:

-Eliminate partisans from certain non-national provinces.
-Add/subtract national provinces.
-Alter province IC/resources/manpower.
-Alter techs.
-Increase/decrease relations between AIs.
-Add/remove treaties between AIs.
-Force DoWs by AI countries.

All could be done by editing savefile, but it is time I learned something.

-This one would be nice but DK if possible--lock/unlock movement for an AI country at war. (When player is GE, don't want POL or HUN helping.)

Can anyone supply examples, or point me to a resource that lists many/all commands?
 
Last edited:
Just check the "event commands.txt" in the events folder.

After this you may also read the "ai_file_doc.txt" in the ai folder.

These two txt files shall help you a lot...
 
Thanks! event commands.txt has most of what I need although I don't see province manpower.

command = { type = province_manpower which = 1235 value = -30 }

Well, this is chinese event command ...resulting in reducing population of Nanjing by 30...after the Nanjing massacre event !!!

If you type command = { type = province_manpower which = 300 value = 30 } then you get an increase of population by 30 in Berlin ! Fair enough !!!:eek:o
 
Many thanks.

What I plan to do is increase CZE manpower but make Sudeten and Slovak provinces non-national for CZE and Czech ones non-national for GER.

That's also why I need to reduce partisans; even though non-national CZE should not face revolts before war with GER, nor GER in annexed Czech provinces. I see how to reduce partisans by X, but not how to determine starting values or how to shut off permanently. Ideal would be shut off nationalism if that can be done.
 
command = { type = province_manpower which = 1235 value = -30 }

Well, this is chinese event command ...resulting in reducing population of Nanjing by 30...after the Nanjing massacre event !!!

If you type command = { type = province_manpower which = 300 value = 30 } then you get an increase of population by 30 in Berlin ! Fair enough !!!:eek:o

Nice, another not-documented event command ^^
 
Does anyone know:

-How to add a tech (not just a blueprint)?
-Whether forcing a DoW by event causes normal DoW dissent?
-If GER attacks SOV from POL territory, how to stop POL from getting all provinces taken? (I want them to get certain ones but not all.)