Is it possible to create mods that change values or replace files in game, that otherwise could be done with SimPE? (e.g. change genetics)
I'm looking to see if there's a way I can edit genetics in game without SimPE.
As such, I'm wondering if there's a way I can execute the steps that I would carry out in
SimPE to achieve the desired result (by editing values or replacing files) which would be triggered by something like a pie-menu option being selected, or pressing confirm on the change appearance window for example rather than actually manually going into
SimPE and changing it yourself.
For example, if I wanted to make a hair colour change genetic:
- Open change appearance window via a mirror and change hair colour from black to red. Press confirm.
- The mod kicks in and edits the Sim's file containing their DNA to reflect the new hair colour, changing the genetic value for hair colour from 1 (black) to 4 (red).
This could of course be achieved by going into their SimDNA section and changing the hair colour value under dominant gene from 1 to 4 manually. But I want to learn how to have it taken care of in the game without user intervention. Is such a thing possible? I think it would involve finding the code that applies the changes from the change appearance window then adding a new custom step that applies it to genetics too.
I don't have much experience in mods apart from some basic clothing recategorising and face template replacements years ago, so a pointer in the right direction would be very helpful. It feels like something that should be pretty straightforward once I understand how to do it, but I'm not sure where to start or what sort of files I need to source with SimPE. The hair colour thing is just an example and feels like a good starting point to learn how to do it.