The Riftbreaker

The Riftbreaker

Weapons Crafting Max Stats
24 Comments
UndeCover 1 Oct @ 6:52pm 
the mod does not seem to work at all even on looted items. I got 3 drops and each was weapon but each random boost to dmg.
Kornot 14 Sep @ 12:34pm 
Weapons probably follow old system where you needed to have "enable" mods. Some mods like cluster projectiles now doesn't work for weapons that did not roll the stat.
MaD_MaN 6 Sep @ 9:28am 
this makes the weapon mods for most categories other than damage simply not work
Haplo 17 Apr @ 5:21pm 
doesn't seem to work (anymore?). I just got the game a month ago, finally beat it and am now using mods for the first time, and this seemed to only effect a few grey weapons. I dont have any other mods effecting weapons, which made it kind of disappointing since that was my main gripe about the weapons was the huge range of crafting quality.
scarelyrock 29 Mar @ 11:09am 
I dont know why,but it didnt work in my game:steamsad:
Darmon 18 Jan @ 2:26pm 
I'm still getting a lot of random effects, such as amount of bullets per shot or burst, armour piercing on some and not others. and cost of ammo still fluctuates. is that as intended and the only thing being maxed out are damage and fire rate?
Paladestar  [author] 28 Dec, 2024 @ 4:55am 
@Sh3riff - Read my comment from 3 October 2023. I used the min value for ammo cost, not max value. :steamhappy:
sh3riff 25 Dec, 2024 @ 3:08am 
Not bad but you didnt think this thru.
Weapons have stats that if high, max number possible, it makes the weapon kinda bad, like ammo cost etc.
In this case it works the other way around .. max is the lowest number, min is the highest number.
So you get highest damage but for the highest ammo cost, makes this mod a bit useless.
GK111 27 Jun, 2024 @ 12:49am 
bug report: the small machinegun always gets 828dps instead of 1244
Paladestar  [author] 25 Jun, 2024 @ 4:30am 
I updated the mod a few hours after Heart of the Swamp went live. However, every time I try to publish the updated version of the mod to Steam via the game's official dev. tools it fails with an error:

[ERROR] upload to steam failed with error: k_EResultInvalidState
azsx78600 25 Jun, 2024 @ 3:11am 
please update thx
KoKa199 20 Mar, 2024 @ 3:27am 
Man, these explanations are just priceless. Thank you for the mod and the wall of text:cozybethesda:
Paladestar  [author] 21 Dec, 2023 @ 3:00pm 
Character limit on last post, so continued (again!)...

TL; DR - the DPS range shown for the weapon when crafting is based on lowest and highest DPS the weapon can possibly do based on the 0-3 random categories that you can roll during crafting. The range for the grey weapon is shown as 350-350 DPS when crafting as grey weapons don't get any random categories when you craft (blue gets 1, purple gets 2, red gets 3), so the damage range can't change when crafting the grey version of the weapon.
Paladestar  [author] 21 Dec, 2023 @ 3:00pm 
Character limit on last post, so continued...

Two of the best are factored in, if you roll them - projectiles per burst and projectiles per shot. So if when you craft the weapon and get either of these the weapon will essentially do another 20% more damage (but uses a proportional amount of ammo more. So that 510 DPS then will display as 612 instead. If you craft the purple or red version of the weapon and manage to roll both you'll get two 40% bonuses to damage and your weapon will chew through ammo like it is going out of fashion (but these are still the best two random categories to roll).
Paladestar  [author] 21 Dec, 2023 @ 3:00pm 
Natervater: I've checked my mod and the Grenade launcher is working as expected, at all quality levels.

For the advance version, the minimum damage that it can roll to with my mod is indeed set the same as the max, 425. The damage per second range displayed by the game is based on more factors than just the base damage of the weapon. E.g. the rate of fire for the weapon is 1,2 per second, so that makes the minimum DPS 510. Then there's the random stat categories that you can roll. Each of these is also set to their maximum value when you roll that category.

Blue weapons roll 1 random stat category, purple 2 and red 3. Some of these categories will increase DPS too, even if some of them don;t change the range displayed by the weapon, e.g. higher critical chance means more damage on average, over time, but this isn't factored in.
Nate 16 Dec, 2023 @ 12:52pm 
Been testing with this mod today. It's definitely the better option out there, however, i am struggling to see why some weapons are not set to roll to the max stats.

For example, the Advanced Flamethrower, 43-43, perfect, then the Advanced Grenade Launcher, 585-819... cant figure out why
panzerdrache 30 Oct, 2023 @ 9:48am 
ich habe 2 rote miniguns aber sich sind nicht von dps wert auf dem maximalwert
panzerdrache 30 Oct, 2023 @ 9:46am 
warum geht das nur für die grauen waffen des mechs und nicht auch für die anderen farben
Paladestar  [author] 3 Oct, 2023 @ 12:15pm 
[2] Run this second
(if you set min_value and max_value to the same value for a WeaponStatDef entry that has a stat_features value of only "MODABLE" on its own, then when you add a mod item of that type to the weapon in-game it won't work, it'll have a value of zero in that category, so copy max_value over min_value for all WeaponStatDef entries, except for those with a stat_features value of "MODABLE")


Find what:
max_value "([0-9.].*)"(\n\t\t\t\t)min_value "([0-9.].*)"(\n\t\t\t\t)(?!stat_features "MODABLE")

Replace with:
max_value "(\1)"(\2)min_value "(\1)"(\2)
Paladestar  [author] 3 Oct, 2023 @ 12:15pm 
[1] Run this first
(for the WeaponStatDef entries with a stat_type value of "AMMO_COST" a lower value is better, for all other WeaponStatDef entries a higher value is better, so copy min_value over max_value for just the WeaponStatDef entries with a stat_type value of "AMMO_COST")


Find what:
max_value "([0-9.].*)"(\n\t\t\t\t)min_value "([0-9.].*)"(\n\t\t\t\t)stat_features "([A-Z\|_].*)"(\n\t\t\t\t)stat_type "AMMO_COST"

Replace with:
max_value "(\3)"(\2)min_value "(\3)"(\2)stat_features "(\5)"(\2)stat_type "AMMO_COST"
Paladestar  [author] 3 Oct, 2023 @ 12:15pm 
I made this by mod by using NPP to perform a couple of regex find and replaces, so nothing should have been missed, unless it was intentional - There seems to be a bug in the game that if some categories are set to the same min and max values it actually makes some weapon mods added to a mod slot on the weapon have a value of zero instead (see comment for [2] below). Here's my original notes from when I made the mod and the regular expressions that I created:
jlink33 3 Oct, 2023 @ 9:54am 
Nice mod, however it doesn't exactly do what it says. Their is still some variation in rolls and damage ranges. But, if you use notepad++ (which is free) you can edit the file. Changing the setting "default value" to match what @Paladestar set as the min/max value will correct the rolls to max damage. Some of the weapons will still have slight variations but they are very minimal.
Mistlynx 21 Sep, 2023 @ 5:07pm 
Which categories does it roll? Are auto aim and homing included?
小心有人,拉我,牛逼 28 Aug, 2023 @ 1:26am 
机翻:制作武器时,其属性将始终滚动到每个活动类别的最大值。

它不会解锁武器的所有类别,你只会获得该武器的正常基础类别,而灰色武器没有随机奖励类别,蓝色武器有一个随机奖励类别,紫色武器有两个,红色武器有三个。

基本类别和 0 到 3 个随机奖励类别都将以其最大值滚动。