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

Mike the HD Gamer

Private
47 Badges
Jul 5, 2016
18
0
  • Crusader Kings II
  • Semper Fi
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV
  • Darkest Hour
  • Arsenal of Democracy
  • Stellaris: Apocalypse
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Cities: Skylines
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • 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
  • Victoria 2
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Legacy of Rome
Hi I am currently in the process of making my own modifications to Darkest Hour but quite a few of the event chains that I would like to write would require me to change the name or tag of a country and desirably the flag too but it does not appear that there are any tutorials or guides on how to do this, would anyone be able tell me how to do this or know of any guides that explain the process, Thanks.
 
That does kind of help but I was thinking more changing flags etc through an event for example in Kaissereich where you can change Austria to Austria - Hungary or Russia to Russian Empire, It will change the flag and name (I dont know it might change the TAG.)
 
Let's take Portugal as an example, say we've got an event turning Portugal into a monarchy and we want to change both the name and flag:

command = { type = name where = POR which = "Kingdom of Portugal" }

This tells the game to replace Portugal's name (POR being the tag for Portugal) with the name Kingdom of Portugal, now onto your flag:

command = { type = flag_ext where = POR which = "_mon" }

This tells the game to replace the Portuguese flag with the one you specified with the suffix _mon (any suffix works)

For example here if your original flag file was flag_POR, it would be replaced with flag_POR_mon

You'll of course have to have created a shield, flags file, and a counter (or at the bare minimum a shield) for this.
 
Let's take Portugal as an example, say we've got an event turning Portugal into a monarchy and we want to change both the name and flag:

command = { type = name where = POR which = "Kingdom of Portugal" }

This tells the game to replace Portugal's name (POR being the tag for Portugal) with the name Kingdom of Portugal, now onto your flag:

command = { type = flag_ext where = POR which = "_mon" }

This tells the game to replace the Portuguese flag with the one you specified with the suffix _mon (any suffix works)

For example here if your original flag file was flag_POR, it would be replaced with flag_POR_mon

You'll of course have to have created a shield, flags file, and a counter (or at the bare minimum a shield) for this.

Hi you might not know but do you know how to add a new minister do I just add them to the list of a country and give them a trait, picture etc or do I need to do more, sorry if im asking too many questions but some modding info I just cant seem to find.

Also if you can here is a basic event that I wrote just to get me started, if you have the time could you just check if it would work as I have no idea and I dont want to risk screwing up my event files. Thanks


event = {
id = 148756
random = no
country = GRE
style = 0

trigger = {
owned = { province = PROV409 = GRE }
}

date = { day = 0 month = january year = 1936 }
offset = 10
deathdate = { hour = 19 day = 19 month = december year = 1963 }

name = "Megali Idea fulfilled"
desc = "We have succesfuly retaken Constantinople! Shall we now recreate the great byzantine Empire?"
picture = "byzantine_empire"

action_a = {
name = "Of course! We shall rise again!"
command = { type = name where = GRE which = "Byzantine Empire" }
command = { type = flag_ext where = GRE which = "GRE_mon"
command = { type = shield_ext where = GRE which = "GRE_mon"
command = { type = dissent value = -10 }
command = { type = manpowerpool value = 100 }
command = { type = capital which = 409 }
}

action_b = {
name = "No we have done enough"
command = { type = dissent value = -1 }
command = { type = capital which = 409 }
}
}
 
Last edited:
  • 1
Reactions: