#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667_repo/user/rep_approved.png) Automatic Shotgun

##

- **BadMojo**
- ![BadMojo's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar6827.gif) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 224
-
-
-
-

   9 years 11 months ago [\#4513](#4513) by BadMojo  Replied by *BadMojo* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4513 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 Ok, op has been updated with v6

Update

-New muzzle flash, slightly modified from MagicWazards contribution
-New and improved firing animations
-Hands are now in the right position
-Idle sprite has been improved for better perspective and the general size of weapon
-Reload time is slightly faster
-General touchups to the info file
-Link to download is now using dropbox

I dont think I'm missing anything here...

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg)
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   9 years 11 months ago [\#4523](#4523) by Blue Shadow  Replied by *Blue Shadow* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4523 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 There is a bit of an issue that I found: start a new game. Summon or give yourself the weapon. With 8 shells in your inventory, fire it until you run out of ammo. After firing the last shot, the weapon goes into its reload sequence despite the fact that you have no shells anymore.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **BadMojo**
- ![BadMojo's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar6827.gif) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 224
-
-
-
-

   9 years 11 months ago - 9 years 11 months ago [\#4525](#4525) by BadMojo  Replied by *BadMojo* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4525 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 Fixed, v7 up now ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

Update: v7.1
changes
-PNGOUT'd all sprites... brought file size down by 2 KB wow!!! lol :![XD](https://www.realm667.com/laugh.gif "XD"):

 Last edit: 9 years 11 months ago by BadMojo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **MagicWazard**
- ![MagicWazard's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar517.png)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 808
-
-
-
-

   9 years 11 months ago [\#4527](#4527) by MagicWazard  Replied by *MagicWazard* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4527 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 I'm gonna say this is done! My only complaint is the wire stock on the pickup sprite, and that's a matter of taste, so there's no need to change it.

Blue Shadow, any other thoughts?

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Skelegant**
- ![Skelegant's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar1816.gif?1528852668)
- Demon
- ![Demon](https://www.realm667.com/media/kunena/ranks/rank_5_demon.png)

 Less More- Posts: 43
-
-
-

   9 years 11 months ago [\#4531](#4531) by Skelegant  Replied by *Skelegant* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4531 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 Just a small detail: A_gunflash is called twice.
Replace this:
LAZZ AB 1 A_GunFlash
With this:
LAZZ A 1 A_GunFlash
LAZZ B 1

and it'll look better ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)") Other than that, it's a really nice weapon, it's not overly powerful but it's satisfying as heck to fire.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **BadMojo**
- ![BadMojo's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar6827.gif) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 224
-
-
-
-

   9 years 11 months ago [\#4532](#4532) by BadMojo  Replied by *BadMojo* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4532 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

> MagicWazard wrote: My only complaint is the wire stock on the pickup sprite, and that's a matter of taste, so there's no need to change it.

"It's quite a heavy gun with all of that technology and power, as a result, new UAC OC Health and Safety measures were put in place for the new shipment of automatic rifles and buck shot weaponry to be issued with a standard light weight stock as to not wear down the marine on those long tiring working hours. "
*found in log book of a dead marine*

Those damn safety measures ![;)](https://www.realm667.com/wink.gif ";)")

@skelegant I'll give it a try when I get home, thanks for the feedback ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg)
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   9 years 11 months ago - 9 years 11 months ago [\#4533](#4533) by Blue Shadow  Replied by *Blue Shadow* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4533 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 The weapon now doesn't switch out automatically when it runs out of ammo. I'd suggest replacing *A\_JumpIfNoAmmo("Ready")* with [ A\_CheckReload](http://zdoom.org/wiki/A_CheckReload) (not to be confused with A_CheckForReload).

> MagicWazard wrote: Blue Shadow, any other thoughts?

Apart from the above, I've got no further feedback. Once that and what Skelegant mentioned are addressed, this submission is ready to be added.

 Last edit: 9 years 11 months ago by Blue Shadow.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **BadMojo**
- ![BadMojo's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar6827.gif) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 224
-
-
-
-

   9 years 11 months ago [\#4535](#4535) by BadMojo  Replied by *BadMojo* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4535 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 Alright, changes have been made and v7.2 up.

Although, I honestly didn't notice a difference with the Skelegant's suggestion for the double call on A_Gunflash, but it has been modified as suggested anyway... I guess my eyes aren't that quick to see the difference.

On the subject of A_JumpIfNoAmmo... I completely understand that being an issue with no autoswitch... but for some reason, mine does autoswitch with v7.1.. I could only imagine that there is a setting in gzdoom that makes it autoswitch even if it isnt set to do so in the code.

Well, I hope this is satisfactory ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)") I guess Ill start finishing up on the Gatling laser next.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Blue Shadow**
- ![Blue Shadow's Avatar](https://www.realm667.com/media/kunena/core/svg/person.svg)
- Administrator
- ![Administrator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1131
-
-
-

   9 years 11 months ago [\#4537](#4537) by Blue Shadow  Replied by *Blue Shadow* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4537 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

> BadMojo wrote: On the subject of A\_JumpIfNoAmmo... I completely understand that being an issue with no autoswitch... but for some reason, mine does autoswitch with v7.1.

With A_JumpIfNoAmmo, you're telling to jump to the Ready state. At that point, if you try to fire the gun, then it'll switch out. In other words, for the weapon to switch out, you have to press the fire key after it has run out of ammo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **MagicWazard**
- ![MagicWazard's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar517.png)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 808
-
-
-
-

   9 years 11 months ago [\#4538](#4538) by MagicWazard  Replied by *MagicWazard* on topic *[Automatic Shotgun](https://www.realm667.com/forum/closed-submissions/625-automatic-shotgun?start=40#4538 "=============

Information
=============

Name: Automatic Shotgun
Class: 3
Type: Hitscan
Palette: Custom
Summon: AutoShot
Ammo Type: Shells
Altfire: No
Powered Mode: No
Added States: No

=============
Credits
=============

Submitted: BadMojo
Decorate: BadMojo
Sounds: psx doom, BadMojo
Sprites: idSoftware, BadMojo
Sprite Edit: BadMojo, MagicWazard
Idea Base: ??
ACS: No

Description:
Union Aerospace standard issue automatic shotgun.

Spawn:

Idle:

:

https://www.dropbox.com/s/5ch1iaiobsglhur/AUTOSHOTGUNv7.2.zip?dl=0")*

 Well, it seems to auto-switch out now using 7.2...I don't see any other issues with it, unless someone finds something I've overlooked.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy82MjUtYXV0b21hdGljLXNob3RndW4/c3RhcnQ9NDA=&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

[Powered by](https://www.realm667.com/forum/credits) [Kunena Forum](https://www.kunena.org)
