#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667_repo/user/rep_approved.png) \[SUBMISSION\] Dual Barrel Laser Rifle

##

- **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 [\#4631](#4631) by BadMojo  *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4631 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")* was created by *BadMojo*

 ==============================================
Dual Barrel Laser Rifle
==============================================

**Information:**
**Name**: Dual Barrel Laser Rifle
**Class**: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
**Type**: Projectile
**Palette**: png palleted
**Summon**: DualLaser
**Ammo Type**: Cells
**Altfire**: No
**Powered Mode**: No
**Added States**: No

**Credits:**
**Submitted**: BadMojo
**Decorate**: BadMojo
**GLDefs**: BadMojo
**Sounds**: BadMojo
**Sprites**: BadMojo
**Idea Base**: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
**ACS**: No
 **Description:**
Light weight, accurate, fast projectile, dual firing laser rifle.

 [ ![DUSPA02.png](https://www.realm667.com/forum/attachment/549) ](https://www.realm667.com/forum/attachment/549 "DUSPA02.png")

 [ ![DUALA0.png](https://www.realm667.com/forum/attachment/548) ](https://www.realm667.com/forum/attachment/548 "DUALA0.png")

**Download**
https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0

- [ DUALA0.png ![DUALA0.png](https://www.realm667.com/forum/attachment/548?download=1) ](https://www.realm667.com/forum/attachment/548?download=1 "DUALA0.png") [ ](https://www.realm667.com/forum/attachment/548?download=1 "DUALA0.png")
- [ DUSPA02.png ![DUSPA02.png](https://www.realm667.com/forum/attachment/549?download=1) ](https://www.realm667.com/forum/attachment/549?download=1 "DUSPA02.png") [ ](https://www.realm667.com/forum/attachment/549?download=1 "DUSPA02.png")

 Last edit: 9 years 11 months ago by BadMojo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4634](#4634) by MagicWazard  Replied by *MagicWazard* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4634 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

 Overall, it's really solid, and the sprites are nice. I'm a little torn on its damage output capabilities, though. I can stand 100 feet away from a Hell Knight, and kill him in 9 shots (18 cells) with no misses. The Plasma Gun can get the job done a little bit quicker, but it also has the chance to waste more ammo on missed shots due to the slower projectiles. This thing doesn't really miss at all if your crosshair is on the target.

Also, speaking of projectile speed, since the projectile has a speed of 180, it should inherit from FastProjectile. "Normal" projectiles start to have really dodgy collision detection if the speed gets too high. For an example, stand right next to a wall, and shoot it; you'll often find that no decals are left. I also find that vertical auto-aim seems to aim too low, but that might also be fixed if you inherit from FastProjectile.

In short, I like this a lot, but I'm not 100% sure about the balance. I'm thinking it needs just a touch of recoil to counteract the speed of the projectiles. Otherwise, you can snipe even most of the toughest enemies to death from a safe distance with no recourse.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4637](#4637) by BadMojo  Replied by *BadMojo* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4637 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

> I'm a little torn on its damage output capabilities

Don't worry, thats what the feedback is for.. I shall give it more power and a bit of spread to compensate the over the top accuracy ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

> Also, speaking of projectile speed, since the projectile has a speed of 180, it should inherit from FastProjectile.

Thanks for the tip, I was gonna ask about that as I did notice that very issue, it shall be fixed for v5

> In short, I like this a lot, but I'm not 100% sure about the balance. I'm thinking it needs just a touch of recoil to counteract the speed of the projectiles. Otherwise, you can snipe even most of the toughest enemies to death from a safe distance with no recourse.

Yea, I do struggle a bit with balancing my weapons... but again, that's what the feedback is for ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

 Warning: Spoiler!

 I'm glad you like the sprite(especially when you compared me to someone that could be "googled".. that made my day :cool: ), I honestly didn't think I was capable of doing this sort of thing by scratch, I'm no artist... but I pick up things pretty quick.. most of my skills here came from my airbrush hobby, I just translated what I picked up from doing that into Photoshop... I really surprise myself sometimes :roll:

**Update:**
 Warning: Spoiler!

 -added extra frame, to smooth out animation
-added slight recoil
-slightly more screen recoil
-projectile now inherits from FastProjectile
-lots of miscellaneous edits to animation sequence and
-more damage... feels satisfying to kill zombies... very satisfying

I dont think I've missed anything here... I fear I may have gone a bit overboard with the damage ratio... but Ill let you be the judge of that ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

**Update2:**
 Warning: Spoiler!

 Ok so I think I really did go too far with the power... theres 2 versions up now... 5.1 has my toned down version... Although, now that I think about it, reading your post again, I dont think you mentioned anything about power... so that was all my error not thinking clearly lol my bad

 Last edit: 9 years 11 months ago by BadMojo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 - 9 years 11 months ago [\#4638](#4638) by MagicWazard  Replied by *MagicWazard* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4638 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

> BadMojo wrote:
>
> > Don't worry, thats what the feedback is for.. I shall give it more power and a bit of spread to compensate the over the top accuracy ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")
>
>
> I haven't tested the revision, but I'd suggest adding a "hold" state which has the spread, and keeping the single-shot "fire" state about as accurate as it was. Then, add a "ReFire" state that's long enough that you can't just rapidly tap the fire button to circumvent the recoil in the "hold" state. That way, it's still accurate for single-shot sniping, but the accuracy can't be abused.
>
> > BadMojo wrote: Yea, I do struggle a bit with balancing my weapons... but again, that's what the feedback is for ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")
>
>
> If it makes you feel any better, I once balanced *an entire game*. ![:P](https://www.realm667.com/tongue.gif ":P") (Rage: Mutant Bash TV, if you're curious. It's a long story, so I won't go into it here.)

 Last edit: 9 years 11 months ago by MagicWazard.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 - 9 years 11 months ago [\#4639](#4639) by MagicWazard  Replied by *MagicWazard* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4639 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

> BadMojo wrote: Don't worry, thats what the feedback is for.. I shall give it more power and a bit of spread to compensate the over the top accuracy ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

I haven't tested the revision, but I'd suggest adding a "hold" state which has the spread, and keeping the single-shot "fire" state about as accurate as it was. Then, add a "ReFire" state that's long enough that you can't just rapidly tap the fire button to circumvent the recoil in the "hold" state. That way, it's still accurate for single-shot sniping, but the accuracy can't be abused.

> BadMojo wrote: Yea, I do struggle a bit with balancing my weapons... but again, that's what the feedback is for ![:)](https://www.realm667.com/media/kunena/emoticons/cacsmi.gif ":)")

If it makes you feel any better, I once balanced *an entire game*. ![:P](https://www.realm667.com/tongue.gif ":P") (Rage: Mutant Bash TV, if you're curious. It's a long story, so I won't go into it here.)

 Last edit: 9 years 11 months ago by MagicWazard. Reason: Keep screwing up the "quote" formatting

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4644](#4644) by BadMojo  Replied by *BadMojo* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4644 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

 Ok, well before you test out any of the new revisions... I need help getting the random spread for each barrel to be the same.. if that makes sense.

So basically, A_FireCustomMissile is called twice, and my goal is to set both "angles" to the same random number. But obviously when you would do A_FireCustomMissile("D_Laser", random(-2, 2)... etc twice, that means calling random twice, therefore getting 2 random numbers... but i want those numbers to be the same.

So my initial solution to this was to create a user variable and store a random number in that... so then after every refire it would call random once, store it in user_rand and use that for setting the angle for each barrel... But thats not working, and im sure it has something to do the player inheritance and some other type of wizardry that im probably not supposed to be doing anyway and theres probably a much easier way that should have been in my face the whole time.... WWMWD?!?! ![:P](https://www.realm667.com/tongue.gif ":P")

Edit: Nevermind.... I improvised.. ill upload v5.2 in a minute.. scrap 5.0 and 5.1, well figure out damage ratios on 5.2.

 Last edit: 9 years 11 months ago by BadMojo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 - 9 years 11 months ago [\#4665](#4665) by MagicWazard  Replied by *MagicWazard* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4665 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

 Ok, so I checked out the newest version. Here's my feedback:

*I see you're inheriting from FastProjectile now, but for some reason, the projectiles still fail to leave scorch marks when fired at point-blank or at certain extreme angles. I wonder if it's an engine bug. Maybe BlueShadow has some insight.

*The ReFire frame has no duration. Instead of... Code:

DUAL A 0 A_ReFire DUAL A 5

I'd use... Code:

DUAL A 10 A_ReFire DUAL A 5

...because currently, it's easy to circumvent the "Hold" recoil by tapping the fire key repeatedly, and you barely lose any rate of fire (you only get 1/7th of a second's worth of delay between shots versus holding the button, and keep your accuracy). Using my method, you'd get nearly 1/2 a second's worth of added delay between shots versus holding the button.

*Speaking of "Hold", I see that it has a 127 out of 256 chance of jumping to Hold2 through Hold5. You realize this basically means that Hold has a 50% chance of being the state that is fallen into, whereas Hold2 through Hold5 only have a 12.5% chance each of getting jumped to. Maybe this was intentional, but considering "Hold"'s attack function has no recoil, it doesn't seem like the best way to go, as it's the one that's called most often. I think what you should do is make a "Hold" state that doesn't actually fire, but instead contains an A_Jump with 256 chance of jumping to "Hold1" (which replicates "Hold"'s attack function) through "Hold5"--that way, each "HoldX" state has an equal chance to get called.

 Last edit: 9 years 11 months ago by MagicWazard.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4667](#4667) by BadMojo  Replied by *BadMojo* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4667 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

 Ok cool I will make the changes as soon as I can.
> You realize this basically means that Hold has a 50% chance of being the state that is fallen into, whereas Hold2 through Hold5 only have a 12.5% chance each of getting jumped to.

Nope I didn't realize, I fail miserably at math... my brain literally looks like a dead cacodemon... I was hoping Id either ace it by putting in somewhere close to half a chance for everything or fail miserably and have you correct my madness ![:P](https://www.realm667.com/tongue.gif ":P") you get a thank you for the help on that one ![;)](https://www.realm667.com/wink.gif ";)")

Edit: V6 is up now, but i have a weird bug on my end where ill type IDFA and it will play the firing sound quietly once in the background... im not sure why its doing that, let me know if it does the same on your end.

 Last edit: 9 years 11 months ago by BadMojo.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4673](#4673) by MagicWazard  Replied by *MagicWazard* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4673 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

> BadMojo wrote: Edit: V6 is up now, but i have a weird bug on my end where ill type IDFA and it will play the firing sound quietly once in the background... im not sure why its doing that, let me know if it does the same on your end.

It happens to me, too, but it also plays the same sound when you summon the weapon and pick it up. I noticed that before, but I assumed it was intentional until you brought up the IDFA issue. Offhand, I'm not sure why this is happening. I've pored over the code, and I don't see any obvious reason for this.

Also, I notice that the firing sound can override or drown out the impact sound. You might need to put "$limit soundname" explicitly to 0 to avoid this.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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 [\#4675](#4675) by BadMojo  Replied by *BadMojo* on topic *[\[SUBMISSION\] Dual Barrel Laser Rifle](https://www.realm667.com/forum/closed-submissions/774-submission-dual-barrel-laser-rifle#4675 "

Name: Dual Barrel Laser Rifle
Class: 6 (I guess?.. being a plasma weapon.. or 4 based on power to rate of fire)
Type: Projectile
Palette: png palleted
Summon: DualLaser
Ammo Type: Cells
Altfire: No
Powered Mode: No
Added States: No

Submitted: BadMojo
Decorate: BadMojo
GLDefs: BadMojo
Sounds: BadMojo
Sprites: BadMojo
Idea Base: A mod for quake called "Pain", had a dual laser gun, also a single laser gun, which was the sound idea base for the firing sound.
ACS: No

Light weight, accurate, fast projectile, dual firing laser rifle.

https://www.dropbox.com/s/0zinmc2ypvm1ofy/DUALLASERv7.1.zip?dl=0")*

 Alright, v7 is up now

I implemented $limit on the death sound of the projectile, which fixed the sound issues, but I still cant figure out why the firing sound plays when idfa.. I might try re-archiving everything just in case its a corrupt zip or something weird... seems to be a common issue with me ![:/](https://www.realm667.com/irritated.gif ":/")

Also, regarding the sound, I corrected the firing sound playing twice.... no it wasn't originally intentional to have it play twice when firing, I thought it was ok for a while but it wasn't what I wanted it to sound like.. so its back to normal now.

I also added gldefs to the explosion aswell.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy83NzQtc3VibWlzc2lvbi1kdWFsLWJhcnJlbC1sYXNlci1yaWZsZT9zdGFydD0w&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)
