header general

[SUBMISSION] M2 Browning

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
7 months 1 week ago - 5 months 1 week ago #1 by Doomperson 999
[SUBMISSION] M2 Browning was created by Doomperson 999
INFO:
Name: M2-Browning
Class: Level 4
Type: Hitscan
Palette: Doom
Summon: HMG
Ammotype: HiCal
AltFire: No

CREDITS:
Uploaded: Doomperson 999
Edited: Doomperson 999
Sprites: Sgt. Shivers, Yholl, tabijaky, elSebas54
Sounds: Sgt. Shivers, Yholl, Magmacow, elSebas54
Code: Doomperson 999, elSebas54
ACS: No
Idea Base: M2 Browning from FINAL DOOMER

Description: A Heavy Machine Gun sitting for an unknown amount of time scavenged from a destroyed war vehicle out in the middle of a dense forest. Surprisingly, it still works perfectly.
Last edit: 5 months 1 week ago by Doomperson 999. Reason: [UPDATE]: Minor Tweaks & Bug Fixes.

Please Log in or Create an account to join the conversation.

  • CaptainToenail
  • CaptainToenail's Avatar
  • Wicked
  • Wicked
More
7 months 5 days ago #2 by CaptainToenail
Replied by CaptainToenail on topic [SUBMISSION] M2 Browning
This weapon is seriously OP when you take into consideration the amount of bullet ammo it uses.

Otherwise it seems pretty solid.

If I was going to use this in a wad I'd probably use it as a stationary turret.

Please Log in or Create an account to join the conversation.

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
7 months 2 days ago #3 by Doomperson 999
Replied by Doomperson 999 on topic [SUBMISSION] M2 Browning
The damage factor is intentional (Come on, it's a 50cal), although I don't think it'll be a good idea to make the ammo standard clips for that high damage output that goes above any clip-shooting gun in the game. I'll see what I can do.

Please Log in or Create an account to join the conversation.

  • DeVloek
  • DeVloek's Avatar
  • Wicked
  • Wicked
More
7 months 2 days ago - 7 months 2 days ago #4 by DeVloek
Replied by DeVloek on topic [SUBMISSION] M2 Browning
A high damage hitscan weapon like this should not come without some downsides, so I got a few suggestions:

  • [strike]The caliber for the standard pistol and chaingun isn't anywhere near 12.7x99mm so the M2 should have its own ammo type. Then the mapmaker can decide how rare the ammo should be compared to other ammo types[/strike]
  • Add some recoil to firing
  • Decrease accuracy the longer you hold down the fire button
  • Slow down the player while they are holding the gun

edit: scratch my first suggestion, I just realized it does have its own ammo type already. I confused the clip sprite in the HUD with standard clips since they look quite similar. Also added another suggestion to slow down the player.
Last edit: 7 months 2 days ago by DeVloek.

Please Log in or Create an account to join the conversation.

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
7 months 2 days ago #5 by Doomperson 999
Replied by Doomperson 999 on topic [SUBMISSION] M2 Browning
I can slow down the player while they're holding it, but I still don't fully know how to add recoil to weapons. As for the accuracy part, I feel like the recoil should account for that.

Please Log in or Create an account to join the conversation.

  • DeVloek
  • DeVloek's Avatar
  • Wicked
  • Wicked
More
7 months 2 days ago #6 by DeVloek
Replied by DeVloek on topic [SUBMISSION] M2 Browning
Just add A_Recoil(0.1) to line 40 (where the actual firing animation happens) or for some more finetuning add a TNT1 A 0 A_Recoil() line to the fire state and try some other values there.

This won't decrease accuracy though. Recoil in ZDoom isn't actual recoil like in real life, it just pushes the actor back (or forward if you use a negative value).

Decreasing accuracy while firing would be quite easy in Zscript but I don't know exactly how to do it in DECORATE since I haven't used that in almost a decade. I guess it's possible with some additional fire states.

Please Log in or Create an account to join the conversation.

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
7 months 1 day ago #7 by Doomperson 999
Replied by Doomperson 999 on topic [SUBMISSION] M2 Browning
I was thinking of a type of recoil where only the player's viewpoint changes (i.e., whenever it fires, the player's point of view shifts a bit upward).

Please Log in or Create an account to join the conversation.

  • CaptainToenail
  • CaptainToenail's Avatar
  • Wicked
  • Wicked
More
7 months 1 day ago #8 by CaptainToenail
Replied by CaptainToenail on topic [SUBMISSION] M2 Browning
You could use this to make the player's view rise with the recoil: https://zdoom.org/wiki/A_SetPitch

Please Log in or Create an account to join the conversation.

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
6 months 3 weeks ago #9 by Doomperson 999
Replied by Doomperson 999 on topic [SUBMISSION] M2 Browning
Alright, I did the recoil thingy and removed the quaking because it looked awkward, but I'm not planning on re-releasing it until all the issues are fixed.

Please Log in or Create an account to join the conversation.

  • Doomperson 999
  • Doomperson 999's Avatar Topic Author
  • Demon
  • Demon
More
5 months 1 week ago #10 by Doomperson 999
Replied by Doomperson 999 on topic [SUBMISSION] M2 Browning
Just released the updated version of this thing. Let me know if there's anything wrong with it.

Please Log in or Create an account to join the conversation.