Thanks! I wanted a GTA5 style minimap zoom and here it is! And since it's bound to the Witcher senses, it feels like it's "part of the lore". :) Great work!
Works smoothly, thank you. My game runs in french, am i missing a dependency to have some text in options menu instead of empty or variables ? If like me you have only one added configuration menu, you'll have a blank line instead of Mods. I installed Community Patch - Menu Strings
And there also is the default “Mods” ID for the Mods menu in Options.
The minimap zoom effect with witcher senses is just brilliant. Anyway a lot better than the default minimap.
I made a fr.w3strings but I have VANILLA and ##PRESET_VALUE_ as presets names. I don't know how the w3trings are linked to the xml menus, I don't have the will to dig in that for now.
Also i changed the order of :if (isInFocus) return cfg.LevelInFocus(); To have the minimap zoom in interior too, especially useful in some big caves, so far so good.
I've been thinking about adding separate Focus levels for inside and on horse and boat too, not having a way to "zoom out" feels weirdly limiting now 🙃
As for translations, I'll make a CSV available that we can import, but it'll have to wait until I'm back near a computer 😅
I installed a bunch of mods with config menu, some of them have only english labels which is fine. The "problem" with yours is that the labels are the displaynames like "mod_dynamic_minimap_zoom_on_foot". I entered in the menu 2 or 3 times so it's not ruining my gaming life.
Zoom in interior is useful but not pretty. Instead of having n zoom focus configs, what do you think of one zoom focus percent ?
The zoom factor works great. I have translated the labels in french but respecting the caps seems odd, I tried to send you a nexusmods message but it seems bugged. Here it is for 6 days https://filebin.net/ruzn0gmpncxfl3n2
I had to copy en.w3strings to de.w3strings to have human-readable names in config. They are still not german, but thats not important.
@Owner: I suggest that you duplicate your en.w3strings for every common language, like other mod creators do. You don't have to translate it. It's better to have english text in config than those placeholder names.
Looks interesting, but I just don't get one thing: what is the point of ModDynamicMinimapZoomGetMinimapModule function? I'm just curious, that's all. I mean, wouldn't it be easier to make ModDynamicMinimapZoomGetMinimapZoomLevel and ModDynamicMinimapZoomSetMinimapZoomLevel functions global (instead of adding them to the CR4HudModuleMinimap2) and just calling them in your wrappers without accessing the CR4HudModuleMinimap2? So, it will look like this and this. Btw, you don't need metadata.store, since it's a script only mod
ModDynamicMinimapZoomGetMinimapZoomLevel needs to access isInCombat and isInCombat, both of which are private fields of CR4HudModuleMinimap2, so unfortunately it has to be a method on the minimap module if I want to stick to annotation-only scripts. (Alternatively I could try to determine whether we are in combat or focus via other means, but then the fields are right there for me to use so I did :D)
Good to know re: metadata.store; Redkit created it for me and seemed like the easiest way to also get the mod into the Steam Workshop so I'm not sure I'll bother to remove it.
Drop DynamicMinimapZoom.xml into your bin/config/r4game/user_config_matrix/pc/ folder and add it to dx11filelist.txt or dx12filelist.txt to enable the configuration menu.
19 comments
My game runs in french, am i missing a dependency to have some text in options menu instead of empty or variables ?If like me you have only one added configuration menu, you'll have a blank line instead of Mods.
I installed Community Patch - Menu Strings
Anyway a lot better than the default minimap.
I don't know how the w3trings are linked to the xml menus, I don't have the will to dig in that for now.
Also i changed the order of :
if (isInFocus)
To have the minimap zoom in interior too, especially useful in some big caves, so far so good.return cfg.LevelInFocus();
As for translations, I'll make a CSV available that we can import, but it'll have to wait until I'm back near a computer 😅
Zoom in interior is useful but not pretty.
Instead of having n zoom focus configs, what do you think of one zoom focus percent ?
I can't play without your mod, gg !
You can also find the localization CSV under Misc. files now, looking forward to proper translations!
I have translated the labels in french but respecting the caps seems odd, I tried to send you a nexusmods message but it seems bugged.
Here it is for 6 days https://filebin.net/ruzn0gmpncxfl3n2
@Owner:
I suggest that you duplicate your en.w3strings for every common language, like other mod creators do.
You don't have to translate it. It's better to have english text in config than those placeholder names.
Btw, you don't need metadata.store, since it's a script only mod
Good to know re: metadata.store; Redkit created it for me and seemed like the easiest way to also get the mod into the Steam Workshop so I'm not sure I'll bother to remove it.
Nice job for this nonetheless. I'll test it.
I personally opt for slower transition.
Good point re: Menu Filelist Updater, I'll update the instructions to mention it.