Add modbuilder/saves/DLC Weapons & Gear - Balanced Store Prices.json#19
Open
ineb wants to merge 5 commits into
Open
Add modbuilder/saves/DLC Weapons & Gear - Balanced Store Prices.json#19ineb wants to merge 5 commits into
ineb wants to merge 5 commits into
Conversation
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 ! |
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.
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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.
Changes
DLC Weapons & Gear - Balanced Store Prices.jsonDLC Weapons & Gear - Balanced Store Prices & Unlock Progression.jsonOnly Certain Unlock Score Values Are Allowed
Only score values already used by entries in the vanilla
player_rewards.binare offered.Testing showed that arbitrary values such as
9999or1337, 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
StringDataentry. The writer previously attempted to access an element beyond the end of the array, causing anIndexErrorduring larger preset builds.