Project Zomboid

Project Zomboid

3,079 个评价
Inspect Weapon
6
4
4
6
5
3
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.508 MB
2023 年 3 月 18 日 下午 1:51
1 月 18 日 下午 7:45
36 项改动说明 ( 查看 )

订阅以下载
Inspect Weapon

描述
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
热门讨论 查看全部(6)
8
8 月 23 日 上午 2:24
置顶: A Guide For Contributing To Translation
leScepter
3
9 月 28 日 上午 10:15
置顶: Bug & Error Report
leScepter
323 条留言
sixieye 9 月 28 日 下午 5:38 
can u pls update the mod to 42,12 cuz the mod did not work with me with vanilla weapon not only mod
Lynxylotl 9 月 28 日 下午 2:35 
Broken for anything from Guns of 93 from my testing, The inspect menu wont open whatsoever after this most recent update (in 42.11, even if some mods didn't have full compatibility, the UI would still at least open and show some of the compatible attachments)
Sw1tch 9 月 28 日 下午 12:36 
This isn't a call for you to add support, but just an fyi. This does not work with Rains Firearms mod.
leScepter  [作者] 9 月 28 日 上午 10:16 
I tried and it works just fine for M16. Do you remember which weapon ran into that issue? Was it a modded weapon?
76561198293788490 9 月 28 日 上午 9:11 
b42.12 is broken ,fixed please
Lynxylotl 9 月 27 日 下午 2:26 
Currently broken as of B42.12
TheDuke73 8 月 13 日 上午 8:48 
Any plans for a Guns of 93 compatible version?
raxxian 6 月 27 日 下午 1:57 
pretty red dead mod
Viceniallself01 6 月 21 日 下午 7:14 
can you make it so it tells you what skill does each melee weapon use? I play with a lot of melee weapons mods and i can't tell sometimes when something is a long blade, long blunt or axe just by looking at it and since they share animations sometimes i don't realise it uses a different skill until I level up.
Valadriel The Mad 5 月 11 日 上午 9:03 
I can't change out my attachments?