• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

tallgeorges

Private
Feb 1, 2024
12
2
Hey,

I'm trying to change the clothing style of women (because Commie revolution liberates the clothing style of women) so that they can appear with the same outfits as men, like on the example on the screenshot with an agitator wearing a buttoned-up top.

The character on the screen is a custom-made Lucy Parsons who has the dna of an afro-antillean (not a historical dna code).

I found that \game\common\genes\97_genes_accessories_clothes could be a lead but I got no results from tweaking female uniforms into male uniforms..

Is this possible?

Capture d’écran 2024-02-14 154632.png
Capture d’écran 2024-02-14 155038.png
 
  • 1Like
Reactions:
Is this possible?
Try changing (in a custom mod) \game\gfx\portraits\portrait_modifiers\01_clothes.txt
This is the file where seasonal things like pierrot_clothing are done, so it should work for any other clothes. This is also a place to change historical character clothing.
 
  • 1
Reactions:
Try changing (in a custom mod) \game\gfx\portraits\portrait_modifiers\01_clothes.txt
This is the file where seasonal things like pierrot_clothing are done, so it should work for any other clothes. This is also a place to change historical character clothing.
I can't figure a solution out inside the 01_clothes.txt file (i'm bad at coding lol)..
Do you have a lead on this particular issue?

So, to get a new character resembling Lucy Parsons I changed the values of Lassalle : (in \common\character_templates\historical_agitators.txt)

Code:
pru_ferdinand_lassalle_character_template = {
     first_name = Lucy
    last_name = Parsons
    historical = yes
    culture = cu:afro_american
    religion = rel:atheist
    female = yes
    is_agitator = yes
    interest_group = ig_trade_unions
    ideology = ideology_anarchist
    dna = cu:afro_antillean
    birth_date = 1853.3.7
    traits = {
    inspirational_orator
        persistent
        ambitious
    }
 
Hey,

I'm trying to change the clothing style of women (because Commie revolution liberates the clothing style of women) so that they can appear with the same outfits as men, like on the example on the screenshot with an agitator wearing a buttoned-up top.
How will you liberate the fashion style of women when I know from that Red Scare event that commies nationalise women
 
  • 3Haha
Reactions:
I can't figure a solution out inside the 01_clothes.txt file (i'm bad at coding lol)..
Do you have a lead on this particular issue?
To do it right take two pieces of code, one with the needed agitator clothes and one with the named character. For example,
Code:
    european_agitator_clothes = {
        dna_modifiers = {
           accessory = {
               mode = add
               gene = outfits
               template = european_outfits_agitator
               range = { 0 1.0 } # For the randomness to work correctly
            }

            accessory = {
                mode = add
                gene = legwear
                template = european_legwear
                range = { 0 1 } # For the randomness to work correctly
            }
        }

        weight = {
            base = 0
            modifier = {
                add = 100
                european_clothes_trigger = yes
                NAND = {
                    south_american_clothes_character_trigger = yes
                    scope:character ?= {
                        NOR = {
                            culture = cu:paulista
                            culture = cu:sulista
                        }
                    }
                }
                slavic_clothes_trigger = no
                agitator_character_trigger = yes
            }
        }
    }

Code:
    historical_charles_maurras_clothes = {
        dna_modifiers = {
           accessory = {
               mode = add
               gene = coats
               template = agitator_maurras
               range = { 0 1 } # For the randomness to work correctly
            }

           accessory = {
               mode = add
               gene = waistcoats
               template = historical_waistcoats_maurras
               range = { 0 1 } # For the randomness to work correctly
            }

            accessory = {
                mode = add
                gene = legwear
                template = european_legwear_colors
                accessory = male_legwear_european_01_black
            }
        }

        weight = {
            base = 0
            modifier = {
                add = 90000
                scope:character ?= {
                    has_template = fra_maurras_character_template
                    NOR = {
                        has_role = general
                        has_role = admiral
                    }
                }
            }
        }
    }

Next you combine these into your own code, for example:
Code:
    historical_lucy_parsons_clothes = {
        dna_modifiers = {
           accessory = {
               mode = add
               gene = outfits
               template = european_outfits_agitator
               range = { 0 1.0 } # For the randomness to work correctly
            }

            accessory = {
                mode = add
                gene = legwear
                template = european_legwear
                range = { 0 1 } # For the randomness to work correctly
            }
        }

        weight = {
            base = 0
            modifier = {
                add = 90000
                scope:character ?= {
                    has_template = pru_lucy_parsons_character_template
                    NOR = {
                        has_role = general
                        has_role = admiral
                    }
                }
            }
        }
    }
Here you have clothes (in the dna_modifiers block) from european_agitator_clothes and conditions (in the weight block) from historical_charles_maurras_clothes with templates changed to new custom templates. I recommend you to change your pru_ferdinand_lassalle_character_template into new pru_lucy_parsons_character_template (keeping pru_ferdinand_lassalle_character_template for original character). If you want to use existing character, you may change historical_ferdinand_lassalle_clothes block of code in portraits instead of adding historical_lucy_parsons_clothes.
 
  • 1Like
Reactions: