*We’re trying to create a custom personality Trait via ModKit. Any trait that is newly created OR modified doesn’t survive a save/reload cycle — the character’s trait selection reverts to whatever was selected before.
*
Concordo com o ajuste — é mais preciso dizer “não entra no pipeline de persistência” do que cravar “checksum”. Aqui está a versão final, pronta pra postar (em inglês, pra alcançar mais gente no fórum internacional):
Título: Custom/modified Traits don’t persist after save/reload — even using 100% vanilla scripts
Tag: mod
Corpo:
We’re trying to create a custom personality Trait via ModKit. Any trait that is newly created OR modified doesn’t survive a save/reload cycle — the character’s trait selection reverts to whatever was selected before.
Tests performed:
- New trait created from scratch (new
Traitrow + customScript_Trait/Buff_Trait) →
doesn’t persist - Modifying a fully native trait (e.g.
Snob) to point to our custom script →
doesn’t persist - New trait row pointing to a 100% vanilla script (
Add_Trait_Perfectionist/Remove_Trait_Perfectionist, no custom Script_Trait/Buff_Trait involved at all) →
still doesn’t persist - Fixing missing localization (borrowed a working TextId from an existing trait so the name displays correctly) → no effect on persistence
- Filling
PerspectiveIdList(was empty) → no effect
Key observation: Even using 100% native/vanilla assets and scripts as the implementation, any Trait row that was created or modified via ModKit fails to persist after save/reload. This rules out script binding, localization, and basic registry/tag issues as the cause — the common factor is that the Trait row itself was touched by a mod patch.
Current hypothesis: the game’s save/load system may only persist Traits from an official build-time asset list/whitelist, or ModKit-created Trait rows may not be registered for persistence the same way they’re registered for live-session use.
Questions:
- Is there a known whitelist/catalog of persistable Traits baked at build time?
- Does ModKit support registering a custom Trait for save/load persistence, and if so, what’s the missing step?
- Is there a required “cooking”/registration step for custom Traits that isn’t covered in the current docs?
Quer que eu ajuste mais alguma coisa antes de você postar, ou já está pronto?