ghostchain Posted January 31, 2022 Posted January 31, 2022 I've been looking to add a trait 'Virgin' to the game, and have been attempting to learn to mod in the process. The goal is to start off basic with a trait that is applied to all females that are not adults by default, and any females born later. Followed by applying it to unmarried adult female characters at a random chance based on the traits they possess, and applied to females characters married to an eunuch. . So a much higher chance at celibate than lustful, and no chance with those with traits such as fornicator. The trait would then be removed on any sexual encounter. Then I wanted to start learning to advance the mod with adding encounters such as virginal sacrifices and defloration events, and adjusting the value of a female character in marriage based on virginal status. So for example, unmarried deflowered characters would be offered with a large dowry to the father. As well as making an option where the trait is hidden and can be discovered through examination or a scheme. So far I've learned how to create a custom trait, but I can't seem to figure out how it would be applied to characters on the creation of a new game, nor have I figured out how to remove the trait on any sexual encounter. There's a intercourse_effects file in scripted_effects with intercourse_with_character_effect option, but the file doesn't give any real script examples, with the file itself being almost completely blank. If anyone has any instruction on where to start learning this stuff, I would appreciate it.
BDNelson Posted January 31, 2022 Posted January 31, 2022 You might want to look at "SLaVE" by VirginMarie, ummm... it's already been done.
ghostchain Posted January 31, 2022 Author Posted January 31, 2022 2 hours ago, BDNelson said: You might want to look at "SLaVE" by VirginMarie, ummm... it's already been done. That seems to be a Skyrim mod? 1
BDNelson Posted January 31, 2022 Posted January 31, 2022 I'm sorry, I thought you were asking about Skyrim, nevermind.
BDNelson Posted January 31, 2022 Posted January 31, 2022 Still, couldn't hurt talking to them. Maybe they can give some ideas on how to imbed virgin traits in your mod. I am not aware of any other virginity, and the loss thereof, mods being available. Might be worth the conversation at least.
disposabletemp Posted January 31, 2022 Posted January 31, 2022 (edited) Ghostchain, most of the events in the game are triggered based on conditions defined in the game/common/on_action folder in your CK3 install directory. There are a bunch of on_actions that the game calls whenever certain things happen (like child birth, marriage, death, etc). You can create an on_action folder in your mod directory, add a new file named whatever, then hook into the existing on_birth_child on_action: on_birth_child = { events = { my_new_event.1000 } } Then you need to define your events in the events folder of your mod dir. You can just create a simple event that adds a trait if the character is female. If you install Carnalitas, you can use the existing on_action carn_on_sex (which triggers on any sex event) to add an event to remove your trait. Carnalitas also includes some events that modify characters when the game is first created so you could take a look at that too. Your best bet if you want to learn CK3 modding is to just look at the existing stuff that comes with the game and try to figure out how it all works. Like, search your game/common/on_action folder for "marriage" to try to figure out everything that happens when a character gets married. Edited January 31, 2022 by disposabletemp 1
JasonThe4th Posted February 4, 2022 Posted February 4, 2022 There is a new mod on steam: Secrecy Private Information It lists hidden information of a character. A very nice mod
VvKk Posted February 8, 2022 Posted February 8, 2022 Maybe it would be better if virginity will be not a trait but a flag. I think that we already have too much stuff in traits pannel. Also this is privat information about character. Unless you want to put some values in it (like higher/lower desire gain etc.), in this case it can be the modifier. Advantages of flag is that it is easy to check, less eforts to develope (you have no need to draw pictures of trait), better in game performance (i think), also you can do a lot of kinds of virginities with a flag approach (like butt virginity or mouth virginity etc.).
ghostchain Posted February 10, 2022 Author Posted February 10, 2022 (edited) On 2/8/2022 at 3:03 PM, VvKk said: Maybe it would be better if virginity will be not a trait but a flag. I think that we already have too much stuff in traits pannel. Also this is privat information about character. Unless you want to put some values in it (like higher/lower desire gain etc.), in this case it can be the modifier. Advantages of flag is that it is easy to check, less eforts to develope (you have no need to draw pictures of trait), better in game performance (i think), also you can do a lot of kinds of virginities with a flag approach (like butt virginity or mouth virginity etc.). Traits can be hidden. If doing it through flags would be possible, it is always an option. The main reason I wanted to include it as a trait is that virginity is an asset that is traded in marriage, and introducing that aspect seemed appealing. Things like anal or other sexual activities isn't something that can really be inspected unlike say a maiden head inspection which is possible. This is something that can evolve as well, with other possible activities like horseback riding events and other tomboy behavior removing it. If it was solely to trigger events of first times, I can certainly see a flag system being used. Maybe that would be a good way to mechanically differentiate losing the maiden head versus actually having sex for the first time. I assume a trait can be added with the system upon need. I am not really worried about creating a trait icon. I am new to this modding and was trying to learn along the way of creating a mod, I know nothing about flags and will have to look into it. Edited February 10, 2022 by ghostchain
aelfwyne Posted February 10 Posted February 10 (edited) I'm surprised such a simple mod has never been created. It could be configured as a "Secret" that can be revealed under certain circumstances. For example, if you have a lover secret that is exposed, your virginity status is removed as well. Or if you're properly married it can be publicly removed. Or perhaps you can keep a secret that the wedding was never consummated. Upon sex with another character they also have a chance to discover that the character is not a virgin and react accordingly. If we really wanted to make things realistic, the game could throw a certain percentage with various events that the virginity flag is falsely removed. Considering how huge a deal this was in marriages historically it's a common sense mod. (EDIT: I'm not sure if Carnalitas has this ability, but.. I tend to avoid that megamod as every time I've played with it, my savefile ends up corrupting randomly after a while) Edited February 10 by aelfwyne
cienanosdesoledad Posted February 10 Posted February 10 black1 do a simple version in his mod Wicked Debauchery and JusPrimaeNoctisReformed(adds virginity trait to game along with game rule : wd:virginity : enable/disable)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now