• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Accessing map/player data smaller than a region file?

on my server, if something goes wrong I can restore a player file or region file. but a region I am told is 512x512.

someone said it is possible to restore smaller "chunks' of data around a map location. if so how can this be done?

I know coppis mod allows you to make copies of a map location so I am thinking you could take that code and lift a piece from a saved map and restore it to a new map. I assume that is what coppis mod does.

 
the prefab export commands are just reading the area in the live world and creating a prefab with it. You could code it to pull the data from the region files but nobody has coded it to work that way yet.

 
the prefab export commands are just reading the area in the live world and creating a prefab with it. You could code it to pull the data from the region files but nobody has coded it to work that way yet.
cool. that is what I was thinking. maybe next week with my downtime, so each region file is a section of 512x512 of the map so just need to map the coordinates from the game to a region file. at that point is it a X 0-512 Y = 0-512

?

 
Back
Top