Open ZioPao opened 3 months ago
I was playing with this and in the end i scrapped everyting and just modified condition for shotguns
if not (weaponCategories:contains("Axe") or weaponCategories:contains("LongBlade") or handWeapon:getScriptItem():getAmmoType() == "Base.ShotgunShells") then return end
and the result is satisfying without adding too much of overhead https://medal.tv/games/project-zomboid/clips/iwaVHgBWHJi7olIr9/d1337JrdtnXq?invite=cr-MSw5M3csMTg4MTgxODEwLA
First, I implemented also .308 and .44 Magnum rounds. But then I realized people are probably using firearms mods that adds new ammo types, even heavier calibers that would not work without compatibility implementations. Also modded weapons have usually rapid fire rates, so it would trigger a lot of calculations. Shotgun is most popular gun among PZ players IMO so It would make sense to keep it simply shotgun only.
What do you think?
I was playing with this and in the end i scrapped everyting and just modified condition for shotguns
if not (weaponCategories:contains("Axe") or weaponCategories:contains("LongBlade") or handWeapon:getScriptItem():getAmmoType() == "Base.ShotgunShells") then return end
and the result is satisfying without adding too much of overhead https://medal.tv/games/project-zomboid/clips/iwaVHgBWHJi7olIr9/d1337JrdtnXq?invite=cr-MSw5M3csMTg4MTgxODEwLA
First, I implemented also .308 and .44 Magnum rounds. But then I realized people are probably using firearms mods that adds new ammo types, even heavier calibers that would not work without compatibility implementations. Also modded weapons have usually rapid fire rates, so it would trigger a lot of calculations. Shotgun is most popular gun among PZ players IMO so It would make sense to keep it simply shotgun only.
What do you think?
I think you're completely right. Generally we could just add a sandbox var to set other acceptable type of ammo, notifying players that it could be heavy in certain situations.
And maybe don't care about damage for firearms and trigger it only for criticals, so there is less calculations. I will try to come up with something