Item Context Menu Extended 1.6.0

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

A mod that adds extra context menu items for specific item types and allows changing the scaling of context menus.

Installation:


Extract the ZIP to your SPT-AKI installation folder.


Note: This mod depends on my "Custom Interactions" library.


Description:


Currently included custom context menu items:

* "Firing mode" for weapons.

* "Active scope", "Active mode" (incl. zoom), "Zero distance" for sights.

* "Turn on/off" and "Active mode" for tactical devices.

Note: Auxillary scopes and sight/tactical modes have no names in the game, just an index.


You can change the context menu scaling from the mod's settings.


If you have an idea of a useful menu item that should be added, let me know in the comments.

Only no-nonsense ideas will be considered.


Important: The game does not have a facility for saving any of these interactions to your server-side profile directly because they are literally impossible to do outside of raid. That will require a custom server-side solution I may include in a later version. If you use any of these interactions outside of raid, they will persist as long as the game is running, but will be saved server-side only when you enter a raid and then extract from it, with those items being in your gear.


A few screenshots:




  • Version 1.6.0

    New: Add "Scale" setting to change the context menu scaling.

    New: Add interactions for sights: Scope selection, Mode (incl. zoom) and Zero distance.


    Compiled for client version 0.15.5.1.33420

    Depends on Custom Interactions 1.6.x

  • Version 1.5.0

    Compiled for client version 0.14.9.1.30626

    Depends on Custom Interactions 1.5.x

  • Version 1.4.0

    Compiled for client version 0.14.1.2.29197

    Depends on Custom Interactions 1.4.x

  • Version 1.2.1

    Compiled for client version 0.13.5.3.26535

    Depends on Custom Interactions 1.3.1

  • Version 1.2.0

    Compiled for client version 0.13.5.2.26282

    Depends on Custom Interactions 1.3.0

  • Version 1.1.0

    Compiled for client version 0.13.1.3.25206

    Depends on Custom Interactions 1.2.0

  • Version 1.0.1

    Compiled for client version 0.13.0.5.23399

    Depends on Custom Interactions 1.1.1

  • Code
    [SPT.Singleplayer] 1 plugin failed to load due to errors:
    Could not load [IcyClawz.ItemContextMenuExt 1.6.0] because it has missing dependencies: com.IcyClawz.CustomInteractions

    Error I'm currently getting. Everything is where it supposed to be.

    • Read the error message. It's very clear.

    • I don't know how I missed that. It went over my head.

  • custom interactions don't seem to work for lights within 25mm mount rings

    • Or within anything else (like a Sprut mount, helmet, weapon, etc.). The mod doesn't recurse the parent item to look for the light mod, some parent items have more than one slot for mods...

  • Small idea for context interact (Scope Zoom/Zeroing)

    • Added in 1.6.0 if you're on SPT 3.10 already.

  • Are you God?

  • I have an idea for a context on quest items, so you can quickly hand in a quest item straight from the item's context menu. Context only shows if item is eligible for a current task and you haven't fully finished that step of the quest (ex: 4 out of 5 items delivered), context menu goes as "Quest > Quest name", in case the item is eligible for more than one current task. Don't know how hard it would be but it's an idea.

  • This is one of the "should have been in the base game" mods, thank you.


    Do you believe it would be possible to have similar functionality for sights; setting retical and range?

  • is there away to make a menu to change the modes on the fly instead of going in to the inventory to change the modes? similar to samswat airstrike mod with a radial menu

  • Getting this error on 3.8.1 fresh install, only these mods installed for testing (All yours):
    CustomInteractions

    itemAttributeFix

    itemContextMenuExt

    magazineInspector

    munitionsExpert



    • You did not install Custom Interactions properly.

      You must have BepInEx/patchers/IcyClawz.CustomInteractions.Prepatch.dll

      Thumbs Up 1
    • Of all the things to miss.. thanks man

  • this is one of those mods that helps me keep my sanity. can't thank you enough man

    Heart 1
  • Hello. Can you make a mod that allows you to customize the font size in the game? In places describing items, characteristics of weapons and ammunition and....? How this is done for the context menu in the mod shown in the screenshot.

    Escape-From-Tarkov-Screenshot-2024-04-20-21-05-17-90b.png

    • How is this related to the mod you commented on?

    • I just asked you. Is it possible to make a mod to make the font larger?

    • I, like many guys, play at a resolution of 1280x720px in order to maintain an acceptable FPS for the game. And at low resolution the text is almost unreadable. I thought that you could help us and make a mod in which you could adjust the font size. Believe me please, this is a very relevant question, and many will be grateful to you for such a mod!

    • Well, it's not relevant here because it has nothing to do with "Item Context Menu Extended".

      Sorry, I don't have the time to accommodate requests. You might want to learn C# and make a mod yourself.

    • I understand that you do not understand what I asked you.

      Thanks for the answer!

  • Whenever I use this mod and custom interactions together, the game is stuck on an infinite loading screen.

  • Hey I like your mods and had an idea for this from your magazine inspector mod and the BSG update. Wondering if you could add a basic ability to quickly fill magazines with different amounts of ammo types like the new update. Then you could inspect with your other mod.

  • A request for next time you release an update. Could you add the following to your Plugin.cs, just below the "BepInPlugin" attribute:

    Code

    Code
    [BepInDependency("com.IcyClawz.CustomInteractions")]


    Currently if a user doesn't have the "CustomInteractions" plugin installed, they are greeted by cryptic errors about GetTypes() failing. This would cause SPT to properly inform them that they are missing the CustomInteractions dependency

    • Had no idea, thanks for the tip, will do.

  • https://www.mediafire.com/file…hjxoz38qsd/Buggy.txt/file

    Bugs in the inventory, cache, raid, you can't throw away the flashlight/laser, the "File mode" button is not working.


    The right mouse button does not work with a flashlight/laser.

    • According to your log, BepInEx/patchers/IcyClawz.CustomInteractions.Prepatch.dll is missing.

      Install Custom Interactions library properly.

    • I'll look into that. Thank you!

    • You were right! Somehow I missed the patcher! Thanks for the reply :)

      Thumbs Up 1
  • Is it possible ro add "Add item to w/list" button to barter items page? The button exists when I open any barter item info in Encyclopedia, but it's a long way to it.

  • For some reason, this mod no longer allows me to double-click and open my lasers/lights attachments, I cannot right click either nor discard, I can only remove from gun itself then it sits in my inven.


    I went through deleting ALL my mods, checking to see if I could interact with them, I could, so it was narrowed down to this specific mod.


    I am not sure what happened to change this.

    • No such issue here, and I use all of my mods. Perhaps you either forgot to update or download the Custom Interactions library.

    • Updated to latest and was working just fine before, not sure what happened or changed after the reinstall on new nvme. I would change load order but not possible with plugins unfortunately.

    • make sure that SPT\BepInEx\patchers contains IcyClawz.CustomInteractions.Prepatch.dll

  • Not 100% sure but it looks like this mod will make the game keep loading and can not enter

    • Then be 100% sure before commenting. I'm using every single one of my mods, and I can't confirm what you're saying.

  • For some reason it doesn't work, my game is stuck on the loading screen when i have this mod in my plugins.

  • Since you're taking requests, a menu item to sell to the best available trader right from the stash would be quite useful.

    • Doesn't sound like a job for a context menu, you already have a solution for that:

      hub.sp-tarkov.com/files/file/1104/
    • The use case would not be as the main way to sell, more as an aid when you're organizing your stash and you come across a thing you want to get rid of. That currently requires you to back out to the traders, find the thing you want to sell again since the scroll resets, sell, go back to the stash, find your place again and remember what you were doing.

    • While I see the use for it in very specific cases, it doesn't actually provide any functionality that is currently missing within the base game, unlike the items I've added so far. Sounds like something for a completely separate mod that basically takes "Item Sell Price" mod and implements the "Custom Interactions" library with it, instead of adding an attribute.

      It's possible that to even implement selling items to a trader outside of a trading interface would require some hackery that goes outside of the scope of this particular mod.

    • I see. Thanks for taking the time to reply.

  • Could it be possible to add the load ammo option in-raid? That way reloading mags would be easier while having the ammo in safe container.

    • I managed to unlock the built-in Load Ammo menu item. It works great, except the fact that it loads the magazine instantly, a bit of a balance issue. I'm also not sure how useful that is considering that you can easily find your ammo in your gear. The Load Ammo is primarily for loading ammo that's contained somewhere deep in your stash so that you don't have to dig through the stash to find it.

    • Yeah it's not that common of a request I'm sure, I'm just so cheap that I keep my bullets in my safe container and with bigger backpack and rig, there is quite a bit of scrolling when you're not smart enough to move the bullets or the mags closer to each other :D

  • Super Useful in very specific situations, love this.

  • finally i can turn off the fucking flashlight on helmet

    Heart 3 Happy 1 Thumbs Up 1