Game assigns the same event ID to two different events

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

Rikai

Second Lieutenant
25 Badges
Oct 20, 2018
108
114
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders
  • Surviving Mars
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Magicka 2
  • Cities: Skylines
  • War of the Roses
  • Europa Universalis IV
  • Crusader Kings II
  • Magicka
  • Lead and Gold
So, I was trying to create two modding events in hoi. they have a different ID, but the game gives me this:

"Failed to create id 12200000 50. Already exists in game. This might crash the game."

so because of this, only the first event works.
when i type the name of the second event in the console, i get the first event instead.

halp
:(

Code:
add_namespace = usa
country_event = {
    id = usa.can_finally_join

code code code
}

country_event = {
    id = usa.cant_join_anymore

more code
}
 
Last edited:

Rikai

Second Lieutenant
25 Badges
Oct 20, 2018
108
114
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders
  • Surviving Mars
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Magicka 2
  • Cities: Skylines
  • War of the Roses
  • Europa Universalis IV
  • Crusader Kings II
  • Magicka
  • Lead and Gold
Nevermind, i found the problem: The event ID must be named in the following manner in order to work:
id = namespace.number

like this:
Code:
add_namespace = whatever_you_want
id = whatever_you_want.2

and it MUST be a number! but you can just change the namespace to be whatever, so you can just start at 1.
 
Last edited:
  • 1
Reactions: