MantisBT - Zandronum
View Issue Details
0000546Zandronum[All Projects] Suggestionpublic2011-08-03 04:482014-08-06 04:24
cq75 
 
nonefeaturealways
closedout of scope 
98d 
 
0000546: Manual Reload for railgun
I added a manual reload for the railgun in my mod, I think this would be a useful feature for the stock ST railgun too.

This code allows you to reload the railgun at any time by using alt fire, rather than wasting the rest of the clip.

The weapon still reloads automatically if it runs out of shots in the clip.
Code:

ACTOR ReloadableRail : Railgun
{
  States
  {
    Fire:
        RLGG E 12 A_FireRailgun
        RLGG E 0 A_CheckForReload(4, "Reloaded")
    Altfire:
        RLGG FGHIJK 6
        RLGG L 6 A_ResetReloadCounter
    Reloaded:
        RLGG A 6
        RLGG M 0 A_ReFire
        Goto Ready
   }

}
gun, rail, Railgun, reload
Issue History
2011-08-03 04:48cq75New Issue
2011-08-03 07:19unknownnaNote Added: 0002057
2011-08-03 07:19unknownnaNote Edited: 0002057bug_revision_view_page.php?bugnote_id=2057#r1054
2011-08-03 07:20unknownnaNote Edited: 0002057bug_revision_view_page.php?bugnote_id=2057#r1055
2011-08-03 07:20unknownnaNote Edited: 0002057bug_revision_view_page.php?bugnote_id=2057#r1056
2011-08-03 20:30cq75Note Added: 0002059
2011-08-03 20:31cq75Note Edited: 0002059bug_revision_view_page.php?bugnote_id=2059#r1058
2011-08-11 02:26Dark-AssassinNote Added: 0002112
2014-06-11 16:10WatermelonNote Added: 0009055
2014-06-11 16:10WatermelonStatusnew => feedback
2014-08-06 04:24ArcoNote Added: 0010134
2014-08-06 04:24ArcoStatusfeedback => closed
2014-08-06 04:24ArcoResolutionopen => out of scope

Notes
(0002057)
unknownna   
2011-08-03 07:19   
(edited on: 2011-08-03 07:20)
Duplicate of:

[url=http://www.skulltag.com/forum/viewtopic.php?f=155&t=21818]
Another railgun suggestion: Alt-fire reloading.[/url]

(0002059)
cq75   
2011-08-03 20:30   
(edited on: 2011-08-03 20:31)
I didn't see that. I've got code for this, though.

EDIT - so does that one, ok.

(0002112)
Dark-Assassin   
2011-08-11 02:26   
I wouldn't agree to this.
It may break compatibility to custom weapons using this weapon as the parent.
Also the fact is that no other vanilla/stock weapon has an Alternate Fire or similar.
Best to keep this sort of stuff in your own patch wad or something.
(0009055)
Watermelon   
2014-06-11 16:10   
Gathering support would be good to move this ticket forward if still interested
(0010134)
Arco   
2014-08-06 04:24   
I don't see why gathering support for this is warranted, since Skulltag's stock features are no longer supported.