Project Zomboid

Project Zomboid

183 ratings
Easy Placed Item Icons
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
292.325 KB
21 Sep, 2021 @ 11:07pm
9 Nov, 2021 @ 9:32pm
2 Change Notes ( view )

Subscribe to download
Easy Placed Item Icons

Description
Major Update - 2021-11-09

Update is a major upgrade and includes the ability to search over an area of configurable size, searching the area around either the player or the cursor, optionally showing items only on squares that are currently visible, plus more configuration options for how the icons are displayed.

Important Update Note 1: The update adds the ability for icon displays to be closed by clicking on them. However, to prevent this from interfering with combat those mouse clicks count both for closing the icon display as well as in game. So if you are aiming a firearm and click on an icon display to close it you will fire the gun in that direction.

Important Update Note 2: There is a behavior change when both the Search Movement Delay and Search Performance Delay options are set. When both of these are set, the Search Performance Delay value is now ignored.

Important Update Note 3: In terms of performance, the configurable size of the search area can introduce significant game stutter if the search area is too large. If you experience game stuttering, lower the size of the search area.

Add the ability to display icons of placed items near the cursor or the player. Useful for locating small items on the ground like vehicle keys or needles. By default only items within the pre-defined lists will be displayed, but customization options allows for all items to be displayed. A full list of all items in the pre-defined lists is below. Suggestions for items to add to the pre-defined lists are welcome.

By default, icons will be displayed for any placed items on the squares surrounding your cusor when both aiming (can be set to required or not required) and holding down the left shift key (can be set to require the key be held, the key will toggle icon display on or off, or no key press required)(the key can also be rebound). Note that items on objects such as a desk will count as being on the floor of at the base of the object that the items are placed on. The base of the iso cursor will be used as the center of the search area while aiming.

Using with Mod Options (Build 41) allows for customization for how you want to use it. Options include displaying all items rather than just the pre-defined item lists, delay timers to customize use for gameplay purposes and reducing performance penalties, maximum number of icons displayed, icon size, icon transparency, and more.

Note that disabling both the aiming and key press requirements will allow you to view item icons at all times, but may impact performance on some machines. It is recommended that if you disable both the aiming and key press requirements that you then turn on the Search Performance Delay.

Written for and tested in Project Zomboid version 41.54, 41.55, and 41.56. Earlier versions are untested.

Full list of items displayed by default:

Individual Items: Needle, Thread, Nails, Screws, Paperclip, Cigarettes, Lighter, Matches, and Battery
Item Categories: Key, WeaponPart
Item Display Categories: Ammo


Special thanks to:
PseudonymousEd whose PZ blog gave me the inspiration for the starting point for this mod.
Chromethous, Chic_lets, and RoyaleWithCheeseTV for feedback and suggestions.
star for the Mod Options mod which made adding customization much simpler.
Warjo for testing the mod on 4K and providing feedback.

Workshop ID: 2608401436
Mod ID: EasyPlacedItemIcons
30 Comments
Joystick 28 Apr, 2023 @ 10:50am 
Top tier vanilla friendly mod, very customizable
(G-B-N) Padilha 4 Apr, 2023 @ 6:26pm 
Update please!
Based Demon 16 Nov, 2022 @ 9:46pm 
HOLY HELL THIS IS AMAZING
AstrayCuriosity 13 Dec, 2021 @ 12:49pm 
Wait isn't this exactly how new foraging system is look like right now ingame?
PipMagnet  [author] 10 Dec, 2021 @ 9:23pm 
@p6kocka Sorry, I haven't had any time to test any of my mods with the new mp branch yet.
p6kocka 9 Dec, 2021 @ 10:26pm 
Hello. How does your mod work with the mp branch? Have you already tested it?
SSiLay 10 Nov, 2021 @ 4:07am 
amazing
p6kocka 9 Nov, 2021 @ 11:51pm 
Just a suggestion. When holding ALt (searching for items) the character should stop running. Like he was looking for something thus moving slower.
p6kocka 9 Nov, 2021 @ 10:45pm 
thank you for the update. Now it´s perfect.
PipMagnet  [author] 3 Nov, 2021 @ 10:42pm 
@Frank_Horrigan_44 I have found the source of the error and can confirm that this error is solved by the upgraded version I am working on. I will try to get that upgraded version released by Sunday. Thank you for finding that bug.