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

Lilitari

Private
50 Badges
Nov 30, 2019
10
0
  • Stellaris: Synthetic Dawn
  • Stellaris: Distant Stars
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Digital Anniversary Edition
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Cities: Skylines
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Magicka
  • Crusader Kings II: Sword of Islam
  • 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: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Sengoku
  • Cities: Skylines Deluxe Edition
  • Stellaris
  • Magicka 2
  • Cities in Motion 2
Hello

I've been watching the following video:
Here are a couple of questions that came up while doing that:

1. Is there like a wiki page or a post or something with all the images and boarders and their id? if not where do I find them? I only see flag_files in the gfx folder...

2. Is there a list of all the event modifier that exist in the game somewhere?

3. Can you add a costum_tooltip to an event modifier you created? If so, where do you put the actual description? Is it in the same place as the event description in localisation?

4. This is the script I wrote:

namespace = lRandomEvts

#this event will cause the ruler to be attacked by angry chickens
character_event =
{
id = lRandomEvts.0001
picture = GFX_evt_bad_news
desc = EVTDESC_lRandomEvts.0001
border = GFX_event_normal_frame_war


#forgive the person that released the chickens, receive the kind trait (and remove cruel) and the embarrassed modifier
option
{
name = EVTOPTA_RandomEvts.0001
add_character_modifier
{
name = LEM_embarrassed
months = 3
}
if =
{
limit{trait = cruel}
remove_trait = cruel
}
add_trait = kind
piety = 15
}


#kill the person that released the chickens, receive the cruel trait (and removes kind) and + to revolt risk
option
{
name = EVTOPTB_RandomEvts.0001
add_character_modifier
{
name = LEM_unjust
years = 3
}
if =
{
limit{trait = kind}
remove_trait = kind
}
add_trait = cruel
prestige 25
}
}

It works but there are a few things that bug me:
* Inside the game it shows the name of the costume event modifier I made. It is not a pretty name. Is there someway to replace it with a different name?
* It takes a few days for the traits to update. Is there some way to make it update immediately?
* The event triggers every few days (its pretty funny as the event involves the ruler being assaulted by a gang of angry chickens, but it would be nice if chickens didn't have a consistent bone to pick with every ruler the unfortunate player decides to play...), how do I make it trigger less often?


5. Is there somewhere out there a notepad++ language plugin for "ck2 scripting language" that you know of?

Thank you very much!!!!!! <3
 
1. The images are in /gfx/event_pictures. Each one will have corresponding code in a .gfx file in /interface assigning it to an ID. E.g.:
Code:
    spriteType = {
        name = "GFX_evt_bacchants_initiation"
        texturefile = "gfx\\event_pictures\bacchants_initiation.tga"
        allwaystransparent = yes
    }

That means that the picture /gfx/event_pictures/bacchants_initiation.tga has the ID GFX_evt_bacchants_initiation. So you can go through the event_pictures directory, find one you like, and search /interface for the filename to find the ID. Dunno about borders, I don't usually bother with those.

2. Yes, in /common/event_modifiers

3. Yes, all localization keys are defined in /localisation

4. You have to define the localization keys in /localisation. To make the event fire less often, define a mean_time_to_happen block with the length of time you want for how often the event should fire.

5. Not as far as I know.