Distant Misfires

by DataCpt

Dynamically replaces boring auto-aim bullets with skilfully inaccurate projectiles. Extends the max range of misfires alongside a magazine size increase. Let the biters experience true bullet hell. All configurable.

Content
3 months ago
1.1 - 2.0
9.12K
Combat Enemies

b [Fixed] k2 Incompatability

10 months ago

1.728 Error ModManager.cpp:1758: Error while loading item prototype "kr-rifle-magazine" (ammo): Key "type" not found in property tree at ROOT.ammo.kr-rifle-magazine.ammo_type.action[1].action_delivery[0].source_effects

it appears it is just incompatible with realistic weapons and if you turn off that startup flag it works fine, i don't know which side could resolve this but setting kr-realistic-weapons to false on startup can fix this, so detecting K2 is installed and setting the value via lua should fix it.

10 months ago

Thanks for the report and the extra work, that helps a lot!

I can probably handle it on my end from what you've said, I'm working on the next release anyway so I'll take a look.

10 months ago

i tried to make my own patch but i dont quite understand how to get the game to do the thing before the prototype stage where it fails, i know what will fix it i just didnt know what to do :(

10 months ago

If you want to force a setting you need to create a file called settings-updates.lua

I haven't used it much but at a glance it should be something like:

data.raw["bool-setting"]["kr-realistic-weapons"].hidden = true
data.raw["bool-setting"]["kr-realistic-weapons"].value = false
data.raw["bool-setting"]["kr-realistic-weapons"].forced_value = false
10 months ago

omg im braindead, i was trying to just do it in a generic compatability.lua but does it have to be in settings-updates.lua like a data-final-fixes.lua lmao, man

New response