Adds a key to hide and display the minimap. key defaults to / can be changed in MCM or by editing the script.
Changing the key can be done by editing the script. Simply change the "DIK_SLASH" to something else.
here is a full list of DIK_ values that can be used. (copied from some code ignore the numbers and other bits)
class DIK_keys {
const DIK_0 = 11
const DIK_1 = 2
const DIK_2 = 3
const DIK_3 = 4
const DIK_4 = 5
const DIK_5 = 6
const DIK_6 = 7
const DIK_7 = 8
const DIK_8 = 9
const DIK_9 = 10
const DIK_A = 30
const DIK_ADD = 78
const DIK_APOSTROPHE = 40
const DIK_APPS = 221
const DIK_AT = 145
const DIK_AX = 150
const DIK_B = 48
const DIK_BACK = 14
const DIK_BACKSLASH = 43
const DIK_C = 46
const DIK_CAPITAL = 58
const DIK_CIRCUMFLEX = 144
const DIK_COLON = 146
const DIK_COMMA = 51
const DIK_C />const DIK_D = 32
const DIK_DECIMAL = 83
const DIK_DELETE = 211
const DIK_DIVIDE = 181
const DIK_DOWN = 208
const DIK_E = 18
const DIK_END = 207
const DIK_EQUALS = 13
const DIK_ESCAPE = 1
const DIK_F = 33
const DIK_F1 = 59
const DIK_F10 = 68
const DIK_F11 = 87
const DIK_F12 = 88
const DIK_F13 = 100
const DIK_F14 = 101
const DIK_F15 = 102
const DIK_F2 = 60
const DIK_F3 = 61
const DIK_F4 = 62
const DIK_F5 = 63
const DIK_F6 = 64
const DIK_F7 = 65
const DIK_F8 = 66
const DIK_F9 = 67
const DIK_G = 34
const DIK_GRAVE = 41
const DIK_H = 35
const DIK_HOME = 199
const DIK_I = 23
const DIK_INSERT = 210
const DIK_J = 36
const DIK_K = 37
const DIK_KANA = 112
const DIK_KANJI = 148
const DIK_L = 38
const DIK_LBRACKET = 26
const DIK_LC />const DIK_LEFT = 203
const DIK_LMENU = 56
const DIK_LSHIFT = 42
const DIK_LWIN = 219
const DIK_M = 50
const DIK_MINUS = 12
const DIK_MULTIPLY = 55
const DIK_N = 49
const DIK_NEXT = 209
const DIK_NOC />const DIK_NUMLOCK = 69
const DIK_NUMPAD0 = 82
const DIK_NUMPAD1 = 79
const DIK_NUMPAD2 = 80
const DIK_NUMPAD3 = 81
const DIK_NUMPAD4 = 75
const DIK_NUMPAD5 = 76
const DIK_NUMPAD6 = 77
const DIK_NUMPAD7 = 71
const DIK_NUMPAD8 = 72
const DIK_NUMPAD9 = 73
const DIK_NUMPADCOMMA = 179
const DIK_NUMPADENTER = 156
const DIK_NUMPADEQUALS = 141
const DIK_O = 24
const DIK_P = 25
const DIK_PAUSE = 197
const DIK_PERIOD = 52
const DIK_PRIOR = 201
const DIK_Q = 16
const DIK_R = 19
const DIK_RBRACKET = 27
const DIK_RC />const DIK_RETURN = 28
const DIK_RIGHT = 205
const DIK_RMENU = 184
const DIK_RSHIFT = 54
const DIK_RWIN = 220
const DIK_S = 31
const DIK_SCROLL = 70
const DIK_SEMICOLON = 39
const DIK_SLASH = 53
const DIK_SPACE = 57
const DIK_STOP = 149
const DIK_SUBTRACT = 74
const DIK_SYSRQ = 183
const DIK_T = 20
const DIK_TAB = 15
const DIK_U = 22
const DIK_UNDERLINE = 147
const DIK_UNLABELED = 151
const DIK_UP = 200
const DIK_V = 47
const DIK_W = 17
const DIK_X = 45
const DIK_Y = 21
const DIK_YEN = 125
const DIK_Z = 44
const MOUSE_1 = 337
const MOUSE_2 = 338
const MOUSE_3 = 339
reserved
reserved
[RESERVED]
Greetings! Thanks for the mod!
I've tested it, and it didn't work. I've tried changing the script with other buttons, to no avail.
I've noticed that you're using the square minimap in the description. The square minimap addon is needed before?
Thanks.
Nope. Works fine for me with out it.
I don't use that mod myself because it hates 21:9 monitors with a passion. The guy that made that mod made the preview image for me.
Yours is probably an installation issue. the anomaly discord's channel addon-discussion is a good place to get real time help with that sort of thing.
Hey, Raven. Just passing to let you know that your mod is working fine. In the end, it was just that, in my keyboard, for whatever reason, the default key is the semicolon. Maybe language setup. But it is, indeed, working.
Thanks for your mod!
that is interesting to know.
Awsome mod, thank!
Good idea, not tested but i think your default key not good for me because i'm using a french AZERTY keyboard...i must test...
Tested, works fine, thanks man !
Seems as if the minimap toggle doesn't turn off the NPC counter. so once you toggle the minimap on then off near NPC's the counter stays and shows backup if you come close to more NPC's.
that counter is not part of the mini map it is added by a mod. That mod ignores the mini map visibility setting.
Since i am setting the minimap visibility flag in the games setting if that mod followed that setting it would work fine.
definitely no DIK SLASHING for me, will have to change.
Now uses MCM to set keybind.
Thank you for sharing this! Is there any way you could release another mod that toggles the follower icons?
There is a way.
I added it to a list.
Discord.com
Hi, the minimap is activated or deactivated by having the HUD activated ...
Is there any way to make that without having the HUD activated? That is, activate only the map without the rest of the HUD info
Sorry if my question is not well expressed, English is not my language, I hope you understand what I want to say ... Thank you and hug.
Nope. The option to hide the hud works via console command it is all or nothing. Maybe in anomaly 1.6 after tronex reworks the hud code.
Sadly... thanks anyway for the answer.