Cause of OnHeroComesOfAge crash?

Users who are viewing this thread

fatrod

Recruit
Hi all,

I am currently getting a crash with callstack error relating to "OnHeroComesOfAge".

I believe this relates to NPC units turning 18, and missing equipment/education templates.

I have already created entries within "education_character_templates" and "education_equipment_templates" for my custom cultures, thinking this was the issue, but I am still getting crashes on a save game.

Is there another dependency I have missed? Or would the addition of these files not be compatible with my save game?

Any help would be appreciated.
 
Hello!

You have indeed missed "equipment_sets" file.

Check "SandboxCore/ModuleData/sandboxcore_equipment_sets" for reference. For example Empire culture uses equipment sets from line 3626 to line 4769 when generating sets for heroes coming to age.
 
Thank you, I had tried to use a subset of equipment_sets but that does not seem to be working either, so I guess I'll have to try using the whole file!
 
So I'm still getting this, even after adding all the entries I can see in:

education_character_templates
education_equipment_templates
sandbox_equipment_sets

Is there anything obviously wrong with my files?


Edit: ok...I realised I haven't done "sandboxcore_equipment_sets" yet which you mentioned above...I will give that a go and report back!
 
Last edited:
Back
Top Bottom