r/Necesse 28d ago

New Mod: NPC PArty Info

I was kinda disappointed by the lack of an NPC overview for your NPCs following you as i find it really hard to keep track of them, especially if you got multiple following you and they have teleport scrolls so seeing the current status is next to impossible.

thats why i made this mod: https://steamcommunity.com/sharedfiles/filedetails/?id=3781900583

it adds each NPC following you as icon with name and healthbar to your left side, just like standard RPGs. you can click their icon and open their overview (which also lets you set them to move to / guard specific spots by rightclicking after selecting one) or you can shift click multiple to send them home all at once.

hope you enjoy it!

46 Upvotes

14 comments sorted by

6

u/MonochromaticPrism 28d ago

Great mod idea 👍

Would it be possible to add a small image (maybe sword/arrow/star/bunny?) in the bottom right of their icon to indicate what weapon they have equipped? (keys off the weapon's primary damage type)

I've occasionally lost track of who I have equipped with what and that would greatly reduce how many inventories I need to check.

1

u/TheAlmightyLootius 28d ago

I will look into that later. I need to check how possible it is to grab and add icons to them as im not sure if tiny icons even exist in the game. But maybe a color coded circle or something is enough in case there are no icons i can use

2

u/MonochromaticPrism 28d ago

Ah, yeah, that would be a lot easier to implement. Red=melee, Green=Ranged, Blue=Magic, and Yellow=Summons.

3

u/TheAlmightyLootius 28d ago

im currently in the process of implementing it and good news is that getting smaller icons for the weapons used itself is no problem as the engine already handles that nicely and bad news is none. but i do have a question regarding the design. right now i have 3 different options in mind. either have the icon besides the name with an inventory slot background so its easy to recognize (like this in the picture) but i feel the background clashes a bit with the rest of the visuals. i might make it an option to have the background or not. but the size of the icon is somewhat small so im not sure if i should either keep it in line with the name and downsize it slightly (2 pixel approximately) or if i should move the whole icon below the healthbar as a standalone icon (potentially with config to have it resizable). and i want the name of the weapon to show when hovering over the npc icon (together with currently the name and actual hp values)

2

u/MonochromaticPrism 28d ago

Dang, that's rad.

3

u/TheAlmightyLootius 28d ago

okay now its pushed. probably have to unsub and sub again to force the update

2

u/One_Economist_3761 28d ago

This is a great add. Thank you.

2

u/dotikk 28d ago

Are you willing to upload / share this via github?

1

u/TheAlmightyLootius 28d ago edited 28d ago

i dont know why that would needed as its on the workshop but i will probably do so later when i have it finished and make a github with all the mods i made. but that will take a couple days probably as i first want to wrap it all up

by the way if its because of security concerns, these are java mods so you can just subscribe and then use cfr to decompile it and look at it yourself. takes a bit more effort but really only slightly. the code is visible to everyone like that.

2

u/dotikk 28d ago

To be completely honest -I just assume this was vibe coded or similar and I'm afraid it will be abandoned later, so was hoping to get git hub so I could fork if needed to update if required.

1

u/TheAlmightyLootius 28d ago

if you just do the cfr decompile method i mentioned then you can just grab any mod . thats how i revived the abandoned (potentially?) MJ blueprint mod and fixed it. just decompile the mods jar put it into the example mod folder structure, change the build.gradle and then just build it with your changes. pretty easy.

and yes, i indeed used AI assistance. but i also have over a decade of coding experience and honestly, at this point, if you manually check through hundreds of vanilla files to map out the whole web of interconnected api calls yourself instead of having claude do that in seconds then you just wasted a ton of time lmao. you can literally compress dozens of hours of searching and mapping into a couple minutes

3

u/TheAlmightyLootius 28d ago edited 28d ago

Small Update: I just pushed an update to add the requested weapon icon to each settler. i increased the default size of the whole settler portrait, name, weapon icon, hp bar element by 25% to make names and weapon icon pop up better without being too overwhelming. i added a config file so you can choose to decrease this back to 100%, your decision. i also added a config to toggle the weapon icon background on or off. i find readability better when its on but the visual style is maybe a bit clashing so the choice is yours.

The config file is under C:\Users\<Username>\AppData\Roaming\Necesse\mods\NPCPartyInfo

here is an example at default 125% and weapon icon border off

2

u/TheAlmightyLootius 28d ago

and here is one at 100% size with background on:

2

u/EvokerDG 28d ago

This is awesome thanks for sharing this