Artillery Shell Speed


Change and allow to customize artillery shell speed, default is now 10.

Tweaks
25 days ago
1.1 - 2.0
1.03K
Combat

i [Done]Apply to all ammo_category artillery-shell

28 days ago
(updated 28 days ago)

Hi, I was looking at this and realized it only changes the vanilla artillery shell, so I made some improvements that allows it to work for any ammo that is categorized as artillery shells. On top of that I think it would be a better idea to change your config so that it applies a multiplier, rather than overwriting the speed. This means that any modded artillery shells will keep their relative speed modifier compared to the vanilla one, if they for some reason want to be slower/faster.

rename your data.lua file to data-final-fixes.lua and then replace the code with this:

for _, ammo in pairs(data.raw["ammo"]) do
if ammo.ammo_category == "artillery-shell" then
ammo.ammo_type.action.action_delivery.starting_speed = ammo.ammo_type.action.action_delivery.starting_speed*settings.startup["artillery-shell-speed"].value
end
end

And perhaps change the mod setting description to imply it's a speed multiplier :)

Edit: or copy from here if the syntax is messed up by the forum: https://puu.sh/KyDyJ/2c192e2d30.txt

28 days ago

why not

27 days ago

Thank you :)

New response