Valheim
0 of 0

File information

Last updated

Original upload

Created by

MaterousApps

Uploaded by

Materous

Virus scan

Safe to use

Tags for this mod

About this mod

*This mod has been deprecated* AutoMapPins mod but with configurations for each pin. Along with custom pins for each object.

Requirements
Permissions and credits
Changelogs
*Notice*
There is a new mod out that utilizes the base code from my mod, please go ahead and switch over to that mod since I will no longer be maintaining this verions: https://www.nexusmods.com/valheim/mods/2199

After using the AutoMapPins mod by Bdew, I found that I needed a bit of configuration for it (as well as many other people).  I reached out and asked if they wouldn't mind if I tried my hand at adding some configuration.  With their permission I have added a configuration file for the mod.

Changes from original Mod:
  • Added configuration file
  • Added option to use colored pins (the dot) or the sprite for the item. Copper nodes will show Copper Ore, Berry bushes will show Berries.
  • Added option to each pin to be able to show it, it's name, and to save it.  The save isn't permanent. It is only for that session. They will vanish if you log out. However they will stay if you move away from the area.
  • Added option to disable multiple pins of the same type within a certain radius. Larger number means less pins in an area. (this is useful for berries)
  • Added scaling options for each pin. By default they will be smaller than the other pins on the map, just so everything isn't clustered.

ToDo:
  • Add ability to upload custom images for each pin
  • Add other spawn types (crypts, spawners, chitin, etc.) - if there is interest

Version 1.2.2
Temporarily disabled commands, was resulting in errors when trying to enter any commands.

Version 1.2.0
Updated to correct issue with H&H release

Previous Versions
Spoiler:  
Show

Version 1.1.1
Added nexus Id to config file
Fixed issue with being able to remove death pin - was preventing new death pins from appearing. As of now it cannot be removed.
Fixed issue with pins not reappearing around character after log out and back in

Version 1.1.0
Fixed issue with cloudberries not following config options to turn on/off
Fixed issue with being able to remove starting pin showing where the boss mounting racks are
Stopped pins from appearing in dungeons

Version 1.0.9
Reduced min range to 5
Added Serpent tracking

Version 1.0.8
Fixed issue with pin saving not functioning after adding in the range feature.
Fixed issue with being able to check off pins. 

FYI- if you check off a pin and the 'X' appears behind it, you most likely have multiple pins in one location.  Remove the check and then right click to remove a pin. Then try to add the check again.  You may have to do this a few times to get down to just one pin, or for the X to begin appear on the top pin.
Alternatively, you can do the /AMP-Clear [NAME] to clear just that type of pin, then proceed over that area to re-add the pin so there is just one.

Version 1.0.7
Spoiler:  
Show
Slight change around the filter code to potentially stop from encountering a NullReferenceException.


Version 1.0.6
Spoiler:  
Show
Changed the /AMP-Clear console command to accept a single pin name so you can clear specific types of pins.
Added /AMP-FilterList to list the currently filtered pins.


Version 1.0.5
Spoiler:  
Show

Added console command to clear all saved pins.
Added console command to clear all AMP pins (temporary pins will come back once you start moving).
Added console command to filter pins (current session only, all pins will be visible once you log out and back in).
Added Leviathans & Flametal.

Right clicking a pin now removes it correctly, if it is within range of your character.  The default way the game was designed to handle this was to check if the pin saved or not, and if it was saved, then it would remove. Since the temporary pins are not, by default, being saved, it wouldn't attempt to remove it, but moving out of range would cause the pin to remove.

Some small optimization tweaks to how pins are updated when loading in.  This may have an impact for some people with weaker machines.


Version 1.0.4
Spoiler:  
Show
More updates to the optimizations for the pinRange feature.  Hopefully these make a difference and don't have such a large impact on performance.
If you encounter a large cluster of pins in one area, you may still see some drops, however once it has finished processing them initially, it should clear up anytime you go back to that area.

Also added a configuration option to allow you to define your own name for each pin type.


Version 1.0.3
Spoiler:  
Show
Optimizations have been made to the pinRange feature added in 1.0.2. Please let me know if these have made any improvements in your FPS. I tested for about 30 minutes and didn't see any drops in frames.


Version 1.0.2
Spoiler:  
Show
Fixed issue with Troll Cave config entries being the same as the Dragon Egg entries.
Fixed issue with character logging out then back in, not causing the pins to update to the proper icons.  They were showing the circle icon that appears when a character first logs into the game.

New Feature:
Pin Range Support. You can now specify how far away you want the pins to begin appearing/disappearing from your character.  Yes, this works both ways.  When you move within range of something, it will show a pin on your map, and when you move out of range of that item, the pin is removed (unless you've specified to save it).

The config has a min (10) and max (450) value specified.  450 is larger than the items actually begin appearing, they don't begin appearing until around the 150-200 mark, which is defined in the game and we can't control that. I went much higher than needed to ensure we were getting everything we could if people wanted to do so. If we find that 10 is still too large of a range, I can lower the min, but I wanted it to be a circle around the player, and not directly under the player, otherwise you'd never see the items popping up on your map.

*Suggested to downgrade to 1.0.1 if experiencing FPS drops after upgrading to 1.0.2. Optimization efforts are underway to hopefully improve the situation.*


Version 1.0.1
Spoiler:  
Show
Ability to save pin was added.  It should also reload and update the icon to the sprite that the mod uses.  As long as the pin was created by the mod. This will NOT update any existing pins to use the sprites in this mod.

New pins added
-Red Mushrooms
-Carrot Seeds
-Turnip Seeds
-Troll Caves
-Burial Chambers
-Sunken Crypts
-Fire Holes (Surtling spawners in swamps)
-Draugr Spanwers
-Skeleton Spawners
-Grewarf Spawners
-Muddy piles in Swamps (Iron)

You will see configuration options for Serpent spawns, however that is not currently functional. It is unable to locate the actual name for the serpent spawners.  I left the configure options in so that it would become active once I get it working correctly. 

There is also a configuration option for pinRange.  That is a work in progress as well.  The original version of it wasn't working as intended, so the code behind it was removed, but I left the configuration option, as sort of a sneak peak into what is coming!


Also, the only new icons that were added, were the in game sprites.  I have not added any colored pins (Icon option 2). If anyone is using these, let me know and I will work on getting them updated. I'm actually thinking of removing this option completely and just leave it using the in-game sprites. So please, if anyone uses the colored pins let me know.



Due to optimization issues causing FPS drops the main file is set to 1.0.1 with an optional download for v1.0.6. This will remain this way until I can get a good set of optimizations in place for the pinRange feature and people don't have as much impact while using this mod. With 1.0.6 if you notice a pin that doesn't immediately remove when you get out of range, you should now be able to right click and remove it, if it doesn't remove after moving around some more.

Optimization issues have potentially been rectified. 1.0.7 has been promoted as the main file.  If you encounter large FPS drops on a consistent basis please let me know A.S.A.P.

Currently there is an issue that if you remove a pin manually, it will not be re-added.  I'm looking into why this is happening and how to correct it.

Console Commands:
/AMP? #(for more pages in the future, right now it's just 1)
/AMP-Clear [name] - removes the specified named saved pins
/AMP-ClearAll - removes all AMP created pins
/AMP-Filter - to get a list of filterable pins 
/AMP-Filter [name] - name is returned in the list from the previous command, enter without brackets.

Compatibility Issues:
May not be compatible with other mods that make changes to pins, such as PinFilters, Remove Death Pins, Locator, etc.
If your using the Compass mod you may have some FPS loss when adding a lot of pins to your map, since that mod also displays those pins on the compass as well.