Changing Weapon Mods Stats

Posts 1–3 of 3 · Page 1 of 1
Changing Weapon Mods Stats
Hello, I have been playing alot of payday 2 recently and have never seen this done, is it possible to modify a weapon modifications accuracy and stability etc? and if not is there a way to mod the gun itself to have higher accuracy, stability, etc. Thanks in advance
Code:
--[[* All Parts Have Max Stats by gir489 v1
	*
	* Changelog:
	*	v1: Initial Release
	*
	* Not for use in Pirate Perfection Trainer]]
for _,part in pairs( tweak_data.weapon.factory.parts ) do
	if ( part.stats ) then
		part.stats.damage = 35
		part.stats.recoil = 15
		part.stats.spread = 10
		part.stats.spread_moving = 14
		part.stats.suppression = -20
		part.stats.concealment = 30
		part.stats.alert_size = 19 --Comment this out if you don't want every part to act like a silencer
		part.stats.extra_ammo = 10
	end
end
Credits to gir489
What should i do with this code ?
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us