Last active
July 14, 2026 15:28
-
-
Save Quantrik/f474aaeba41b7f05f3aef3593da7f15a to your computer and use it in GitHub Desktop.
TLI Maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #SingleInstance Force | |
| #Persistent | |
| global isClickThrough := true | |
| global isVisible := true | |
| global guiScale := 1.0 | |
| global Bullet := " > " ; Safe character for all encodings | |
| UpdateGUI() | |
| ; Monitor for clicks to allow dragging | |
| OnMessage(0x0201, "WM_LBUTTONDOWN") | |
| return | |
| ; --- Hotkeys --- | |
| F10:: ; Toggle Visibility | |
| isVisible := !isVisible | |
| if (isVisible) | |
| Gui, Show, NoActivate | |
| else | |
| Gui, Hide | |
| return | |
| F11:: ; Toggle Movement Lock | |
| isClickThrough := !isClickThrough | |
| if (isClickThrough) { | |
| Gui, +E0x20 | |
| Gui, Color, 151515 | |
| ToolTip, Overlay Locked | |
| } else { | |
| Gui, -E0x20 | |
| Gui, Color, 252525 | |
| ToolTip, Overlay Unlocked - Drag to move | |
| } | |
| SetTimer, RemoveToolTip, -2000 | |
| return | |
| ^=:: ; Zoom In (Ctrl + Plus) | |
| guiScale += 0.1 | |
| UpdateGUI() | |
| return | |
| ^-:: ; Zoom Out (Ctrl + Minus) | |
| if (guiScale > 0.5) { | |
| guiScale -= 0.1 | |
| UpdateGUI() | |
| } | |
| return | |
| ; --- The GUI Drawing Function --- | |
| UpdateGUI() { | |
| global | |
| if (MY_GUI_ID) | |
| WinGetPos, curX, curY,,, ahk_id %MY_GUI_ID% | |
| else { | |
| curX := 40 | |
| curY := 850 | |
| } | |
| Gui, Destroy | |
| ; --- Calculations --- | |
| FontSize_H := Round(11 * guiScale) | |
| FontSize_N := Round(10 * guiScale) | |
| Margin_H := Round(15 * guiScale) | |
| Margin_V := Round(20 * guiScale) | |
| LineSpacing := Round(8 * guiScale) | |
| SeparatorW := Round(190 * guiScale) | |
| Corner_R := Round(18 * guiScale) | |
| Background_Color := "151515" | |
| Border_Color := "333333" | |
| Font_Main := "Segoe UI" | |
| Gui, +AlwaysOnTop +ToolWindow -Caption +LastFound +HwndMY_GUI_ID | |
| if (isClickThrough) | |
| Gui, +E0x20 | |
| Gui, Color, % (isClickThrough ? "151515" : "252525") | |
| WinSet, Transparent, 215 | |
| Gui, Margin, %Margin_H%, %Margin_V% | |
| ; -- Glacial Abyss -- | |
| Gui, Font, s%FontSize_H% c0x00EBFF Bold, %Font_Main% | |
| Gui, Add, Text, xm, GLACIAL ABYSS | |
| Gui, Font, s%FontSize_N% c0x99FFFF Norm, %Font_Main% | |
| Gui, Add, Text, y+2, %Bullet% Deserted District | |
| Gui, Add, Progress, w%SeparatorW% h1 Background%Border_Color% c%Border_Color%, 100 | |
| ; -- Lava Lake (Fixed Bullets) -- | |
| Gui, Font, s%FontSize_H% c0xFF4E00 Bold, %Font_Main% | |
| Gui, Add, Text, y+%LineSpacing%, LAVA LAKE | |
| Gui, Font, s%FontSize_N% c0xFFB380 Norm, %Font_Main% | |
| Gui, Add, Text, y+2, %Bullet% T2: Twisted Valley`n%Bullet% T3+: Confession Chapel | |
| Gui, Add, Progress, w%SeparatorW% h1 Background%Border_Color% c%Border_Color%, 100 | |
| ; -- Steel Forge -- | |
| Gui, Font, s%FontSize_H% c0xFFB800 Bold, %Font_Main% | |
| Gui, Add, Text, y+%LineSpacing%, STEEL FORGE | |
| Gui, Font, s%FontSize_N% c0xFFE099 Norm, %Font_Main% | |
| Gui, Add, Text, y+2, %Bullet% Alleys of the Lost | |
| Gui, Add, Progress, w%SeparatorW% h1 Background%Border_Color% c%Border_Color%, 100 | |
| ; -- Thunder Wastes (Fixed Bullets) -- | |
| Gui, Font, s%FontSize_H% c0xBF00FF Bold, %Font_Main% | |
| Gui, Add, Text, y+%LineSpacing%, THUNDER WASTES | |
| Gui, Font, s%FontSize_N% c0xE6B3FF Norm, %Font_Main% | |
| Gui, Add, Text, y+2, %Bullet% Prayer Sanctuary`n%Bullet% Grove of Calamity | |
| Gui, Add, Progress, w%SeparatorW% h1 Background%Border_Color% c%Border_Color%, 100 | |
| ; -- Voidlands -- | |
| Gui, Font, s%FontSize_H% c0x8A2BE2 Bold, %Font_Main% | |
| Gui, Add, Text, y+%LineSpacing%, VOIDLANDS | |
| Gui, Font, s%FontSize_N% c0xD1B3FF Norm, %Font_Main% | |
| Gui, Add, Text, y+2, %Bullet% Filthy Forest | |
| Gui, Show, x%curX% y%curY% NoActivate, TL_Overlay | |
| Sleep, 50 | |
| WinGetPos,,, Width, Height, ahk_id %MY_GUI_ID% | |
| WinSet, Region, 0-0 w%Width% h%Height% R%Corner_R%-%Corner_R%, ahk_id %MY_GUI_ID% | |
| if (!isVisible) | |
| Gui, Hide | |
| } | |
| ; --- Move Function --- | |
| WM_LBUTTONDOWN(wParam, lParam, msg, hwnd) { | |
| global isClickThrough | |
| if (!isClickThrough) { | |
| PostMessage, 0xA1, 2,,, ahk_id %hwnd% | |
| } | |
| } | |
| RemoveToolTip: | |
| ToolTip | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment