Page 1 of 1
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 12th, 2024, 01:55
by Tipfy
Overview
Disable gay trait events.
Downloads
Installation
- Make a backup of the file the mod override. The location and name of those files are the same as the one in my mod file, follow the pathing.
- Once the backup is done, replace them with the one from the mod.
Done.
To uninstall, simply put the backup of the original files back in it's place, replacing the mod ones.
► If you play on a different version than me (3.3.0), or if for some reason it is not working for you, here is what have been changed ;
- In "childhood_personality_traits_events.txt" ;
At
# Male Homosexual
character_event = {
id = 1980
desc = "EVTDESC1980"
picture = GFX_evt_brothel
min_age = 13
max_age = 17
only_men = yes
only_capable = yes
is_married = no
trigger = {
has_guardian = yes
NOT = {
trait = zealous
}
NOT = {
trait = homosexual
}
NOT = {
trait = chaste
}
NOT = {
trait = celibate
}
NOT = { has_character_flag = is_child_of_destiny }
}
mean_time_to_happen = {
months = 960
modifier = {
factor = 0.75
martial = 10
has_fair_trait_trigger = yes
}
modifier = {
factor = 0.75
trait = shy
learning = 10
}
modifier = {
factor = 0.75
trait = trusting
any_courtier = {
age = 12
not = { age = 18 }
trait = homosexual
reverse_opinion = { who = ROOT value = 25 }
}
}
modifier = {
factor = 0.9
OR = {
guardian = {
trait = homosexual
}
father = {
trait = homosexual
}
}
}
}
option = {
name = "EVTOPTA1980"
add_trait = homosexual
Change;
min_age = 13 to 193
max_age = 17 to 197
and;
NOT= { to FROM
trait = homosexual
Do the same for "### Female Homosexual ###" further below.
_________________________________
- In "oldgods_various_events.txt" ;
At
# Child returns with notions of Greek love
character_event = {
id = TOG.3117
desc = EVTDESC_TOG_3117
picture = GFX_evt_viking_throneroom_oldgods
border = GFX_event_normal_frame_war
is_triggered_only = yes
option = {
name = EVTOPTA_TOG_3117
FROM = {
move_character = ROOT
add_trait = homosexual
add_trait = varangian
remove;
add_trait = homosexual
And at
11 = {
trigger = {
varangian_guard_events_default_trigger = yes
NOT = { trait = homosexual }
}
modifier = {
factor = 1.75
trait = lustful
}
modifier = {
factor = 1.75
trait = hedonist
}
modifier = {
factor = 1.75
trait = chaste
}
# Child returns with notions of Greek love (Child)
character_event = { id = TOG.3116 } # send outcome event...
Change
varangian_guard_events_default_trigger = yes to no
NOT = { trait = homosexual } to FROM
And the
modifier = {
factor = 1.75 to 0.01
______________________________________________
- For the +2 Axe, in "oldgods_various_events.txt" ;
### Looting Events
# +2 Axe
character_event = {
id = TOG.3300
desc = EVTDESC_TOG_3300
picture = GFX_evt_vikings_arriving_oldgods
border = GFX_event_normal_frame_war
ai = no
is_triggered_only = yes
trigger = {
has_dlc = "The Old Gods"
NOT = { has_artifact = loot_axe }
FROM = { always = yes }
change
NOT = { has_artifact = loot_axe } to FROM
FROM = { always = yes } to = no
► Here is another additional method if the above is somehow not enough, not tested myself but it seem to work for JauSeth ;
- From @JauSeth ;
" I've always removed the entire "Homosexual" trait from the game, which could be the reason why I have never seen such events appear before.
To be on the safe side, you may also want to add in the OP how to remove the entire trait so that no character in the game has it.
To do that:
Go to the "common/traits" folder within the game's installation directory
Open the file "00_traits.txt" in any text editor
Search (CTRL+F) for the term "homosexual"
When you find it, the trait will usually be in the format of:
TRAIT_NAME = {
...
}
Remove the entire trait, along with the curly braces
And, done!
When I did it, everyone who had that trait had it immediately removed, and any negative penalties it brought with it were no longer applied. "
My Other Mods
Feel free to reupload - edit - do whatever you want with it. Enjoy.
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 15th, 2024, 05:37
by nixon0630
Can you please make similar mod for CK3 that removes gays/gay marriages?
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 15th, 2024, 18:51
by Tipfy
I know from
@Crusaderknight20 that you can;
Open the file 00_Defines located in "Crusader Kings III\game\common\defines"
Use ctrl-f to search and find PERCENTAGE_HOMOSEXUAL, PERCENTAGE_BISEXUAL, PERCENTAGE_ASSEXUAL and edit the number from 5.0 to whatever you wish.
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 15th, 2024, 19:12
by SoLong
...Wait, those events exist? I thought that was a joke.
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 16th, 2024, 18:25
by jebacdrkac
Tipfy wrote: ↑
May 15th, 2024, 18:51
I know from @Crusaderknight20 that you can;
Open the file 00_Defines located in "Crusader Kings III\game\common\defines"
Use ctrl-f to search and find PERCENTAGE_HOMOSEXUAL, PERCENTAGE_BISEXUAL, PERCENTAGE_ASSEXUAL and edit the number from 5.0 to whatever you wish.
lowering it to 1 or 0 should reduce number of faggots right?
i played ck3 a few years ago and wasnt there an option to make homosexuality a crime when you reform religion?a mod which grants anti lgbt law to every religion would be fun
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: May 17th, 2024, 01:51
by Tipfy
Put it to 0 i'd say, or to 0.1 if it does not work.
jebacdrkac wrote: ↑
May 16th, 2024, 18:25
i played ck3 a few years ago and wasnt there an option to make homosexuality a crime when you reform religion?a mod which grants anti lgbt law to every religion would be fun
I don't know i have not played it, but if it work similarily to CK2, what you need to do is to reform a faith with that, open your save and locate that new religion you just made, under it should be a list of all specificity, find the one you want and copy it's name as it is under other religions and the option will apply to them too, it may also include a "check" tie to the name depending on the thing.
Could be a line like : "allow_homosexual = no" (i just made that up, for the example)
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: June 1st, 2024, 19:37
by JauSeth
Thanks for the mod Tiphy! I didn't even know there were events like that in the game.
I've always removed the entire "Homosexual" trait from the game, which could be the reason why I have never seen such events appear before.
To be on the safe side, you may also want to add in the OP how to remove the entire trait so that no character in the game has it.
To do that:
- Go to the "common/traits" folder within the game's installation directory
- Open the file "00_traits.txt" in any text editor
- Search (CTRL+F) for the term "homosexual"
- When you find it, the trait will usually be in the format of:
- Remove the entire trait, along with the curly braces
And, done!
When I did it, everyone who had that trait had it immediately removed, and any negative penalties it brought with it were no longer applied.
Test it out, and let me know how it goes.
Disable Gay Trait Events 1.0.0 — Crusader Kings 2
Posted: June 2nd, 2024, 07:07
by Tipfy
JauSeth wrote: ↑
June 1st, 2024, 19:37
To be on the safe side, you may also want to add in the OP how to remove the entire trait so that no character in the game has it.
I thought if i removed it, it would cause some bugs if an event triggering it happen, that is why i opted to remove the trait from the events giving it instead.
I'll add your way to the post as an additional thing to do if what is already done is not enough for some people, thanks.
Edit; Those are not events you can see, for example when you'r kid randomly get gay trait i do not have pop-up for that, i just noticed when clicking on him. (Unless i have something not set up correctly in my pop-up settings...)
The varangian one is the only gay-giving event that i'v seen pop up, and only to inform the player, there is no choice in the matter.