Hey, I've been trying to find the tuning resource for Sim aging multipliers and thresholds.
(Sorry for the formatting, the forum doesn't make it easy to post code.)
I first looked at simulation/sims/aging.pyo:
class AgeTransitions:
__qualname__ = 'AgeTransitions'
AGE_TRANSITION_INFO = TunableMapping(..., value_type=AgeTransitionInfo())
AGE_SPEED_SETTING_MULTIPLIER = TunableMapping(..., value_type=Tunable(..., tunable_type=float, default=1))
I searched through the Custom Content Guide, but it describes XML instance tuning, not python module tuning, so I couldn't find the key I want for this resource.
I did find the Tuning/sims-aging.tdesc file, but again, it contains nothing that would help me find the key, or the actual resource.
Finally, I searched the SimulationFullBuild package for the "sims.aging" string, and I found a resource with key "0x62E94D38-0x00000000-0xF1352E740C4710BA".
It seems to contain some sort of index data for all python tunables. Here's the relevant part for age, with brackets replaced:
{M n="sims.aging" s="10885250052166156230"}
Full relevant section is on pastebin.com/S0H5xpDX - I can't post links yet, and can't paste XML on this forum.
I have no idea what the x="" values are supposed to mean, but based on the custom content docs, s="10885250052166156230" should point me to an instance ID.
However, when I turn that value into hex (0x97102D3FFAAA7FC6) and search for an resource with that instance ID (in all Sims packages, not just the simulation package), I don't turn up anything.
So... where do I go from there?
0
Comments
From the tdesc:
So .. what do you want to do? Maybe I'm misunderstanding, but to me changing the age lengths/mulitpliers looks like it doesn't require anything more than an override for this resource.
Edit: since you say you were poking SimulationFullBuild .. you may want to use velocitygrass' XML Extractor, that will make your life a lot easier.
Thanks, this solves my problem completely! :smile:
PS: I wanted to take a look at both the multipliers and thresholds to start with, I want to make a mod that lets a player set their own values for those.