Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000274Zandronum[All Projects] Suggestionpublic2011-02-01 00:192018-09-30 20:58
ReporterDaScott 
Assigned ToTorr Samaho 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version98d 
Target Version1.1Fixed in Version1.1 
Summary0000274: Backport new A_FireBullets flags from zdoom r2500+
DescriptionFrom the zdoom wiki:

A_FireBullets (angle spread_horz, angle spread_vert, int numbullets, int damage [, string pufftype [,int flags [, float range]]])


Defines a custom hitscan attack for weapons. You have to specify the horizontal and vertical spread, the amount of bullets and the damage per bullet.

The first bullet fired in the Fire (not Hold) sequence normally ignores the spread and is always perfectly accurate. Setting numbullets to a negative value removes this effect.

    * flags: (New from 2.5.0)
          o FBF_USEAMMO: If set, the attack uses ammo. (Set by default.)
          o FBF_NORANDOM: If set, the damage is not multiplied by 1d3.
          o FBF_EXPLICITANGLE: If set, the horizontal and vertical spread are used as explicitly stated, instead of being used as a range for random spread.
          o FBF_NOPITCH: If set, the vertical angle is not adjusted to aim at the target. (development version r2530+ only)

The damage formula is damage * 1d3 (unless the NORANDOM flag is set). For example, if damage is 4, the possible results are 4, 8 or 12. The average damage actually dealt by each bullet will therefore be damage * 2.

Optionally you can specify a puff type that is spawned when hitting a wall or a non-bleeding actor. The puff also determines the damage type of the attack.

range specifies the maximum distance of the attack.
Attached Files

- Relationships
parent of 0000456closed Backport FBF_NORANDOM flag for A_FireBullets 
parent of 0001123closed Please backport FBF_NORANDOM to A_FireBullets and A_CustomBulletAttack. 

-  Notes
User avatar (0000922)
unknownna (updater)
2011-02-02 03:33

Sounds like a duplicate of:

'http://www.skulltag.com/forum/viewtopic.php?f=156&t=25111 [^]'
User avatar (0000982)
Ijon Tichy (reporter)
2011-02-06 17:44

I'm not exactly a fan of suggestions like these, simply because they're effectively asking 'update the ZDoom code faster dammit'. Wait until we update to ZDoom 2\.[4-9]\.[0-9] (regular expressions ftw :D), and you'll get this feature, plus all the other cool ZDoom things we don't have yet.
User avatar (0001690)
Ghastly_dragon (reporter)
2011-05-19 18:45

To make it a bit easier to track down, these were added in r2530, r2323, r2318, and FBF_NOFLASH (which isn't yet mentioned) was added in r2655.
User avatar (0002321)
Faerlyn (reporter)
2011-12-11 10:12
edited on: 2011-12-11 10:13

I agree that this is needed. If you look at that thread that Unknownna put then you will see many others agree also.

User avatar (0002322)
Ghastly_dragon (reporter)
2011-12-11 18:18

Just a reminder, this would be very helpful to several of us.
User avatar (0005689)
NotIvan (reporter)
2013-01-05 01:14
edited on: 2013-01-05 01:15

Bump. A dev reply would be great. This has been requested 3 times in total and there are NO replies on ANY of them. Why? This shouldn't be an incredibly hard feature to backport, right? This feature has been deeply needed for many mods around here too...

User avatar (0005705)
Torr Samaho (administrator)
2013-01-06 08:57

Quote from NotIvan

This has been requested 3 times in total and there are NO replies on ANY of them. Why?

Well, there is not really anything to discuss. Of course we are well aware that for every feature ZDoom adds there is someone who wants to have it in Zandronum. The proper (and planned for 2.0) way to deal with this is to upgrade Zandronum's ZDoom base to a newer ZDoom version. Every backport makes an upgrade of the whole base more complicated and thus pushes the needed upgrade back even further.

Anyway, since NORANDOM is one of the things that get requested to be backported over and over again, I just backported the changes from ZDoom revision 2318, i.e. NORANDOM for A_CustomBulletAttack and A_FireBullets. Please test if this binary works as intended. Also please don't take this as an invitation to make more backport requests. As I said above, what most really want is an upgraded ZDoom base and backports are not helping here, but do exactly the opposite.
User avatar (0005736)
NotIvan (reporter)
2013-01-11 20:30
edited on: 2013-01-11 20:30

I've tested this in Coop. So far, I made each bullet do 14 damage. It always 2 shots (SSG) a revenant and I only have 1 pellet hitting him on the second shot so I assume that this worked. This was online/offline. Works without issues.

User avatar (0005751)
Torr Samaho (administrator)
2013-01-13 10:09

Thanks for checking. I commited the backport to the repository, so it'll be in 1.1.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Combinebobnt unknownna TerminusEst13 NotIvan bluewizard ZzZombo
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2011-02-01 00:19 DaScott New Issue
2011-02-02 03:33 unknownna Note Added: 0000922
2011-02-06 17:44 Ijon Tichy Note Added: 0000982
2011-05-19 18:28 unknownna Relationship added parent of 0000456
2011-05-19 18:45 Ghastly_dragon Note Added: 0001690
2011-12-11 10:12 Faerlyn Note Added: 0002321
2011-12-11 10:13 Faerlyn Note Edited: 0002321 View Revisions
2011-12-11 18:18 Ghastly_dragon Note Added: 0002322
2012-10-13 18:04 unknownna Relationship added parent of 0001123
2013-01-05 01:14 NotIvan Note Added: 0005689
2013-01-05 01:15 NotIvan Note Edited: 0005689 View Revisions
2013-01-06 08:57 Torr Samaho Note Added: 0005705
2013-01-06 12:06 Torr Samaho Assigned To => Torr Samaho
2013-01-06 12:06 Torr Samaho Status new => needs testing
2013-01-09 23:14 Dusk Target Version => 1.1
2013-01-11 20:30 NotIvan Note Added: 0005736
2013-01-11 20:30 NotIvan Note Edited: 0005736 View Revisions
2013-01-12 02:52 Dusk Status needs testing => resolved
2013-01-12 02:52 Dusk Resolution open => fixed
2013-01-12 02:53 Dusk Status resolved => feedback
2013-01-12 02:53 Dusk Resolution fixed => reopened
2013-01-12 02:53 Dusk Status feedback => resolved
2013-01-12 02:53 Dusk Fixed in Version => 1.1
2013-01-12 02:53 Dusk Resolution reopened => fixed
2013-01-13 10:09 Torr Samaho Note Added: 0005751
2018-09-30 20:58 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker