• 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.
Hey all, does anyone know if there is a "hard limit" to the number of portrait backgrounds possible? or is it virtually unlimited as long as you code in the frame number in the portrait_sprites.gfx and reference them in portrait_properties? I'd really appreciate any feedback on this, I've added in 8 new backgrounds and only a few of them seem to want to show up properly in-game...
 
yea did nothing when i clicked it i dont wanna turn to targeted cuz idk how to allow it for self.
Probably you don't match the trigger requirements for whatever event you are calling then.

Allowing a targeted descion to target yourself just needs the filter extending to have including_me adding so filter = court becomes filter = court_including_me
 
Probably you don't match the trigger requirements for whatever event you are calling then.

Allowing a targeted descion to target yourself just needs the filter extending to have including_me adding so filter = court becomes filter = court_including_me
i was using filter = all before would that mean i use filter = all_including_me ? lol
 
What's the best way of doing the necessary strings for a new great work? Do I have to copy the entire blocks from 08_custom_loc_wonder_setup.txt and add mine at the bottom or can I just have mine only and they'll merge?
 
What's a quick way to find the CK file you need to modify?
 
Cool. I already had notepad++ so I just used that. I was hoping to fix the bloodline that gives "drill" but I didn't see that ability defined anywhere.
Yeah, if you don't have to search often it's perfectly fine to use NP++.
Only downside is that it isn't indexed so results aren't instant and the time it takes to get them can be pretty huge when you're searching in all gui, gfx, loc (and source code in my case) and content file at the same time :p
 
Cool. I already had notepad++ so I just used that. I was hoping to fix the bloodline that gives "drill" but I didn't see that ability defined anywhere.

The common/bloodlines folder would be a pretty obvious one to select to search... or alternatively
the whole common folder, as that's where all the modifiers are (except decision created ones), so
you can skip all the heavy data gfx folders and such in the main directory.

Code:
pure_war_bloodline_04 = {
    picture = GFX_bloodlines_placeholder_symbol
    inheritance = patrilineal
    allow_bastards = yes
    combat_rating = 3
    command_modifier = {
        speed = 0.15
        retreat = 0.05
    }
    bloodline_effect_drill = 1
    flags = { created_bloodline bloodline_drill }
}

If you can't find something initially, i recommend to search the localisation folder first.
 
Last edited:
Total noob question. I'm trying to update my mod that I had uploaded into the Steam Workshop, but Steam doesn't seem to register that it's the same mod. What's the proper procedure here? Whether I zip it with archive = or leave it as folder and path =, neither seems to work.
 
Total noob question. I'm trying to update my mod that I had uploaded into the Steam Workshop, but Steam doesn't seem to register that it's the same mod.

As i remember it

- Unpacked mod (with path = in mod file then) in your mod folder and not any other variant of it (includes zip and *.mod files) in there.
- Same names of mod folder and *.mod file as before.
- Don't be subscribed to the mod when looking to update it
- Having "Enable cloud synch.." checked in Steam settings-cloud and in CK2 properties-updates
- quit and restart Steam after doing any of the latter two above
 
As i remember it

- Unpacked mod (with path = in mod file then) in your mod folder and not any other variant of it (includes zip and *.mod files) in there.
- Same names of mod folder and *.mod file as before.
- Don't be subscribed to the mod when looking to update it
- Having "Enable cloud synch.." checked in Steam settings-cloud and in CK2 properties-updates
- quit and restart Steam after doing any of the latter two above
Thanks for the help!
 
The common/bloodlines folder would be a pretty obvious one to select to search... or alternatively
the whole common folder, as that's where all the modifiers are (except decision created ones), so
you can skip all the heavy data gfx folders and such in the main directory.

Code:
pure_war_bloodline_04 = {
    picture = GFX_bloodlines_placeholder_symbol
    inheritance = patrilineal
    allow_bastards = yes
    combat_rating = 3
    command_modifier = {
        speed = 0.15
        retreat = 0.05
    }
    bloodline_effect_drill = 1
    flags = { created_bloodline bloodline_drill }
}

If you can't find something initially, i recommend to search the localisation folder first.
I use TextWrangler on MacOS, and I find it's not even worth the effort of limiting searches narrower than the whole game folder, with 11 text filetypes. It only takes about 6 seconds to search the entire CK2 folder for a simple keyword, a bit longer if I do interesting grep/regex patterns.

It's usually far more important to figure out *what* to search. In this case, based on OP's question, I searched for the word 'drill'. The bloodline entry quoted above was the 2nd result, but had it not been so obvious, a quick scan down the results would have found it. Simpler than having to repeat the search should you guess the sub-folder wrong.


Yeah, if you don't have to search often it's perfectly fine to use NP++.
Only downside is that it isn't indexed so results aren't instant and the time it takes to get them can be pretty huge when you're searching in all gui, gfx, loc (and source code in my case) and content file at the same time :p
I'm not convinced indexing is that helpful. As noted above, a simple search of the whole CK2 folder in 11 text filetypes takes about 6 seconds. Sometimes, the important info is *in* the gui, gsx, or loc files. The only things I make an effort to avoid is the binary files (executable, pics, sounds, etc.)

And I don't have to worry about re-indexing after each patch.
 
It's usually far more important to figure out *what* to search. In this case, based on OP's question, I searched for the word 'drill'.

Really. So intelligent. "Drill" is extactly the word he mendtioned having searched for.
Just saying so you know why i disagreed with your post while you disagreed with mine.
On search time, depends on a lot of things like the program used, the OS and the comps performance.
I wanted to be helpful to someone i had already responded to before.
I'm not sure what impression you wanted to give with your response to me.