Weapon modding 2.0: Checkbox to only show current Trader LL / owned mods, Shows trader / flea prices and build cost while modding, Highlights mods attached to other guns or ready to use, Button to detach items in use, Ability to zoom in/out.
Features
Adds a new checkbox in the weapon preset screen to only show trader items, and your own items ofc.
Shows item prices from current Traders (Supports custom traders)
1.7.0 and onward also showflea pricesif the item is available there, also can abbreviate price tags:
Movable Build Cost Panel:
Button to detach items in use elsewhere (Doesn't touch equipped guns by default):
Highlights parts (Colors customizable in F12):
- Directly usable (Loose in stash)
- **Already present in the current gun build
- Attached to other stuff (But purchasable from traders)
- Attached to other stuff (NOT purchasable)
Colored borders while modding:
Shows items on PMC, as well as in Rigs etc.
QoL change: Ability to zoom in/out with the mousewheel for those big chonkers
Everything is configurable in the F12 menu:
There is also the option to invert the Trader only view to show NO items from traders instead (Essentially flea and own items only):
If you have any issues, let me know
I tested everything thoroughly, without crashes and issues, but you never know
Credit to warafor the awesome original mod,
giving me the inspiration to push it to the next level.
Just extract the .zip file with BepInEx and user folder to your SPT folder.
**If you are upgrading from a version before 1.7.0: Please delete the folder "user/mods/ChooChoo-TraderModding-1.2.0"
Should you have version 1.0.0 installed, before installing the latest version, remove:
Wara-TraderModding.dll in BepInEx/plugins Wara-TraderModding-1.0.0 folder in user/mods
I changed the server mod to automatically get all custom traders that are installed.
Should work, but let me know if you notice any weird issues.
To further improve the QoL when modding your guns, the modding stats helper from wara shows stat comparisons in a nice Tooltip
14.9K Downloads
Update for SPT 3.9.X
Did not do excessive testing, but everything seems to work as expected.
Lemme know if something is wrong.
Currently short on time, so might not immediately fix specific stuff.
6.2K Downloads
If you have a previous version installed: Please delete the folder "user/mods/ChooChoo-TraderModding-1.2.0" when installing this version.
(I could no longer stand that old version tag in the folder name )
- Can now show flea market prices for items that are available on the flea, but not on traders (Red price tag, shows cheapest possible price)
- Abbreviated price tags (69420 becomes 69,4k, ON by default)
- Small fixes
2.9K Downloads
- Update to SPT 3.8.1 (Should support all 3.8.X versions of SPT)
Please update your SPT install to the latest version (3.8.1 at time of upload) to prevent compatibility issues that might occur with other mods.
2.5K Downloads
- Fixed currently locked traders showing their items while modding
- Show the cheapest price instead of the last found. (Better in line with BSG's weird logic of "Find Parts")
- To match the parts found for a gun build, use 132 rubles for one dollar.
(The actual build cost for dollar prices is correctly converted via the actual price at the current traders.)
If you notice any prices being way off, or other issues, please let me know.
500 Downloads
- Now supports custom traders without any config file editing, it "just works"
Various fixes:
- Fixed rare cases where detaching items could put them in the same spot in the stash
- Don't show/highlight mods attached to guns in the weapon rack (Might make this optional later, it would rip apart weapons on the weapon rack, but behaves weirdly.)
- small stuff
As usual, let me know if you find any issues
298 Downloads
- Brand new button in the preset builder to automatically remove mods attached elsewhere to be usable.
Priority when finding an item to detach:
- Attached to anything loose that is not a gun
- Attached to anything that ultimately is attached to a gun
- (Optional) Attached to equipped guns (OFF by default)
833 Downloads
- Fixed a mod breaking deadlock in the server when using other mods (like realism) that modify the price of dollars or euros to fractional amounts.
Thanks Json.DeserializeObject to not throw any errors, but rather cause a deadlock when faulty json is parsed.
378 Downloads
- Code refactor to get fields with AccessTools instead of transform.Find (Less error prone and faster, things should feel a bit more snappy now )
- Small fixes for not updated visual borders / build cost in some cases when assembling weapon
- More Log messages in case of errors
Let's hope this made a difference and I didn't break anything (I obviously tested everything, but as usual, you never know)
Please let me know if you encounter any issues or undesired behavior. All still WIP and not perfect, but I'm trying
Technical details: Before this refactor I was getting various GameObjects and Components via my patches and then finding appropriate child GameObjects in the hierarchy by using Transform.Find("Name") on the parents. I now learned that this shouldn't be done and can be avoided by not finding them by name, but by their reference in the Tarkov Assembly using AccessTools. In essence I now get all the FieldInfos I need beforehand and can then get the proper values (Thanks DrakiaXYZ), it's not only more robust but way faster this way.
391 Downloads
- Fixed NullReferenceExceptions some people reported (Hopefully)
If anyone has any more issues, please include any errors that might pop up in the console, as well as your mod setup.
(So I can actually figure out what might be wrong. Just saying "It doesn't work" is impossible to debug )
555 Downloads
- Movable Build Cost Panel, showing what you will pay with the current traders
- Ability to zoom in and out for those big chonkers (Mouse wheel)
- Minor fixes
1.3K Downloads
- Trader Price tags on items
- New color for items already attached to current weapon
- More organized options window
704 Downloads
- Seperate color for attached items that are NOT buyable from traders
- Colored Borders for better clarity while modding
Directly usable (Loose in stash)
Attached to other guns (But purchasable from traders)
Attached to other guns (NOT purchasable)
- Reverted hierachical flagging of attached mods
After many, many hours I couldn't figure out how BSG determines if a mod can be detached or not, seems a bit random and using the apparent same code they use for the check didn't work, so it iiiis what it iiiiis
For now it works fine I guess, yellow / orange items might still be directly usable, even though I show them attached, but you get the idea.
Colored borders and new color for attached, but non purchasable items:
As usual everything configurable to your liking
645 Downloads
- Properly highlight usable/attached items by going through mod hierarchy (Might result in false positives, f.e. foregrip might show as usable, but is attached to a mount rail somewhere in your stash, In some cases it lets you build with those items, in some not. Maybe I'll check this again in the future, I think it's fine for now.)
- New option to show NO trader items instead
- New options for highlight color in
- Changing options in F12 directly updates mod view
You can now go wild with the colors!
New F12 menu options:
Also show NO items from traders if you want
631 Downloads
Now also highlights items that are directly usable in green.
If you notice any issues, I'll look into that later. Implemented this real quick, and gotta go now.
Optimized the code a bit. (Lets hope I didn't break sh*t, didn't notice anything though)
275 Downloads
**If you have version 1.0.0 installed:
Before installing my new 1.2.0. version, remove: Wara-TraderModding.dll in BepInEx/plugins
Wara-TraderModding-1.0.0 folder in user/mods**
Rewrite of the whole client mod
New features:
- integration into modding screen as new checkbox
- overlay for already attached mods on other weapons
- better logic and persistent state when closing/reopening the window
- No longer requires dependency to custom interactions
826 Downloads
Not quite yet...