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

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
Hi, I have some questions about specific event commands.

1) In "activate_building_type", the "which" can be a crime building as well?
2) In "add_pop", what does "value" do? VickyWiki claims that it specifies the size of the pop, but in some game files value is a decimal like 0.2.
3) In "alliance", what does the "when" tag do? It always equals 1 in vanilla files, when it is there.
4) "command = { type = end_satellite which = NGF }" Should this be end_satellite_mastery instead?
5) "max_elan", "max_organization": Does the "when = now" do anything?

This list will be updated as new questions arise and as old ones are resolved.

Thank you :)
 
Last edited:

unmerged(131989)

Field Marshal
20 Badges
Jan 13, 2009
5.324
5
  • The Kings Crusade
  • Pillars of Eternity
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • March of the Eagles
  • Arsenal of Democracy
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • East India Company
  • Deus Vult
  • Darkest Hour
  • Hearts of Iron II: Armageddon
Hi, I have some questions about specific event commands.

1) In "activate_building_type", the "which" can be a crime building as well?
2) In "add_pop", what does "value" do? VickyWiki claims that it specifies the size of the pop, but in some game files value is a decimal like 0.2.
3) In "alliance", what does the "when" tag do? It always equals 1 in vanilla files, when it is there.
4) "command = { type = end_satellite which = NGF }" Should this be end_satellite_mastery instead?
5) "max_elan", "max_organization": Does the "when = now" do anything?

This list will be updated as new questions arise and as old ones are resolved.

Thank you :)
Baring in mind that I may be mistaken (taking it purely from the "Event Commands.txt" file) it could be worth testing to disprove me, but:

1) I don't believe so: type = activate_building_type which = [factory/RGO type]
2) Works like this: command = { type = add_pop which = british value = 0.0242 where = 2749 } # 2420 British farmers in prov2749.
3) type = alliance which = country value = [0/1] where = country when = [0/1] # If 'value = 1' the alliance will be defensive. If 'where' is set, that country will be an exception to the alliance. 'when' = 1 means the alliance will never expire.
4) Yes.
5) Wasn't aware of a "when" part, only "which" (for unit type) and "value" (for a value increase/decrease). Usually "when" isn't accompanied by "now", so might be worth testing?

Hope that helps Jamie!

P.S. If you are planning to make some fixes for vanilla Victoria: Revolutions and post them, PM me as I might add a map fix (using your tool! ;)) to it, if you like? Basically it has Reunion as a seperate province, added a borderline inbetween the two provinces on the Indian subcontinent, and added on-map text to provinces where it was missing.