Project Zomboid

Project Zomboid

2,845 ratings
Inspect Weapon
6
3
4
6
5
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.508 MB
Mar 18, 2023 @ 1:51pm
Jan 18 @ 7:45pm
36 Change Notes ( view )

Subscribe to download
Inspect Weapon

Description
About
Tired of scrolling to your equipped section of the inventory to check your weapon's status and attachments?

This mod allows you to inspect your currently equipped weapon on your primary hand at anytime, by:

- Hold down the reload button and choose "Inspect Weapon"
- Right click on any weapon in your inventory or a world container and choose "Inspect Weapon" will automatically try to equip it in your primary hand slot and inspect it
- Pressing ; button to inspect current weapon. You can rebind this button through PZ's default option menu

This mod comes with a simple UI and a terrible animation that took an hour to make :)

Stats & Navigating UI
Unlike the exact stats that are shown within the weapon's tooltip, the "condition" and "number of repair" stat are shown in estimation text (yes, I took this out of the DayZ book). I personally think that this will give players a better immersion on how their characters physically see the condition of the weapon, rather than numbers on a datasheet.

Condition
- Pristine: This weapon has a perfect 100% condition, and on top of that, it was never repaired
- Used: This weapon has a condition between 50%, all the way to 100%. Weapons that are 100% but were repaired even once will get knocked down from "Pristine", to this category
- Damaged: This weapon has a condition between 30% to 50%
- Badly Damaged: This weapon has its condition less than 30%

Number of repair
- No sign of repair: Pretty self-explanatory, this weapon hasn't been repaired even once
- Slightly repaired: This weapon has been repaired, but less than 3 times
- Heavily repaired: This weapon has been repaired at least 3 times

It is sort of hard to determine what's the good number for "Number of repair" stat. Realistically, I think 3 times duct taping or replacing some parts of a firearm would look noticeable enough to be deemed "Heavily repaired"

Repair
If weapon is damaged, an "information" button will be shown next to "Number of repair" stat. You can press on it and directly fix your weapon from the pop-up context menu, just like how you usually do it within the inventory pane

Attachments
This section is only shown for ranged weapon. I am not too sure if the melee weapons can use attachments (or any mods out there that allows it), prove me wrong :)

Attachments can be equipped by clicking on a blank attachment slot, and a list should show options for compatible attachments for that slot. To un-equip it, double clicking on a currently equipped slot.

For "Magazine" slot specifically, ammo will be shown for each one, and you can choose to load or unload them by right clicking on them.

For controller
You can navigate the UI using D-Pad buttons, with A (South) Button as accept, B (East) Button as Back/Close, and X (West) Button as Context/Sub menu

Also please be advised, I am aware of the issue that the radial menu entry not showing. This has to do with other gun mods overwriting all the radial menu entries. For VFE specifically, I am working with the devs to figure out a solution to that.

To-do list
High priority
- Repair weapon
- Indication for screwdriver in inventory
- Potential fits into attachment slot
- Magazine display (if applicable)
- Working with multiplayer
- Custom keybind to inspect current weapon
- Window position save

Low priority
- Controller support for all my Steam Deck homies out there
- Splitscreen coop support
- Add ability to move window for controller
- Skill check to enable potential fits into attachment slot

Frequently asked questions
Is this compatible with VFE?
- Some adjustments to the mod has been made for VFE for attachments of several firearms to show up. There might be other undiscovered issues, so if you have found any, let me know how to recreate it.

Is this compatible with other weapon mods?
- So far several of them were confirmed to be working, but some might have some issues, if they introduce new mechanics to how vanilla weapon should work. I can't test it all myself, so do try it for yourself. My goal for this mod is to keep it as compatible with the vanilla as possible, so any changes in the future by IndieStone wouldn't affect it too much.

Why don't those melee weapons have inspect animation?
- I actually do not know how to make the animation for this to look interesting enough...? I'm open for suggestion on this one.

Does it work with B42?
- Currently, yes!

Feedback
This is my first ever published mod. It took about a week of work to make. Any feedback from the end-user experience, to code improvement is appreciated.

Credits
Massive thanks to:
- Vilespring for helping with VFE integration
- Booker_D_Fred for code review/suggestions
- Jarl44 for potential attachment feature suggestion
- Mr.Shersh for reminding me to add disclaimer about having attachment in main inventory

- BryanComY, NopOYes for Brazilian Portuguese translation
- Inferno Dydimos for Spanish translation
- Riko Prushka for Thai translation
- Booker_D_Fred for Russian translation
- HugoTLS for French translation
- secdet for Ukrainian translation
- Nozownik for Polish translation
- Dunganga for Turkish translation
- 76561198177186117 for Traditional Chinese translation
- Gladicek for Czech translation
- KimLeon for Korean translation
- Eternity, Art Tippet for Italian translation
- Lampiooo for German translation

Like the mod? Buy me a coffee if you can :)
[buymeacoffee.com]

Workshop ID: 2948824747
Mod ID: RiskyInspectWeapon
Popular Discussions View All (6)
7
Mar 5 @ 7:54am
PINNED: A Guide For Contributing To Translation
leScepter
0
Jan 18 @ 11:30pm
PINNED: Bug & Error Report
leScepter
313 Comments
Blob May 3 @ 5:22am 
does this work with rains firearms and atachment mod?
p6kocka Apr 20 @ 10:53am 
Looking wonky with 4k resolution. Small window which can be barely read. Is there something you can do to fix it pks?
GoodNightAt6 Mar 29 @ 5:00am 
Does this work for Firearms by Hyzo?
ra1keNNN ム Mar 24 @ 11:51am 
works with brita weapon mod?
渴了掰腿不喝水 Mar 19 @ 11:35pm 
和逃离肯塔基一起用的时候行走会报错
leScepter  [author] Mar 14 @ 12:56pm 
Do you have screwdriver in your inventory?
peet.zomboid Mar 14 @ 12:04pm 
''Attachments can be equipped by clicking on a blank attachment slot, and a list should show options for compatible attachments for that slot.'' my friend can click on a blank and attachment slot show up but I can't do that when i click on a blank it's nothing happen. i'm Host server. pls help
leScepter  [author] Mar 6 @ 3:59pm 
It already looking thru all of your equipped bags, I might do it if enough people want it to be a feature, I'm just a bit afraid that it would absolutely tank the performance from looking thru all the containers.
Eliaz Feb 26 @ 5:23pm 
Thanks for your mod I'm using it in B42 and enjoying it :)
It'll be great if we could choose and add attachments from a nearby container, it's a bit annoying to look if I have or not that particular attachment in my base storage..
京泽 Feb 23 @ 9:26am 
BUG无法安装配件