|
Post by Azrael on Sept 20, 2019 17:10:23 GMT
This submod hides some congenital traits from view until certain ages of a character.
Compatible with: AGOT 2.0/2.1/2.2
Credits:
AGOT Dev Team: For the main AGOT mod SinStar87: For the willingness to help and answer questions as I was learning modding
|
|
|
Post by Karl on Sept 20, 2019 22:10:12 GMT
This submod, depending on certain conditions (character's stats who has the trait, character's stats who's looking at the person with the trait, age, and/or certain character modifiers), hides certain traits from being visible to other characters. At the moment this is a simple version as I can't recall/don't know all the modifiers or other situations in which a trait should be "hidden". If you come across one or have a reason why a trait should/should not be hidden under certain conditions, feel free to reply with your input Do you mind if I ask which traits are hidden and under what conditions?
|
|
|
Post by Azrael on Sept 21, 2019 0:15:11 GMT
This submod, depending on certain conditions (character's stats who has the trait, character's stats who's looking at the person with the trait, age, and/or certain character modifiers), hides certain traits from being visible to other characters. At the moment this is a simple version as I can't recall/don't know all the modifiers or other situations in which a trait should be "hidden". If you come across one or have a reason why a trait should/should not be hidden under certain conditions, feel free to reply with your input Do you mind if I ask which traits are hidden and under what conditions? There are quite a few, so I'll just give a few examples. For one, certain congenital traits are hidden until certain ages. The traits lisp and stutter won't show up until age 6 (probably a bit too old of an age for these, so probably will be changed). Traits like genius, fair, strong, weak, etc. won't show up until age 14 (mainly for gameplay reasons). As for other traits, here is an example of the code of one of them:
homosexual = { #47 sex_appeal_opinion = 30 # Only to those of the same sex general_opinion = -5 #More sexually liberal cultures dornish_opinion = 5 summer_islander_opinion = 5 fertility = -0.15 ruler_designer_cost = 0 is_visible = { OR = { character = FROM FROM = { OR = { NOT = { intrigue = 8 } has_character_modifier = adulterer has_character_modifier = adulteress has_character_modifier = known_sodomite } } ROOT = { intrigue = 8 } } } male_insult = INSULT_SODOMITE male_insult_adj = INSULT_EFFEMINATE female_insult = INSULT_LESBIAN female_insult_adj = INSULT_SAPPHIC child_insult = INSULT_PEABRAIN child_insult_adj = CRAZY } In this example the character = FROM means the character can see their own trait. In the FROM = { block, the trait will be visible to others if the character with the trait does not have intrigue 8 or higher, or has any of the character modifiers of adulterer, adulteress, or is a known sodomite. Now if the character does have an intrigue stat 8 or higher and doesn't have any of those modifiers, the trait will be hidden from other characters, unless the character viewing the aforementioned character (ROOT) has an intrigue stat of 8 or higher. In this case the trait will be visible to the character who meets the requirement(s) to do so.
As mentioned before, this is one of many I added. I also did this first thing in the morning, and as I'm not a morning person, some of my reasoning for certain conditions might not be sound as I thought at the time, so I'll probably go back through them soon.
|
|
Nervosi
Member
This community and it's modders have brought me so much Joy, thank you sincerely ^_^
Posts: 368
|
Post by Nervosi on Sept 21, 2019 16:01:31 GMT
Hmm is this Save-compatible by any chance Azrael?
|
|
|
Post by Azrael on Sept 21, 2019 21:10:58 GMT
Hmm is this Save-compatible by any chance Azrael? No new traits were added. All I did was add code to the existing traits, so it should be.
|
|
|
Post by Azrael on Sept 22, 2019 2:03:22 GMT
Well, while the traits get hidden, the opinion modifiers are still taking affect; submod on hold for now.
|
|
|
Post by Azrael on Jan 11, 2020 17:29:12 GMT
I repurposed the submod to hide only some congenital traits until certain ages. The submod now only changes 00_traits.txt, so it no longer needs a compatibility patch for More Bloodlines (at least until I see what rufff1's new update changes for AGOT 2.1). As there was no changes to 00_traits.txt between AGOT 2.0 and 2.1, it's compatible with either version.
|
|
|
Post by sourjapes on Jan 30, 2020 2:59:24 GMT
Well, while the traits get hidden, the opinion modifiers are still taking affect; submod on hold for now. So does this hide opinion modifiers too now?
|
|
|
Post by Azrael on Jan 31, 2020 21:37:38 GMT
Well, while the traits get hidden, the opinion modifiers are still taking affect; submod on hold for now. So does this hide opinion modifiers too now? No. I don't think that's possible. That's why I repurposed the mod to only hide certain congenital traits until a character reaches certain ages, i.e., traits like genius and strong not being revealed until age 14.
|
|
|
Post by Azrael on Apr 25, 2021 16:57:47 GMT
Submod should be compatible with 2.2.
|
|