Mechanic modification of SCAR-H to fire 5.56x45 similar to a SCAR-L.
Due to lack of SCAR-L in the game, i've decided to add it as a modification for the SCAR-H in the game. You are now able to modify the caliber of any SCAR-H to fire 5.56x45 rounds. I might add it as a new standalone weapon once i figure out how.
**I've done this by replacing the 1st column, 5th line modification that increased RPM by 5% to a caliber change. I've included this modification into the 1st line 1st column modification that also increased rpm by 5% and it should increase it by 10% now. Price adjusted accordingly**
Does it reduce damage to an appropriate level too? A 7.62 power rifle that uses 5.56 ammunition is just too convenient.
In terms of muzzle velocity it's still the same. I've been playing with it for some time and it doesn't feel op at all. 4-5 shots to the chest to take out someone in a sunrise suit which is what you'd expect from pretty much any standard 5.56 assault rifle. It does more damage due to higher bullet speed however it has more recoil.
I like the idea of this mod but when I hover over the modified box my game crashes and I get the following in my log:
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 189
[error]Description : fatal error
[error]Arguments : LUA error: ...t\anomoly mod\gamedata\scripts\inventory_upgrades.script:575: attempt to perform arithmetic on a nil value
If you want, you can use the one included in my Various Tweaks mod, it doesn't crash and is 100% compatible with b3.0.
does this comapitble with bas?
HEY TRIED THIS OUT WITH 1.5.1 AND IS NOT WORKING ANY IDEAS ? its still the increase fire rate where the change ammo type should be :(
found the issue of this not working on anomaly 1.5.1 2023
the location of the mod says to put here - gamedata\configs\weapons\upgrades
THIS DOESNT WORK
THE FIX IS THIS - PUT HERE INSTEAD - gamedata\configs\items\weapons\upgrades
THIS WORKS :) YAY I FIXED IT LOL