Skip to content

Add modbuilder/saves/DLC Weapons & Gear - Balanced Store Prices.json#19

Open
ineb wants to merge 5 commits into
RyMaxim:masterfrom
ineb:balanced-vendor-prices
Open

Add modbuilder/saves/DLC Weapons & Gear - Balanced Store Prices.json#19
ineb wants to merge 5 commits into
RyMaxim:masterfrom
ineb:balanced-vendor-prices

Conversation

@ineb

@ineb ineb commented Jun 22, 2026

Copy link
Copy Markdown

Summary

Thanks for creating cotw-mod-builder - it's easy to use, well structured, and developer-friendly!

This PR adds balanced DLC store pricing and configurable weapon-score unlock progression. This makes DLC items feel less pay-to-win by replacing their immediate free availability with balanced store prices and progression-based unlock requirements.

It covers all 94 applicable DLC items in the Mod Builder 2.7.2 assets, up to the Peru Hunting Reserve DLC.

wpnscore

Changes

  • Added DLC Weapons & Gear - Balanced Store Prices.json
  • Added DLC Weapons & Gear - Balanced Store Prices & Unlock Progression.json
  • Added per-item score type and unlock score controls to "Modify Store" Plugin
  • Supports bow, handgun, rifle, and shotgun score unlock progression
  • Assigned prices and unlock scores to 94 DLC items:
    • 82 weapons
    • 9 sights
    • 2 callers
    • 1 optic
  • Excluded base-game, quest-reward, holiday, championship, and cosmetic items

Only Certain Unlock Score Values Are Allowed

Only score values already used by entries in the vanilla player_rewards.bin are offered.

Testing showed that arbitrary values such as 9999 or 1337, as well as certain combinations of otherwise empty vanilla score rows, may produce a rewards table the game refuses to load. Not every unsupported configuration consistently fails, but when it does, all custom and vanilla score requirements disappear. I have not figured it out completely but restricting selections to populated vanilla score values avoids this problem. So i made the UI to only allow working values and added a check when loading .json presets that fails if other values are attempted to use.

Score category is selectable so gear such as lures, sights, and optics can use a weapon category’s unlock score. Cross-category assignments are also supported - for example, a rifle may require handgun score. However the UI defaults to the natural weapon category.

Category-wide score changes are not included yet; if desired i can add and test it as well.

Binary Writer Fix

Fixed an off-by-one error when updating the final StringData entry. The writer previously attempted to access an element beyond the end of the array, causing an IndexError during larger preset builds.

@ineb

ineb commented Jun 22, 2026

Copy link
Copy Markdown
Author

I used github.com/didas72/COTW-NoFreeDLCGear/blob/main/NoFreeDlcStuff.json as basis and added prices to the items that has been added since then. So thanks to @didas72 !

lneb added 4 commits June 23, 2026 14:37
Use the last valid index when calculating padding so score unlock updates do not read past StringData.
Add per-item score type and unlock score controls to Modify Store. Limit choices to vanilla-populated reward gates so generated player_rewards files remain loadable.
Use consistent family pricing, with a lower price for identifiable base models and matching prices where no base variant is clear.
Provide the balanced store prices with category-appropriate unlock scores. Keep every assignment on a vanilla-populated reward gate.
@ineb

ineb commented Jun 23, 2026

Copy link
Copy Markdown
Author

This is how it looks ingame:

lockedw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant