[0.10.0] Shotgun shooting incorrectly.

This subforum contains all the issues which we already resolved.
Post Reply
Valkun
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed May 21, 2014 7:38 pm
Contact:

[0.10.0] Shotgun shooting incorrectly.

Post by Valkun »

Image

Seems like it is only shooting a single pellet instead of its normal load of 12.

Note: I had the same issue with shotgun ammo under 0.9.8 when experimenting with changing the ammo of turrets.

Jobeo
Inserter
Inserter
Posts: 24
Joined: Tue May 13, 2014 9:31 pm
Contact:

Re: [0.10.0] Shotgun shooting incorrectly.

Post by Jobeo »

Ya combat shotgun is definitely messed up... I was just coming on here to report it... not good as it is my biter whacking weapon ...........

Killing the spawners is much harder now... seems to take many more shots.

i'm using armor piercing ammo

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: [0.10.0] Shotgun shooting incorrectly.

Post by FreeER »

Oh wow, I didn't even notice this while testing my mods because in the poison ammo mod I created I copied the ntimes function that the devs were using (and seem to have replaced with a faulty 'repeat_count') lol
here's a quick mod fix (both regular shotgun and combat, fairly simple since it's the ammo that was 'bugged'), simply remove it once the bugfix has been released: download shotgun fix (for those interested it uses data.raw to replace the shotgun-shell's 'action' to ntimes(12, {the 0.10.0 action table}) and the piercing is 16 instead of 12 of course.)

edit: interestingly enough the repeat_count for the explosions work (and I assume the train as well, though I didn't test), those were the only other cases that I saw it used....I guess the ammo prototype did not actually get updated properly to use the repeat_count property :)
side note: explosions near water = awesome!

theit8514
Inserter
Inserter
Posts: 46
Joined: Sun Apr 20, 2014 2:11 am
Contact:

Re: [0.10.0] Shotgun shooting incorrectly.

Post by theit8514 »

FreeER wrote:Oh wow, I didn't even notice this while testing my mods because in the poison ammo mod I created I copied the ntimes function that the devs were using (and seem to have replaced with a faulty 'repeat_count') lol
here's a quick mod fix (both regular shotgun and combat, fairly simple since it's the ammo that was 'bugged'), simply remove it once the bugfix has been released: download shotgun fix (for those interested it uses data.raw to replace the shotgun-shell's 'action' to ntimes(12, {the 0.10.0 action table}) and the piercing is 16 instead of 12 of course.)
Nice! Just tested and it's working.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.0] Shotgun shooting incorrectly.

Post by kovarex »

Hello, thank you for the report, it is fixed for 0.10.1 now.

Post Reply

Return to “Resolved Problems and Bugs”