- Jan 23, 2019
- 19
- 64
Yeah, it's defintely a weird mishmash between "true" floats and the converted enums/"lerp the rest of the range as a fallback validator" ones, but generally speaking in my observation the true floats are the ones where enums are derived later from the values. The Personality_Rasgo_*s are all true floats, because they only get used through at least one level of further processing.All values in the save files are normalized to float [0..1]. The game uses special code converting between this representation and the game data (there are 30 types as of 9.2).
For example a 'red' color may be mapped from 0..1 to 0..255 internally using a simple lerp. But some types like enum and index have overloaded range. Trait humano will use the [0..0.05] as an enum index and lerp the rest. The remapping is complicated because the enums are not ordered from very low to very high.
TLDR - setting values in the save file may not give you the result you expect.
I would say there are definitely some, uh, choices involved in things like 'abstraccion' being both a TraitHumano and a Rasgo (that do different things -- well, technically the TH abstraccion does something, and the Rasgo abstraccion is one of the 4 totally unimplemented Rasgos as far as I can tell), 'sensibilidad' being a Rasgo, a enum pain multiplier TraitHumano (called 'sensibilidadV2' admittedly, but yeesh) and also a factor in a bunch of part genes. And of course, one of my faves, 'calidez' being both a Rasgo and a PersonalidadRasgo of (of course) Sensibilidad again. Oh, and gotta make sure to keep your PersonalidadDinamica.Extrovertido, PersonalidadInfo.Extrovertido, PersonalidadInfo.Extroversion, PersonalidadData.Extroverted, and Personalidad.extroversionPorPersonalidad straight.For some unknown reason, the dev created an entire intermediate layer (interpretation) using different terminology. This makes things difficult to follow and is likely the source of many profile issues we've been having. The important point is that only genes get saved, so I would recommend focusing on those to get the effect you want.
It does make for some adventurous source reading, that's for sure.
Last edited: