Jump to content

Modding help-different picture by culture


joemann

Recommended Posts

Posted

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 ?

Posted

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?

Posted

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 >

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...