Mods / Alternative Map Icon Renderer

Category: #QoL #Tweak
Author: Rangelost
Side: Client
Created: May 23rd 2023 at 5:55 AM
Last modified: Aug 15th 2023 at 11:19 PM
Downloads: 4611
Follow Unfollow 115

Latest file for v1.18.8:
altmapiconrenderer.zip 1-click install


This is a simple mod with the objective of even further increasing waypoint icon visibility on the world map.

Note: The author is on indefinite break. If you would like to continue this mod, feel free to use the included source code.

 

Description


This mod changes the following:

  • Slightly increases player and waypoint icon size;
  • Replaces the waypoint icon "shadows" with thick outlines;
  • Aligns waypoint icons on a pixel grid for a cleaner render;
  • Prevents waypoint icons from resizing on mouseover — instead, icons are highlighted;
  • Fixes the size of waypoint icons' clickable area to prevent from creating a new waypoint when trying to edit an existing one;
  • Removes waypoint index from hover text to reduce clutter.

 

Commands


The available commands are:

  • .amir square [value]

    Sets whether or not waypoint icons are rendered as squares.

    Variable Description Values
    [value] Whether or not square icons are enabled. off or on
  • .amir outline [style]

    Sets waypoint icon outline style.

    Variable Description Values
    [style] Outline style. thick or thin
  • .amir pc [colour]

    Sets player pin colour.

    Variable Description Values
    [colour] Hex colour code. #RRGGBB or #RRGGBBAA
  • .amir hide

    Hides waypoint icons for the current session.

  • .amir show

    Restores waypoint icons hidden by .amir hide.

  • .amir help

    Displays a summary of these instructions.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.2.2 2595 Aug 15th 2023 at 11:19 PM Show altmapiconrenderer.zip Install now
v1.2.1 642 Jul 13th 2023 at 8:07 PM Show altmapiconrenderer.zip Install now
v1.2.0 335 Jul 4th 2023 at 9:10 PM Show altmapiconrenderer.zip Install now
v1.1.1 629 May 24th 2023 at 12:31 AM Show altmapiconrenderer.zip Install now
v1.1.0 189 May 23rd 2023 at 8:43 PM Show altmapiconrenderer.zip Install now
v1.0.0 221 May 23rd 2023 at 5:57 AM Show altmapiconrenderer.zip Install now

43 Comments (oldest first | newest first)

💬 WickedSchnitzel, Sep 6th at 4:10 PM

In case you should ever update this:

6.9.2024 18:08:39 [Notification] Server stop requested, begin shutdown sequence. Stop reason: Exit request by client
6.9.2024 18:08:39 [Notification] Entering runphase Shutdown
6.9.2024 18:08:39 [Error] [altmapiconrenderer] An exception was thrown when trying to start the mod:
6.9.2024 18:08:39 [Error] [altmapiconrenderer] Exception: Object reference not set to an instance of an object.
at AltMapIconRenderer.AltMapIconRendererSystem.Dispose()
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 660
6.9.2024 18:08:39 [Error] Failed to run mod phase Dispose for mod AltMapIconRenderer.AltMapIconRendererSystem

on every shutdown of the game.

💬 Wookiee81, Aug 27th at 6:51 AM

So I have a little request,

You have exposed square_waypoints, player_colour, thin_outlines in the config.JSON

Can we also get access to waypointScale, playerScale in the config?

A friend of mine is legaly blind and needs big icons to play with more independance, I noticed this mod makes the icons bigger, just need to be able to get a little control over that size.

 

Regards,

 

Wook

EDIT: Never mind just noticed the indefinite break

💬 Janeator, May 20th at 5:58 PM

I'm not sure who I should ask, so I'll ask both of you; would it be possible to support the Cartographer mod's shared waypoints so they render with the icons on this mod? The vanilla map icons are nigh-impossible to see.

💬 MadGnome, Feb 26th at 3:59 AM

artemax44 No.

Note: The author is on indefinite break. If you would like to continue this mod, feel free to use the included source code.

💬 artemax44, Feb 5th at 12:59 PM

Rangelost

Is possible upgrade to 1.19.13 thank you
💬 Mendall, Feb 1st at 1:49 AM

Lol I see I asked this very question back in 1.18 but...... anyone know if this mod still works in 1.19?

💬 Saricane, Sep 28th 2023 at 4:20 AM

Hi Rangelost, I installed AMIR to use the hide feature (need to hide markers to take screenshots of naked map), but when I run the hide command, icons vanishes (ok), but then the whole display get messed up (less ok), then black, until I have to kill the client. No other mod except Status HUD. I don't know if I'm the only one to report that (v1.18.12, linux Mint, Nvidia Geforce GTX750 Ti)

💬 Elpis, Sep 14th 2023 at 7:57 AM

Crashes on 1.18.10 when I try ".amir hide".  I'm running ProspectorInfo too, so will check later in case the two mods conflict.

💬 Ryuu, Sep 14th 2023 at 7:21 AM

Mendall it does.

💬 Mendall, Sep 12th 2023 at 6:11 PM

Anyone know if this mod still works in 1.18.10

💬 Jade1, Sep 6th 2023 at 6:24 PM

May I suggest that you add the mod version name to the name of the download? (e.g. altmapiconrenderer-v1.2.2)

💬 DanaCraluminum, Jun 30th 2023 at 10:27 AM

Rangelost Not sure now, but I think now that it caused by one of my mods

💬 RangelostAuthor, Jun 30th 2023 at 2:07 AM

DanaCraluminum
And this relates to my mod how, exactly...?

💬 DanaCraluminum, Jun 30th 2023 at 1:55 AM
happens extremely often, every minute
 
