Jump to content

joemann

Members
  • Content count

    63
  • Joined

  • Last visited

About joemann

  • Rank
    Member
  1. I am trying to add a "submissive" trait to a character in an event. submissive = { personality = yes random = no opposite_opinion = 20 martial = -1 intrigue = -2 diplomacy = 1 spouse_opinion = -5 general_opinion = -10 ai_ambition = -10 female_insult = INSULT_LAPDOG female_insult_adj = SLAVISH } I have tried both with brackets and without (which according to the wiki is the correct way to do it ). The trait is not added. Anybody see why not? # .230 Disciplining Spouse, Lover or Concubine - player is male, lover is female narrative_event = { id = RSLVisits.230 desc = "RSLVisits230" picture = discipline_spouse_01 title = rsl_disciplining_spouse is_triggered_only = yes # Triggered from .2 immediate = { event_target:rsl_visit_target = { random_list = { 20 = { ## resists punishment trigger = { is_dominant = yes } add_character_modifier = { name = rsl_very_sore_bottom duration = 60 } add_character_modifier = { name = rsl_correction_refused duration = 120 } host = { narrative_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } 80 = { ## doesn't resist add_character_modifier = { name = rsl_sore_bottom duration = 30 } add_character_modifier = { name = rsl_correction_accepted duration = 60 } random_list = { 90 = { # love it trigger = { is_submissive = yes } add_character_modifier = { name = rsl_good_sex duration = 30 } add_trait = submissive host = { narrative_event = { id = RSLVisits.9201 }} ## spank bottom make her come } 10 = { # normal reaction host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } } } } } } option = { name = rsl_option1 } }
  2. I changed the language of my PC today. Later on I noticed that all my localization files have gone haywire. Instead of having the id in column A and the text in column B, they are now together in A separated by a <;> and the text is spread out over several columns. At the end of the text there is a mass of ;;;;;;;;;;x It's very difficult to get rid of and shows in the in game screens. Anybody know how to remedy this?
  3. I implemented this and it works. One remaining problem is that the narrative event .9201 does not fire, neither is the submissive trait added. The character modifier (good sex) just above it is though. Is it a scope question? validator sees nothing wrong.
  4. Wow! Thanks a lot. It certainly makes it a lot more condensed. One question about the random list. Do 10% of all characters resist or 10% of all characters with the dominant trait. What happens to the other 90% ? Will join the non resisting group and get a regular spanking event (or will they be out of the loop ? which is not the purpose). Same thing for the second list. If I am sure I understand the concept I can tweak the numbers to get something that feels right. Thanks again. Help like this is really precious to get a better understanding how to write this stuff.
  5. I am trying to use a scripted trigger as a condition and it does not appear to yield the expected result. I suspect my logic is wrong. the trigger is : is_submissive = { NOR = { trait = stubborn trait = proud trait = willful trait = haughty } OR = { trait = timid trait = humble trait = craven trait = shy } } I believe this to mean: the character should have none of the first four traits and at least one of the second four traits to qualify for the event. Is that correct? I have a second trigger is_dominant with the same traits but the other way round. In the following event I use a character that has only one submissive trait ( and the average tits trait). running the event ten times it results in 9 default events .9200 and one refuse punishments event .902 . The latter should only turn up for characters with a dominant trait. The loves punishment event never turns up even though there is a 90% chance. Is my trigger wrong or is there a problem with the random list? # .230 Disciplining Spouse, Lover or Concubine - player is male, lover is female narrative_event = { id = RSLVisits.230 desc = "RSLVisits230" picture = discipline_spouse_01 title = rsl_disciplining_spouse is_triggered_only = yes # Triggered from .2 immediate = { if = { # She seems to like it limit = { is_submissive = yes NOT = { is_dominant = yes } } random_list = { 10 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_correction_accepted duration = 60 }} host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } 90 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_correction_accepted duration = 60 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} host = { narrative_event = { id = RSLVisits.9201 }} ## spank bottom make her come add_trait = submissive } } } if = { limit = { is_dominant = yes NOT = { is_submissive = yes } } random_list = { 90 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_correction_accepted duration = 60 }} host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } 10 = { ## resists punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_very_sore_bottom duration = 60 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_correction_refused duration = 120 }} host = { narrative_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } } } if = { limit = { ## if none of the conditions apply we go to default mode is_submissive = no is_dominant = no } event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_correction_accepted duration = 60 }} host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } } option = { name = rsl_option1 } }
  6. I have managed to get my event working by abandoning the {if_else} language and reverting to {if} , {if} and adding <break = yes>. narrative_event = { id = RSLVisits.230 desc = "RSLVisits230" picture = discipline_spouse_01 title = rsl_disciplining_spouse is_triggered_only = yes # Triggered from .2 immediate = { if = { # She seems to like it limit = { is_submissive = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} host = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} host = { narrative_event = { id = RSLVisits.9201 }} ## play with bottom make her come add_trait = submissive } } break = yes } etc I would now like to add opinion modifiers , which change the opinions of both spouses towards each other only, depending on the event but not necessarily with the same weight (so husband could be +5 and spouse -10. How and where do you do that? Do I use an event modifier or a character modifier? A separate one for each character ? According to the wiki the code for an opinion modifier would be opinion = { modifier = < xxx> who = root or from, can I add a second "who" to cover the second character? Do I include it in the above event .230 or in the narrative events that are triggered by it .9200 and .9201? Your help is much appreciated!
  7. Latest attempt follows what the wiki says about else_if command. Still not working. Validator still saying "At <mod>\events\RSLVisits.txt [narrative_event\immediate\else_if] (Line 292, column 4): Invalid node "else_if" in scope CharCommand (value is: <a complex type>)" I'll come back to it tomorrow. Thanks for your help! # .230 Disciplining Spouse, Lover or Concubine - player is male, lover is female narrative_event = { id = RSLVisits.230 desc = "RSLVisits230" picture = discipline_spouse_01 title = rsl_disciplining_spouse is_triggered_only = yes # Triggered from .2 immediate = { if = { # She seems to like it limit = { is_submissive = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9201 }} ## play with bottom make her come add_trait = submissive } } } else_if = { limit = { is_submissive = no ## only works for those cases where the spouse has other traits than those listed for submissive or dominant is_dominant = no } event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } else_if = { limit = { is_dominant = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## resists punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 60 }} event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } } } else = { event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} ## if none of the conditions apply we go to default mode event_target:rsl_visit_target = { narrative_event = { id = RSLVisits.9200 }} ## spank bottom } } option = { name = rsl_option1 } }
  8. Tried both still doesn't work. My Validator version is up to date. But I also ran it in game. If I make it another else_if do I still need to end with an if ? My previous post was a slip of the mouse sorry for that
  9. Tri is_triggered_only = yes # Triggered from .2 immediate = { if = { # She seems to like it limit = { is_submissive = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = {character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9201 }} ## play with bottom make her come add_trait = submissive } } } else_if = { limit = { is_submissive = no ## only works for those cases where the spouse has other traits than those listed for submissive or dominant is_dominant = no } event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } else = { limit = { is_dominant = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## resists punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 60 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } } } } option = { name = rsl_option1 } } ed both
  10. Did this. It solves the trigger problem but else_if and else are still deemed invalid. I wrote it as follows: is_triggered_only = yes # Triggered from .2 immediate = { if = { # She seems to like it limit = { is_submissive = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = {character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9201 }} ## play with bottom make her come add_trait = submissive } } } else_if = { limit = { is_submissive = no ## only works for those cases where the spouse has other traits than those listed for submissive or dominant is_dominant = no } event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } else = { limit = { is_dominant = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## resists punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 60 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } } } } option = { name = rsl_option1 } }
  11. Validator returns two types errors for the following code : if, else_if and else are invalid nodes. certain narrative events are set be triggered but are never called. What does this mean? the code is as follows: ( narrative event .230 does pop up, but does not fire the follow-up events) # .230 Disciplining Spouse, Lover or Concubine - player is male, lover is female narrative_event = { id = RSLVisits.230 desc = "RSLVisits230" picture = discipline_spouse_01 title = rsl_disciplining_spouse is_triggered_only = yes # Triggered from .2 if = { # She seems to like it limit = { is_submissive = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = {character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## loves punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { add_character_modifier = { name = rsl_good_sex duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9201 }} ## play with bottom make her come add_trait = submissive } } } else_if = { limit = { is_submissive = no ## only works for those cases where the spouse has other traits than those listed for submissive or dominant is_dominant = no } event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } else = { limit = { is_dominant = yes } random_list = { 70 = { ##accepts punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 30 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9200 }} ## spank bottom } 30 = { ## resists punishment event_target:rsl_visit_target = { add_character_modifier = { name = rsl_sore_bottom duration = 60 }} event_target:rsl_visit_target = { character_event = { id = RSLVisits.9202 }} ## cane her bottom make her scream } } } option = { name = rsl_option1 } } ## A well spanked bottom will teach her narrative_event = { id = RSLVisits.9200 desc = "RSLVisits9200" picture = discipline_spouse_02 title = rsl_disciplining_spouse1 is_triggered_only = yes # by event .230 option = { name = rsl_option1 } }
  12. I bought and installed the republic, covenant and jade dragon DLC's and the portrait pack (steam had a sale). After installing them a number of decisions have disappeared from my mod (based on DWR). Could the DLC's be the reason for this and if so how can you repair this? I am not talking about saved games but a newly started game.
  13. I solved this one myself as well, I'm getting the hang of this (lol). In the vanilla game the Asian culture groups are the only groups with the extension <_group > so it should read <culture_group = chinese_group> instead of < culture_group = chinese >
  14. I fooled around with it and managed to get it to work. If anybody wants to have the code (newbies like me) let me know in this thread and I'll post it. I still have one issue , my scripted trigger now looks like this. is_asian = { OR = { culture_group = indo_aryan culture_group = dravidian culture_group = tibetan culture_group = chinese It works for all other cultures, but according to Validator the Asian ones above are not valid culture groups. I got them from the same list in the CK2 wiki though. Could this have a link with the Jade Dragon DLC which I do not have?
  15. I have an event where I want to change the picture depending on gender and main culture groups. I have defined scripted triggers ( I hope that this is what I should be using ) such as the following one: is_western = { culture_group = { north_germanic west_germanic central_germanic latin celtic byzantine finno_ugric baltic east_slavic west_slavic magyar israelite iberian } I have introduced them into an until then functioning event: narrative_event = { id = RSLS.12 title = rsl_brand_slave desc = { trigger = { FROM = { is_female = yes is_western = yes } NOT = is_african NOT = is_asian NOT = is_arabic } text = "RSLS12desc" picture = GFX_evt_rsl.branding_female } desc = { trigger = { FROM = { is_female = yes is_asian = yes } NOT = is_african NOT = is_western NOT = is_arabic } text = "RSLS12desc" picture = GFX_evt_rsl.branding_female_01 } Doesn't work. Could somebody point me in the right direction ?
×