MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000274 | Zandronum | [All Projects] Suggestion | public | 2011-02-01 00:19 | 2018-09-30 20:58 |
|
Reporter | DaScott | |
Assigned To | Torr Samaho | |
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 98d | |
Target Version | 1.1 | Fixed in Version | 1.1 | |
|
Summary | 0000274: Backport new A_FireBullets flags from zdoom r2500+ |
Description | From 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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | parent of | 0000456 | closed | | Backport FBF_NORANDOM flag for A_FireBullets | parent of | 0001123 | closed | | Please backport FBF_NORANDOM to A_FireBullets and A_CustomBulletAttack. |
|
Attached Files | |
|
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 | bug_revision_view_page.php?bugnote_id=2321#r1196 |
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 | bug_revision_view_page.php?bugnote_id=5689#r3109 |
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 | bug_revision_view_page.php?bugnote_id=5736#r3152 |
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 |
Notes |
|
|
|
|
|
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. |
|
|
|
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. |
|
|
(0002321)
|
Faerlyn
|
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.
|
|
|
|
Just a reminder, this would be very helpful to several of us. |
|
|
(0005689)
|
NotIvan
|
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...
|
|
|
|
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. |
|
|
|
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.
|
|
|
|
Thanks for checking. I commited the backport to the repository, so it'll be in 1.1. |
|