What should the .bank structure be when im modding in my own music? Currently I have all the songs stored in the "Music/" event (fmod), and I have added all the songs in its own "game/music" mymusic.txt file, but I can't get any of the songs to play
Quick question. What is the code \n\n used for in the localisation strings?
Sorry for the delay, but that's it! You can use it to have multiple conditions under the same checkbox, or add a checkbox for conditions that don't have localization.I'm sorry, if i ask something silly, but i've never used custom_description yet. Do I get it right, that you use such a constraint in trigger section of a decision?
Like:
And what it does, it checks, wheather any counties' holders within dejure Aquitaine title or their above lieges have not kingdom England title?Code:embrace_english_culture_decision_lands_aquitaine = { ... is_shown = { custom_description = { text = embrace_english_culture_decision_lands_aquitaine title:k_aquitaine = { NOT = { any_de_jure_county_holder = { any_liege_or_above = { has_title = title:k_england } } } } } ... } }
P.S. I'm almost sure, that u can replace
any_de_jure_county_holder = {
any_liege_or_above = {
with
any_de_jure_top_liege
Um, well, what I want to accomplish is that the trait does not appear randomly on people, but there should be a chance to pass it on genetically if one or both parents have it. So how is that done?
Also, did you copy that entry you quoted from some kind of wiki? I can find very little documentation for CK3 yet.
The three relevant parameters for traits are:
inherit_chance - the chance a character will pass the trait on to their children (you'll want this to be above 0)
birth - how many characters out of 100 are born with the trait (not inherited, just randomly born with it regardless of parents)
random_creation - how many characters out of 100 are created with the trait
You can find the definitions for these parameters in the _traits.info file in the base game trait folder (there are similar info files in most other folders, some more helpful than others).
If you want a trait which doesn't appear randomly at all but has, say a 50% chance to be inherited you want something like:
inherit_chance = 50 #50/50 chance to pass it on
birth = 0 #characters can't be randomly born with it unless a parent has it
random_creation = 0 #characters can't be randomly generated with it
Correct, the vanilla genetic traits don't have an inherit_chance.Thanks, that explains a lot. That said, so long as I have set genetic = yes, I imagine the game will use its own, regular trait inheritance calculations, even if I don't set any static inherit_chance?
exemplegroupism = {
exemplism = {
}
}
Thanks, that explains a lot. That said, so long as I have set genetic = yes, I imagine the game will use its own, regular trait inheritance calculations, even if I don't set any static inherit_chance?
Counterintuitive as it may be, Inbred isn't a genetic trait. (Neither is Sayyid, which has inherit_chance = 100.) I believe there is no vanilla trait with both genetic = yes and an inherit_chance set, so my impression is they're not meant to be used together. Genetic traits have extra mechanics where you can carry the gene without actually having the trait, which inherit_chance traits don't.Actually as far as I can tell (although this isn't mentioned anywhere in the info files) these parameters only work for genetic traits anyway so you would need to have genetic = yes set as well regardless.
I assume that there is a default inheritance chance for genetic traits and the static value overrides this. Some vanilla traits do use this - for example inbred - but most don't.
I was wondering what files make it so that traits like beauty and skills like prowess affect genes and the characters look.
I'm interested in making it so custom characters are immune to certain portrait changes.
This is the best I could come up with when trying to find out how the relation of beauty traits and genes work. Might not help with freckles though, since I think they are complexion-related and those ethnicity files don't have any mention of beauty traits in the part concerning that gene.How would I mod the game to prevent the beauty line of traits from removing the freckles from characters?
Good evening!I deleted all my files and made new ones using the examples you put in your post. Copied and pasted exactly, saved the .ylm localization file in UTF + BOM 8, made a custom 'lord' ethnicity. I'm still having the same problem. Is there something wrong with my mod pathing? I really don't understand what it is I'm missing here. The ONLY difference I made was renaming the culture from customculture to 'Nightingale', but keeping it within the same parameters as you showed in the example
...Paradox Interactive\Crusader Kings III\mod\culturemod\common\culture\cultures\00_nightingale:
Code:lord_group = { graphical_cultures = { western_coa_gfx indian_building_gfx indian_clothing_gfx western_unit_gfx } mercenary_names = { { name = "mercenary_company_retainers" } { name = "mercenary_company_pretenders" } } lord = { color = hsv { 0.38 4.00 0.42 } cadet_dynasty_names = { "dynn_Sinlaw" "dynn_Dimlaw" "dynn_Finlaw" "dynn_Sunlaw" "dynn_Carolaw "dynn_Ganlaw" "dynn_Mant" "dynn_Rane" "dynn_Gutan" "dynn_Khaye" "dynn_Cherr" "dynn_Seese" "dynn_Khayes" "dynn_Wontile" "dynn_Mana" "dynn_Denlaw" "dynn_Patt" "dynn_Divon" "dynn_Cayde" "dynn_Apadare" { "dynn_Banerjee" } { "dynn_Bagchi" } { "dynn_Bhaduri" } { "dynn_Bhattacharjee" } { "dynn_Chakraborty" } { "dynn_Chatterjee" } { "dynn_Ganguly" } { "dynn_Goswami" } { "dynn_Ghoshal" } { "dynn_Lahiri" } { "dynn_Maitra" } { "dynn_Mukherjee" } { "dynn_Sanyal" } { "dynn_Sengupta" } { "dynn_Dasgupta" } { "dynn_Duttagupta" } { "dynn_Gupta" } { "dynn_Sen_Sharma" } { "dynn_Basu" } { "dynn_Bose" } { "dynn_Dutta" } { "dynn_Ghosh" } { "dynn_Choudhury" } { "dynn_Guha" } { "dynn_Gain" } { "dynn_Mitra" } { "dynn_Singh" } { "dynn_Sinha" } { "dynn_Sen" } { "dynn_Pal" } { "dynn_Dev" } { "dynn_Palit" } { "dynn_Chanda" } { "dynn_Dam" } { "dynn_Kar" } { "dynn_Nandi" } { "dynn_Sarkar" } { "dynn_Acharya" } { "dynn_Adhikari" } { "dynn_Agarwal" } { "dynn_Bakshi" } { "dynn_Bangla" } { "dynn_Barman" } { "dynn_Basu" } { "dynn_Bhagat" } { "dynn_Bhaumik" } { "dynn_Bhuiyan" } { "dynn_Biswas" } { "dynn_Chakrabarti" } { "dynn_Chand" } { "dynn_Chaudhary" } { "dynn_Dasgupta" } { "dynn_Datta" } { "dynn_Debnath" } { "dynn_Devi" } { "dynn_Dhar" } { "dynn_Emu" } { "dynn_Ganguly" } { "dynn_Ghosh" } { "dynn_Ghoshal" } { "dynn_Hazra" } { "dynn_Hoque" } { "dynn_Jahan" } { "dynn_Jarin" } { "dynn_Jha" } { "dynn_Jothy" } { "dynn_Kajal" } { "dynn_Karal" } { "dynn_Kumari" } { "dynn_Lal" } { "dynn_Maharaj" } { "dynn_Mahato" } { "dynn_Mahi" } { "dynn_Majhi" } { "dynn_Mandal" } { "dynn_Miah" } { "dynn_Mukerjee" } { "dynn_Munna" } { "dynn_Nath" } { "dynn_Noor" } { "dynn_Pandey" } { "dynn_Pandit" } { "dynn_Pradhan" } { "dynn_Sahoo" } { "dynn_Sinha" } { "dynn_Tagore" } { "dynn_Thapa" } } dynasty_names = { "dynn_Pondes" "dynn_Rex" "dynn_Paran" "dynn_Teblor" "dynn_Felisin" "dynn_Anders" "dynn_Mana" "dynn_Ranaka" "dynn_Gupta" "dynn_Khayarwala" "dynn_Chero" "dynn_Sena" "dynn_Khayarwala" "dynn_Gupta" "dynn_Mana" "dynn_Deva" "dynn_Pattikara" "dynn_Deva" "dynn_Khadi" "dynn_Aparamandara" { "dynn_Banerjee" } { "dynn_Bagchi" } { "dynn_Bhaduri" } { "dynn_Bhattacharjee" } { "dynn_Chakraborty" } { "dynn_Chatterjee" } { "dynn_Ganguly" } { "dynn_Goswami" } { "dynn_Ghoshal" } { "dynn_Lahiri" } { "dynn_Maitra" } { "dynn_Mukherjee" } { "dynn_Sanyal" } { "dynn_Sengupta" } { "dynn_Dasgupta" } { "dynn_Duttagupta" } { "dynn_Gupta" } { "dynn_Sen_Sharma" } { "dynn_Basu" } { "dynn_Bose" } { "dynn_Dutta" } { "dynn_Ghosh" } { "dynn_Choudhury" } { "dynn_Guha" } { "dynn_Gain" } { "dynn_Mitra" } { "dynn_Singh" } { "dynn_Sinha" } { "dynn_Sen" } { "dynn_Pal" } { "dynn_Dev" } { "dynn_Palit" } { "dynn_Chanda" } { "dynn_Dam" } { "dynn_Kar" } { "dynn_Nandi" } { "dynn_Sarkar" } { "dynn_Acharya" } { "dynn_Adhikari" } { "dynn_Agarwal" } { "dynn_Bakshi" } { "dynn_Bangla" } { "dynn_Barman" } { "dynn_Basu" } { "dynn_Bhagat" } { "dynn_Bhaumik" } { "dynn_Bhuiyan" } { "dynn_Biswas" } { "dynn_Chakrabarti" } { "dynn_Chand" } { "dynn_Chaudhary" } { "dynn_Dasgupta" } { "dynn_Datta" } { "dynn_Debnath" } { "dynn_Devi" } { "dynn_Dhar" } { "dynn_Emu" } { "dynn_Ganguly" } { "dynn_Ghosh" } { "dynn_Ghoshal" } { "dynn_Hazra" } { "dynn_Hoque" } { "dynn_Jahan" } { "dynn_Jarin" } { "dynn_Jha" } { "dynn_Jothy" } { "dynn_Kajal" } { "dynn_Karal" } { "dynn_Kumari" } { "dynn_Lal" } { "dynn_Maharaj" } { "dynn_Mahato" } { "dynn_Mahi" } { "dynn_Majhi" } { "dynn_Mandal" } { "dynn_Miah" } { "dynn_Mukerjee" } { "dynn_Munna" } { "dynn_Nath" } { "dynn_Noor" } { "dynn_Pandey" } { "dynn_Pandit" } { "dynn_Pradhan" } { "dynn_Sahoo" } { "dynn_Sinha" } { "dynn_Tagore" } { "dynn_Thapa" } } male_names = { Amritnarayan Balabhata Balinarayan Ballalsen Basudevnayaran Bhagadatta Bhairabendranarayan Bhatta Bhavashankari Bhimsingha Birnayaran Chandrasen Chandranarayan Chaturanan Chilarai Danujmadhava Dasharathadeva Devakhadga Devapala Devendranarayan Dhairjendranayaran Dharendranarayan Dharmapala Dhirsingha Gajnarayan Gopala Govindachandra Govindapala Hajo Harendranarayan Haridevnarayan Hariyamandal Hemantasen Indranarayan Jadu Jagaddipendranarayan Jatakhadga Jayanarayan Jayapala Jitendranarayan Kalyanachandra Kamalnarayan Keshabsen Khadgodyama Krishanmishra Krishnaroy Kumarapala Kumudnarayan Ladahachandra Lakshmansen Lakshmichandra Lakshminarayan Lomapada Madanapala Mahendrapala Mahendrasingha Mahindranarayan Mahipala Manava Mukundanarayan Naranarayan Narasingha Narayanapala Narendranarayan Nayapala Nripendranarayan Parikshitnayaran Prananarayan Prannath Pratapnarayan Pratapnarayanroy Pushkaranadhipa Raghudev Rajabhata Rajadinaj Rajaganesha Rajendranarayan Rajrajendranarayan Rajyapala Ramapala Ramnath Ranasura Ranjitsingha Roopnarayan Rudranarayan Samudrasen Shanibhangar Shashanka Shivanarayan Shivendranarayan Shukladhwaj Shurapala Srichandra Srimanta Subarnachandra Sukhdev Suryanarayan Traillokyachandra Udirnakhadga Uditanarayan Upendranayaran Vakapala Vapyata Vigrahapala Vijaynarayan Vijaysen Vijaysingha Virajdendranarayan Vishwarupsen Vishwasingha "Bhairav_Singh" "Bhavesh" "Bhogishwar" "Dev_Singh" "Dhir_Singh" Dhireshwar "Ganeshwar_Singh" "Gang_Dev" Harasimhadeva "Hari_Singh" "Hemant_Sen" "Kameshwar" "Kirti_Singh" Jyotirishwar "Laxman_Sen" "Laxminath_Singh_Dev" Madanpal "Nanya_Dev" "Nar_Singh" "Narsingh_Dev" "Padma_Singh" "Rambhadra_Singh_Dev" Rameshwar "Samant_Sen" "Shakrasingh_Dev" "Shiv_Singh" "Vallal_Sen" "Vijay_Sen" Agnimitra Andhraka Ayus Bhagabhadra Bhikhari Bhumimitra Devabhuti Ghosha Gopal Govindapal Khsetravridha Maharshi Mahendra Maurayadhwaj Narayana Pulindaka Pusyamitra Sahtiya Susarman Vajramitra Vasudeva Vasujyeshtha Vasumitra } female_names = { Amrapali Amritakala Asima Bhavashankari "Bishwas_Devi" Bhogavati Bibibai Dattadevi Devavati "Devi_Ahiylya" Gandharavati Gayatri Himadrija Hira Jira Kanchani Mahendrani Malavyadevi Nayanadevi Rani Ratnadevi Suvrata Syamadevi Vijnayavati Vina Yajnavati } dynasty_title_names = yes founder_named_dynasties = yes ethnicities = { 10 = lord } }
My localization:
...Paradox Interactive\Crusader Kings III\mod\culturemod\localization\english\culture\lord_l_english:
Code:l_english: #Nightingale group lord_group:0 "Nightingale culture group" lord_group_collective_noun:0 "Nightingale culture grouped" lord:0 "Nightingale" lord_collective_noun:0 "Nightingaled"
My error log, which replicates your error log.:
Code:[14:02:04][culture_template.cpp:510]: Culture lord has no ethnicities. Will cause crashes [14:02:04][culture_template.cpp:522]: Culture lord has no dynasty names defined [14:02:29][pdx_achievements_steam.cpp:288]: Invalid achievement: mother_of_us_all_achievement [14:02:29][pdx_gui_glow.cpp:306]: Only B8G8R8A8_UNORM support so far. Texture file : gfx/interface/icons/religion/judaism_custom_1.dds
I don't know why I'm getting these errors when I wasn't getting them before. At least it seemed like you were able to get the console to recognize the custom culture and apply the command, I can't even get that to work.
View attachment 624972
I know that there is something that I'm missing/messing up, but I just don't understand what it is. I've tried every combination of solutions you've suggested. I've gone over from scratch, tried uniformed naming of all the files, turned off every mod, etc.
Hello, I've decided to write a very simple mod that adds more congenital traits to select in the dynasty perk "Architected Ancestry".
Directory: common\dynasty_perks
---------------------------------------------------------------------------------------------------------------------------------------
blood_legacy_4 = { # Architected Ancestry
legacy = blood_legacy_track
cost = dynasty_legacy_tier_4_cost
effect = {
# Effect is applied in the on action 'on_birth_child'
custom_description_no_bullet = {
text = blood_legacy_4_effect
}
}
traits = {
beauty_good_1 = 100
intellect_good_1 = 100
physique_good_1 = 100
physique_good_3 = 0 ************* # These are the ones I chose
intellect_good_3 = 0 **************
fecund = 50
albino = 50
giant = 10
dwarf = 1
scaly = 1
}
}
---------------------------------------------------------------------------------------------------------------------------------------
However, it does not seem to work when I tested this (I chose physique_good_3, or Herculean) and none of my children seem to be getting it so far.
I suspect that there might be another file that I need to edit to make this work. Any ideas?
I'm attaching PTM.rar - that's mod folder with only 2 files, i've used to test your case.
So, basically, if you will use my files with NO other mods, start NEW game and it won't work - i can only advice to reinstall CK3.
Sry, i have no more ideas. Good luck!