highCard
Recruit
I'm attempting to create a new user-interface accessible through a character dialog, and have some questions about feasibility, and technical considerations.
In a nutshell, I need to display a version of the World Map with all villages/towns that has enough fidelity for a user to click on individual settlements for use in a configurable Trade Route Management mod. I would like to basically replicate the overarching world map, but without the parties etc. Layered atop this map view, I'd like to overlay some fixed 2d UI elements. For the windows, buttons etc, I think I have a pretty good idea of how to implement those using ViewModels and GauntletUI. My main concern is how to handle the worldmap. At this moment, I'm ruling out hard-coded sprite-based implementations, as I'd like to maintain compatibility with mods that modify the vanilla worldmap.
Mockup of the desired interface:
After digging through the code a bit, it seems like I would need to replicate the `MapScreen` object which inherits from `ScreenBase`, which in turn contains a `Camera` object, and a `MapScene` object. I would esseentially be creating my own `TradeMapScreen` and `TradeMapScene` classes.
I'm absolutely up for the challenge of going this route, but I'd prefer to get some feedback if I'm approaching this from the right direction, or whether there are simpler or more effective means of achieving the result I'm looking for. If anyone has intimate domain knowledge of how all of these components fit together, I'd be much obliged, and would truly appreciate any input. Thanks in advance.
In a nutshell, I need to display a version of the World Map with all villages/towns that has enough fidelity for a user to click on individual settlements for use in a configurable Trade Route Management mod. I would like to basically replicate the overarching world map, but without the parties etc. Layered atop this map view, I'd like to overlay some fixed 2d UI elements. For the windows, buttons etc, I think I have a pretty good idea of how to implement those using ViewModels and GauntletUI. My main concern is how to handle the worldmap. At this moment, I'm ruling out hard-coded sprite-based implementations, as I'd like to maintain compatibility with mods that modify the vanilla worldmap.
Mockup of the desired interface:
After digging through the code a bit, it seems like I would need to replicate the `MapScreen` object which inherits from `ScreenBase`, which in turn contains a `Camera` object, and a `MapScene` object. I would esseentially be creating my own `TradeMapScreen` and `TradeMapScene` classes.
I'm absolutely up for the challenge of going this route, but I'd prefer to get some feedback if I'm approaching this from the right direction, or whether there are simpler or more effective means of achieving the result I'm looking for. If anyone has intimate domain knowledge of how all of these components fit together, I'd be much obliged, and would truly appreciate any input. Thanks in advance.