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

Shiny Dog

Colonel
65 Badges
Sep 12, 2016
999
1.664
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Shadowrun: Hong Kong
  • Hearts of Iron 4: Arms Against Tyranny
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
Basically, if I wanted to make an event (Event A) where you find a lost city, I would localize it as "Localization A" (and I'm including, .t, .d, and .f in this).
However, if I wanted Spain to have unique localization (I.E. Referring to El Dorado or somesuch) on Event A but with exactly the same mechanical effects, can I make trigger that makes it use "Localization B (or Localization_SPA)" instead of "Localization A" or will I have to make an "Event B/SPA" that has the exact same mechanics as Event A?
 
Yes, you can use triggers to select the localization for each localized element (though for options, probably just as easy to add a new option with the same effects).

For example, if you look at the alaska_events.txt file, you can see flavor text changes depending on whether it is Russia or another country selling Alaska.
Code:
flavor = {
    first_valid = {
        triggered_desc = {
            trigger = {
                scope:alaska_seller = {
                    c:RUS ?= this
                }
            }
            desc = alaska.1.f_ru
        }
        triggered_desc = {
            trigger = {
                always = yes
            }
            desc = alaska.1.f
        }
    }
}