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

drekx

Private
106 Badges
Feb 6, 2007
18
0
  • Victoria 2: Heart of Darkness
  • The Kings Crusade
  • Magicka
  • Majesty 2 Collection
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Starvoid
  • Victoria 2
  • Victoria 2: A House Divided
  • Leviathan: Warships
  • Rome: Vae Victis
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Elven Legacy Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Hearts of Iron 4: Arms Against Tyranny
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • 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
  • Commander: Conquest of the Americas
  • East India Company
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
Is there a way to make it so that a trait needs an event to be acquired? I want to add a trait but have it so that randomly generated characters can't start out with it.

Edit: Also is there a way to create events that can only be activated for certain families? I've tried to use family and family_name with trigger but it doesn't work or doesn't seem to at least heh.
 
Last edited:
drekx said:
Is there a way to make it so that a trait needs an event to be acquired? I want to add a trait but have it so that randomly generated characters can't start out with it.
all auto-generated characters can get some of all traits randomly. if you want to give a trait only by an event, its necessary to make a "clearing event" for automatic given traits and mark rightly given traits by your event with a (unvisible) character_flag. take a look at spqr (events/admin_traits.txt) for examples, how this can be modded.

drekx said:
Edit: Also is there a way to create events that can only be activated for certain families? I've tried to use family and family_name with trigger but it doesn't work or doesn't seem to at least heh.
the trigger "family = x" inside characterevents should working (from the manual). do you create really CHARACTER-events? and have you write the family-names EXACTLY as they are written in common/families/?
 
i've been trying to create certain traits that can only be received by events and then have some of those passed down through the family. I was playing with one of the death events but i couldn't get it to trigger properly and i tried both family = x and family_name = x and both didn't seem to work which is why i was asking. Maybe i have an error somewhere else, thanks for the reply. I'll look at admin_traits, i didn't know which event files to check cause there's a bunch of them and i got tired reading through some of them. Thank you.