Question about pawns

Started by tiger33116, April 07, 2016, 03:10:47 PM

Previous topic - Next topic

tiger33116

Ok my question is how are the skills/traits of a pawn stored? What would I need in order to copy and store that information somewhere else, like a data bank of some kind.

Fluffy (l2032)

We're going to need some more information.

You can find this stuff in the save file, it's just an xml file you can open with any text editor. Search for the pawns nickname (it's a BIG text file), and you should be able to figure it out from there.

You can also access this stuff in-game with some C# code. Start with Pawn.Skills and Pawn.Backstory

tiger33116

Ok thanks for the information. I want to make my own mod that would allow me to backup someone's skills and to some extent copy them over to another person.