Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

What values are you trying to change in the save file to make the hybrid race? The basic formula (as I understand it, deviate wrote that particular code) is that 70%+ is full blooded for one race while 30%+ is enough for a hybrid to be considered. I don’t believe it handles 3 way hybrids though (ie: 30% for 3 different)

(3 edits)

So, I took a character, changed the name and id of them, and then was just trying to make them appear as either mixed or hybrid. I was specifically changing the 'race' and 'race_display' to 'Human' and 'Fox' respectively. I also changed higher up (but in the section for the same character) the values in 'genealogy' of human and fox to 76/24 respectively, just changed them to 65/35 and it still didn't work. Character comes up blank.

It seems that if 'race' and 'race_display' aren't the exact same, then the character page blanks itself. If they're the same, but an invalid character type (Halfkin Dragon for example) then it loads fine but clicking on the highlighted name thats invalid forces me to close, which is expected. 

EDIT: My error logs show the exact same errors as Fibian (a few posts above mine) except for the 'slave_tab.gd' number (which isn't surprising) so I'm decently sure his problem has to do with this.

I see a couple of issues there. Editing an existing character might work but that character won't be able to be successfully called if you didn't add in that new ID you'd created manually to globals.slaves (which is how all of the person references are called by the game). As you said, something that isn't vanilla (like Halfkin Dragon) has no racial description so will force a crash for sure.

I'd recommend trying that on an existing slave without effecting the name/id and see if you can get it to manually update like that.

(2 edits)

To check, if the person appears near the bottom of the save file where it lists the name, sex, race, id, etc. does that mean that they're in the globals.slaves area?

Edit: If not then I have no idea where to look. About the only bit of coding I've messed with was some C++ in highschool, editing saves on this, and messing with some config files for other games.

Edit 2: Changed a Halfkin Bunny's race (genealogy with orc 37) to Orc and race_display left on Halfkin Bunny, same exact errors.

I would recommend looking for "slaves". There's a "guildslaves" as well, but it'll be one inside of slaves. Again, I just recommend changing the existing slave without changing ids (obviously this will override the old one) if you're looking to just test it

(1 edit)

I've got a separate set of saves for testing stuff, so no problems there.

Edit: Double checking here, 'slaves' in the save file? Or slave somewhere else? Because if its in the save file I know exactly what you're talking about, and thats where I'm changing things.

In the save file. Gotcha, I wasn't sure if that's where you were

Yeah, thats where I've been changing everything. I'm pretty sure that something to do with genealogy is breaking and causing the errors that Fibian and myself are receiving. Might wanna pass the info along to deviate since they're the original coder for that portion.