tylercamp / palcalc

MIT License
9 stars 1 forks source link

Detect map coordinates for player bases #9

Open tylercamp opened 1 month ago

tylercamp commented 1 month ago

Rather than just saying "a base" as the location for pals currently deployed to a base, it would be much better to show the map coordinates for that base.

The Palworld save file includes a list of all bases, their coordinates, and the pal container ID associated with them. The coordinates for a base are in world coordinates, not map coordinates, and the "map object" IDs associated with a base all seem to be set to the same position and are not useful for calculating the map coordinates of a base.

I think we'll need to figure out the transform from world coordinates to map coordinates and reflect them in Pal Calc.

It would be helpful to have some examples of bases with their world + map coordinates for reference.