raskolnik wrote:ChickenBandit wrote:I'm pretty sure I've figured out where it saves location data (i.e. the crew member's exact position in the ship). I'll be posting a full list of the values for the Kestrel that will go along with this map:
[...]
I plan on figuring out door states next, soon to be followed by a lot of other stuff (i.e. is such and such square on fire? Is such and such square breached?)
That's awesome. Is this something that's stored in the save file? If so, where?
I'll post what I have so far, and I'll explain what I've figured out on it so far. Here's a typical crew member's data:
Code: Select all
53 63 6f 6f 70 73 05 00 00 00 68 75 6d 61 6e 00 00 00 00 64 00 00 00 e3 00 00 00 7a 00 00 00 07 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 00 00 00 00 00 00 00 00 00 00
I'm actually not 100% sure where it ends, but that'll be easy to figure out when I actually try. Now look at this at the start:
Code: Select all
53 63 6f 6f 70 73 05 00 00 00 68 75 6d 61 6e 00 00 00 00 64 00 00 00
That's the name plus some other value I haven't figured out yet. Immediately after is the data for the crew member's current position:
Code: Select all
e3 00 00 00 7a 00 00 00 07 00 00 00 00 00 00 00
I'm not sure yet if the last three 00s are part of the position value or not, still need to test some stuff for that.
The e3 is the X coordinate, the 7a is the Y coordinate, and the 07 is which bulkhead they're in (in this case, the square room just left of the med bay). Sometimes the 2nd and 13th values are something other than 00, but I don't know what those ones do, if anything. I'll edit the coordinates I've figured out so far into the post where I put the map.