30.6.2023 04:38:14 [Notification] A tick took 10037.23 ms
10037.23ms,  call : all
  10021.10ms, 1 call : rendGuiGuiDialogWorldMap
  12.09ms, 1 call : sleep
  1.03ms, 1 call : end
💬 RangelostAuthor, Jun 9th 2023 at 7:28 PM

Craluminum
You can compare mod versions by checking the Mod Manager on the game's title screen and the Files tab on this website. Renaming the filename seems just as inconvenient for replacing existing old versions.

💬 DanaCraluminum, Jun 9th 2023 at 7:07 PM

To be able to distinguish whether should I update your mod or not

💬 RangelostAuthor, Jun 9th 2023 at 7:05 PM

Craluminum
To what end...?

💬 DanaCraluminum, Jun 9th 2023 at 6:13 AM

Could you include mod version to the zip file of each of your mods?

💬 Yelb, May 28th 2023 at 6:41 AM

The square option is adopted, thanks !

💬 Twy, May 26th 2023 at 10:29 PM

Looks impressive 🔥

💬 RangelostAuthor, May 25th 2023 at 9:24 PM

tRead
Lucky!

💬 tRead, May 25th 2023 at 7:01 PM

Thank you!  Don't NEED my glasses now when playing.  :)

💬 RangelostAuthor, May 24th 2023 at 7:54 AM

Craluminum
You are welcome. Heart.

artemax44
That is fortunate! Thanks for your feedback.

💬 artemax44, May 24th 2023 at 6:28 AM

Rangelost

This latest version of mod 1.1.1 fixed the problem. Thank you
💬 DanaCraluminum, May 24th 2023 at 5:34 AM

Rangelost Thank you ❤️

💬 RangelostAuthor, May 24th 2023 at 2:14 AM

Shion
Without the logs, it will be very difficult to locate the issue; the two mods do not interact with each other in any way. Anyhow, I have updated the Waypoint Colours mod to use a config file instead of a standalone file, on the off-chance that reading from the latter caused compatibiliy issues on some systems.

💬 Shion, May 24th 2023 at 12:47 AM

Yes, I tried. Can't get the logs. Removing the Waypoint Colours mod "fixed" the issue.

💬 RangelostAuthor, May 24th 2023 at 12:37 AM

Cherry_Brendon
I can. I have added a new option in v1.1.1 to render thin outlines. Refer to screenshot #5 for a preview, and to the description for instructions.

Shion
That is unusual. I have no issues running both mods together. Have you tried restarting your client? Otherwise, look for errors in the VintagestoryData/Logs/client-main.txt file.

💬 Shion, May 24th 2023 at 12:11 AM

Doesn't seem to work, even though the config file is created. Looks like the Waypoint Colours mod overrides this one.

💬 Cherry_Brendon, May 23rd 2023 at 11:37 PM

Can you make option's to make shadows little smaller?

💬 RangelostAuthor, May 23rd 2023 at 9:59 PM

artemax44
Square waypoints should be disabled by default. If they are enabled when they shouldn't be (see the config file), let me know.

💬 artemax44, May 23rd 2023 at 9:15 PM

Rangelost

one last thing. did you remove the other render? I preferred the non-square ones XD
💬 RangelostAuthor, May 23rd 2023 at 9:12 PM

Cookieie
Glad I could help! You are not alone in your half-blindness.

artemax44
You are welcome.

💬 artemax44, May 23rd 2023 at 9:01 PM

Rangelost

thank you!
💬 RangelostAuthor, May 23rd 2023 at 9:00 PM

Craluminum
I've added a new option in v1.1.0 to render waypoint icons as squares. Refer to screenshot #3 for a preview, and to the description for instructions.

artemax44
The player icon's texture seems to be created by code. It would be possible to replace it, but that would require a new texture, which I do not have. For now, I have added a new option in v1.1.0 to change the player icon's colour. Refer to screenshot #4 for a preview, and to the description for instructions.

Mendall
With enough luck, this will be the last waypoint-related mod that I make. I am glad that you enjoy Pixel Waypoints. I use it together with this mod, so there is no reason to discontinue it.

💬 Cookieie, May 23rd 2023 at 8:58 PM

This is brilliant!  I had no idea I had marked so many spots on my map that I was not able to see or find until I downloaded this mod.  Thanks for this from a half blind player. 

💬 Mendall, May 23rd 2023 at 6:03 PM

wow, you made yet another alt waypoint mod? I assume this might be a better choice for those that prefer the vanilla icons, I for one though hope this don't mean you are going to discontinue pixel waypoints, I have really come to love them.

💬 artemax44, May 23rd 2023 at 9:52 AM

Rangelost

Do you know if I can somehow modify the player icon or players?
I wish I could put another color on it. It costs a lot in winter to locate players on the map
💬 DanaCraluminum, May 23rd 2023 at 8:19 AM

I would appreciate a simulation of this

💬 RangelostAuthor, May 23rd 2023 at 8:06 AM

Craluminum
I see. It would be difficult to render icons in a square-shaped negative space (and make them look good) if they were not designed to be that way.

If you would like, I could create an expansion set for my Pixel Waypoints mod to include replacements for your icons. Otherwise, I will look into adding an option to programatically simulate a similar result (minus the pixelated style).

💬 DanaCraluminum, May 23rd 2023 at 7:30 AM
💬 RangelostAuthor, May 23rd 2023 at 7:29 AM

Craluminum
I'm not sure I understand. If you prefer the square-shaped icons, then you can use both mods together.

💬 DanaCraluminum, May 23rd 2023 at 6:58 AM

Could you also add an option to do something like that? Add alpha outline and then fill everything outside the outline with color

(edit comment delete)