This replaces the current mode of travel, which is selecting a target on the overmap and pressing "travel", which reloads the scene to a different tacticalmap.
This pr:
Implements the overmap_helper, which generates a large chunk of overmap in the same way that CDDA does it. Right now the overmap dimensions are 100x100 per chunk. When the player saves and loads the game, each of these will be saved and loaded to the disk as separate files (not implemented yet)
Reworked the overmap GUI to display the mapdata generated by overmap_helper. Had to make some changes to the coordinate system. Replaced the mouse scrolling feature with keyboard arrow key navigation temporarily. I'd like to re-introduce dragging with the mouses
Reworked the LevelGenerator to get maps from the overmap_helper. The kind of map that gets loaded as a chunk depends on the random seed position of the tile. Maps are marked as field, city or forest and one of each category will be picked at random.
Maps have weight in their settings to control the spawnrate
Saving and loading is not implemented yet so it's not possible after this pr.
Picture of the overmap:
This is really basic and we'll have to tweak the noise settings to get what we want. This is just for the base layer. The idea is that we load tacticalmaps on top of the base layer, which is why I have it generate a 100x100 grid. This gives us space to plot out the tacticalmaps for the player to explore.
Khaligufzel has made his attempt and I'm building off that. His work is here: https://github.com/Khaligufzel/CataX/blob/intergrating-world-generator/WorldGeneratorTesting/WorldGeneratorTest.gd
This replaces the current mode of travel, which is selecting a target on the overmap and pressing "travel", which reloads the scene to a different tacticalmap.
This pr:
Picture of the overmap:
This is really basic and we'll have to tweak the noise settings to get what we want. This is just for the base layer. The idea is that we load tacticalmaps on top of the base layer, which is why I have it generate a 100x100 grid. This gives us space to plot out the tacticalmaps for the player to explore.