Project Zomboid

Project Zomboid

Not enough ratings
mGuv's Loot Highlighter [ALPHA]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
134.254 KB
May 18, 2023 @ 12:40pm
May 21, 2023 @ 9:33am
3 Change Notes ( view )

Subscribe to download
mGuv's Loot Highlighter [ALPHA]

Description
Searches nearby Zombie Corpses and Containers for specific loot. Changes their colour to signify different drops!

Right Click an Item to add it to the desired Loot Highlight - this means you have to find the item first before you can add it.

Mods/scripts can manually add to this table if you wish to highlight loot from the start.

Workshop ID: 2977493164
Mod ID: mGuvLootHighlighter
10 Comments
404exe Jul 14, 2024 @ 11:55pm 
This is exactly the mod I was looking for! Sadly, it causes lag when in proximity of a lot of containers with a lot of stuff in them.

It would be a dream if you could increase performance or add the opportunity to disable this mod with a hotkey. That way, your base wouldn't light up like a christmas tree.
Bifty  [author] Mar 9, 2024 @ 4:20am 
Hey Blinkshot, sorry I missed your comment.

So two things:

- A screen to enter items/manage them is technically possible - I haven't looked at any modding to do with creating UI windows. I went with the right click option for two reasons, one, it was programmatically easy and two, it was for "balance". I wanted you to have to find the item legitimately first before you could search for it.

- Highlighting items in the inventory... I wanted to do this. I tried several ways but I just couldn't get it to work. I thought it must be possible due to the fact that frozen/hot item rows go blue/red. However, upon digging in to the source code of how that is handled, I discovered it's incredibly hard coded with nothing in the modding API exposed that lets you change row colours :(

Some of this might have changed since I last looked. IT's been about a year since I looked at any code for Project Zomboid!
Blinkshot Feb 19, 2024 @ 7:49am 
Interested in the idea behind this mod. Would love a separate mod that allows you to type item names into an ingame screen, and if that item is seen in your inventory, in a container, or on a zombie body -- It would highlight specifically the item but not the container it is in. Do you think that's a possibility? I'd be willing to tip $50 to make something like this happen :)
Princess abby May 20, 2023 @ 4:23am 
color coded nice its what i do sometimes to help organise my stuff but thank you for adding that to the mod :D take some points for a helpful update :D
Bifty  [author] May 20, 2023 @ 3:30am 
I've updated the mod to allow you to right click an item and set what Rarity it is. This does mean you need to find an item first before you can mark it - so it's not too overpowered.

@We will miss you telina, If you both use a key item in each chest for the same Rarity, you'd be able to point out which crate is which. Not an ideal solution for you but it's something.
Princess abby May 19, 2023 @ 7:29am 
ah no your fine :D your mod is good i yet to test it but the idea behind it is good and i look forward to anything you bring out and this sounds like it would help know what your looting too since it highlights it for you any QoL is always welcome in my books :).

But yeah thanks for getting back to me so soon i really do wish you all the best of luck in the modding in this game and welcome to it and thank you for taking your time and skills in modding for this game :)
Bifty  [author] May 19, 2023 @ 1:19am 
I do plan to one day make it so you can customise your loot filters in-game. What items, what colours, etc. That could then be used to also help organise your storage, by setting your filters appropriately.

Currently it only highlights things within looting range and then the highlights disappear if you step away. Technically it should be possible to permanently highlight things, as well as sharing tagged colours to other players, for organisation.

I can't promise anything though as I'm in the middle of writing several mods for my friends and I.
Bifty  [author] May 19, 2023 @ 1:19am 
Hey, sorry for getting your hopes on on this mod with the picture D:

I'm new to creating mods and this one was an experiment to see if I could portray what it did via the picture compared to my other mods where I just threw a quick paint job up.

As yeah, currently this is a highlight loot filter to help you spot what you have/haven't looted. It's designed to be integrated with my other mods which gameify some of the vanilla systems - but I made it generic enough that other people could write mods to use it.
Princess abby May 18, 2023 @ 7:51pm 
But regardless of that i went ahead and read the description next and it was more focused on rarity and dus the colors then organised and QoL mod however if you or someone could perhaps push forward the idea i thought this might of been it could very well help many people to toughs who would to say "oh its in the red box" so its a quick find :D
Princess abby May 18, 2023 @ 7:49pm 
an interesting mod at first looking at the image i thought this was a QoL change to high light the containers to there respected colors so you know what your looting like for example you have 3 wooden create box's all brown next to each other by default.

However with this mod box 1 be blue box 2 be red box 3 will be green then you know what box has the item or items you or your friends need or might be looking for assuming one could make it so left to right follows the color pattern.

So how i would think it might work is west to east and north to south so if box's are in a line horizontal then could follow a color rainbow pattern that the developer as made the same rules follow if the containers going vertical direction as well.

So no matter what you will always have the same color layout whatever direction the containers your searching are in so then everyone will see and know what colors your saying in what container in what direction :P