LittlelSister Posted January 29, 2022 Posted January 29, 2022 (edited) I'm looking for a mod to make my character stop visually aging after reaching certain age ,i.e, 30 years. Meaning, my character still ages normally but it just looks younger visually. I know the mod [Extended Immortality] has this option, but I dont want to make my character immortal. Edited January 29, 2022 by LittlelSister
not_real_Human Posted January 31, 2022 Posted January 31, 2022 On the steam workshop there is a mod called Immortality (Updated and Revised) That lets you set your "immortal age" which is how old your character will look. Hope this helps.
cfootlg Posted January 31, 2022 Posted January 31, 2022 If you set the gene_age type to no_aging among portrait attributes, aging stops at about 30. After defining the appropriate trait, add it to trait_portrait_modifiers like this: dna_modifier = { morph = { mode = replace gene = gene_age template = no_aging value = 1.0 } }
aledeth Posted February 19, 2022 Posted February 19, 2022 On 1/31/2022 at 3:40 PM, pialid said: If you set the gene_age type to no_aging among portrait attributes, aging stops at about 30. After defining the appropriate trait, add it to trait_portrait_modifiers like this: dna_modifier = { morph = { mode = replace gene = gene_age template = no_aging value = 1.0 } } Could you possibly go into further detail on how to make this work? I successfully created a new trait called 'unaging' that's applied to every girl (both random and born), and added this code: unaging = { unaging = { traits = { unaging } dna_modifier = { morph = { mode = replace gene = gene_age template = no_aging value = 1.0 } } } } To trait_portrait_modifiers, but characters with the trait still age like normal.
cfootlg Posted February 21, 2022 Posted February 21, 2022 (edited) @aledeth That's weird. On my side, it's working fine. If it doesn't work with trait_modifier, try with portrait_modifier. The usage is similar. test_age = { usage = game selection_behavior = weighted_max test_age = { dna_modifiers = { morph = { mode = replace gene = gene_age template = no_aging value = 1.0 } } weight = { base = 0 modifier = { add = 100 has_trait = unaging } } } } gfx/portraits/portrait_modifier/some_new_file.txt Edited February 21, 2022 by pialid
aledeth Posted February 22, 2022 Posted February 22, 2022 I'll try that today, haven't had a lot of free time to test. I think the initial failure could have been because I screwed up and forgot to add genetic_constraint_all = unaging to my trait, so it never tried to change the genes according to instructions? I'll try both changes, and if it works then yay.
aledeth Posted February 27, 2022 Posted February 27, 2022 @pialid So your 2nd fix worked... kinda. Everyone with the trait does appear 30 no matter how old, but it also made kids look that old too. My attempts to make the trait alone work haven't done anything noticeable sadly. Seems like the only way to get characters to age up to 30 and then stop would be to create a scripted trigger or something that checks for characters at the age of 30 and adds the trait if they don't have it, which is way beyond my knowledge of how to do.
cfootlg Posted February 27, 2022 Posted February 27, 2022 @aledeth Ah, I just did a simple working test. Such a side effect... lol It seems to be necessary to add one more 'age > 30' to the condition.
aledeth Posted February 27, 2022 Posted February 27, 2022 That did it, you're a hero. Never considered just adding to the requirements for it to change the appearance.
omallory Posted January 14, 2023 Posted January 14, 2023 Sorry for necroing. Is there any other method that does not use any traits so that it affects every characters?
Guest Posted January 14, 2023 Posted January 14, 2023 The trait just acts as a trigger. You could set it to activate on characters with a given flag or variable and just seed that flag or variable at game start and/or birth.
Klein Moretti Posted February 10, 2023 Posted February 10, 2023 On 2/27/2022 at 10:03 AM, pialid said: @aledeth Ah, I just did a simple working test. Such a side effect... lol It seems to be necessary to add one more 'age > 30' to the condition. Where?
cfootlg Posted February 26, 2023 Posted February 26, 2023 @Klein Moretti Sorry, I haven't visited recently, so I'm just seeing it now. You can do this by adding it inside a 'modifier'.
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