header general

[Submission] Quad-Shotgun

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
7 years 9 months ago - 7 years 9 months ago #41 by DBJ87
Replied by DBJ87 on topic [Submission] Quad-Shotgun
All the recent changes (October/November 2016 onwards) to GZDoom (and GZDB) have caused a massive headache for me.
Warning: Spoiler!

The changes to GZDoom also stopped standard versions of Doom, Doom2 etc from working, so I'm pretty much stuck with what I've got.

What should be happening:
The extra damage is dealt by a "Custom_Punch" is sent out when firing the gun, (adding a MeleeRange/Threshold I tried it, to be sure but I know that weapons don't use this) didn't work) anything standing in front of you (within default Melee range of the Player) takes some extra damage, mostly to knock them back but it also rarely gibs weaker enemies. Although it's easier to see with higher damage outputs (or more bullets, but any higher isn't what everyone's looking for).

GZDoom is now more strict when it comes to errors and warnings.

I can't check this currently, but you mention "damage", which is an integer. Floats shouldn't be used in this case.

The engine does truncate the decimal part, yes. The difference now is that it tells you, because it considers it "loss of data" (or something like that - not sure about the exact term). An explicit conversion from float to integer should solve this, I think.


I'm a bit confused about this (sorry), it's sad & a bit frustrating that the weapon's not loading, can someone explain this a bit more? The extra close-up damage added isn't something I really had planned on adding, if it's now going to keep causing errors, I'll remove it.

Appearance wise, I don't see what else can be done. But at least it's better than what I had originally.

Thanks for replying Blue Shadow, MagicWazard
Last edit: 7 years 9 months ago by DBJ87.

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

  • Blue Shadow
  • Blue Shadow's Avatar
  • Administrator
  • Administrator
More
7 years 9 months ago #42 by Blue Shadow
Replied by Blue Shadow on topic [Submission] Quad-Shotgun
The game starts and runs fine, since it's just a warning, not a fatal error. Now that I had a look, fixing the warnings is easy: the damage parameter for A_FireBullets is an integer, so you can have it as 7 or 8, and nothing in between. I say go with 7.

I have to say, this came a long way. My gripes seem to have been addressed, except one; the firing sound is still being cut off by the reload sound.

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

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
7 years 9 months ago - 7 years 9 months ago #43 by DBJ87
Replied by DBJ87 on topic [Submission] Quad-Shotgun

Blue Shadow wrote: The game starts and runs fine, since it's just a warning, not a fatal error. Now that I had a look, fixing the warnings is easy: the damage parameter for A_FireBullets is an integer, so you can have it as 7 or 8, and nothing in between. I say go with 7.

I have to say, this came a long way. My gripes seem to have been addressed, except one; the firing sound is still being cut off by the reload sound.


Thank you, I'll knock the bullet's damage down to 7 & take a look at the sound issues.

[Edit]
-Fixed the problems with sounds, everything was allocated to 1 channel because it was still using A_PlayWeaponSound. It's now been set up via A_PlaySound and split into seperate Channels so the Alternate Fire or 4th Shot aren't be cut off by the reload sounds.
-Bullet's Damage from Primary is 7. No Changes to Secondary Fire or the amount of Bullets fired.
Last edit: 7 years 9 months ago by DBJ87.

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

  • MagicWazard
  • MagicWazard's Avatar
  • Moderator
  • Moderator
More
7 years 9 months ago #44 by MagicWazard
Replied by MagicWazard on topic [Submission] Quad-Shotgun
I'm OK with this if everybody else is...

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

  • Dreadopp
  • Dreadopp's Avatar
  • Administrator
  • Administrator
More
7 years 9 months ago #45 by Dreadopp
Replied by Dreadopp on topic [Submission] Quad-Shotgun
Just gave this another go and it certainly has come a long way. I'm also okay with it as it stands currently. :)

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

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
7 years 9 months ago #46 by DBJ87
Replied by DBJ87 on topic [Submission] Quad-Shotgun
Thank you. I really appreciate everyone's help and contribution to this. :)

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

  • Blue Shadow
  • Blue Shadow's Avatar
  • Administrator
  • Administrator
More
7 years 9 months ago - 7 years 9 months ago #47 by Blue Shadow
Replied by Blue Shadow on topic [Submission] Quad-Shotgun
Last edit: 7 years 9 months ago by Blue Shadow.

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