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

Aule_the_creator

Second Lieutenant
69 Badges
May 19, 2013
104
36
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Parklife
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV
I am trying to create an event that generates a character and makes him tribunus plebis, and I can't seem to make him tribune. The character generates well enough (even though I can't find any way to give him a set last_name, so he always becomes "Curii", but that's a minor issue that I am sure I can resolve on my own, hopefully).

I have tried prompts along the lines of

office_plebeian_aedile_latin = {
change_holder = populist_reformer
}

in addition to setting populist_refomer as the scope and giving that "set_office" and stuff like that.

I had originally planned on using the script for when you get the event where a character demands a government office, without remembering that I hate that event because you have to manually go look for the character in the government screen in that event (ip_generic.7, I think it was).

Any ideas?
 
I am trying to create an event that generates a character and makes him tribunus plebis, and I can't seem to make him tribune. The character generates well enough (even though I can't find any way to give him a set last_name, so he always becomes "Curii", but that's a minor issue that I am sure I can resolve on my own, hopefully).

I have tried prompts along the lines of

office_plebeian_aedile_latin = {
change_holder = populist_reformer
}

in addition to setting populist_refomer as the scope and giving that "set_office" and stuff like that.

I had originally planned on using the script for when you get the event where a character demands a government office, without remembering that I hate that event because you have to manually go look for the character in the government screen in that event (ip_generic.7, I think it was).

Any ideas?



It should be something like this (friend_target is just an example, you can set the scope yourself):

Code:
        scope:friend_target = {
            give_office = office_republic_physician
        }

You can type "script_docs" in your console command and it'll give you all the effect types,triggers etc... in Documents/Paradox Interactive/Imperator/logs

use CTRL+F to search for keywords.

And using grepWin (software you can download) you can even search such effects in the game files to try to find an example of their use.
 
Why create one? Can't you use an already existing one? To avoid overloading the game with more characters and hurting performance.

PS: Whatever you're doing sounds promising ;)