Alt_Uses_Both flag
Moderator: GZDoom Developers
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Alt_Uses_Both flag
Despite this already being defined in the source, it wasn't included with the decorate flag parser, so the flag couldn't be used.
- Attachments
-
Alt_Uses_Both.zip
- use both ammo types when altfire is used.
- (390 Bytes) Downloaded 55 times
- some_random_guy
- Posts: 61
- Joined: Fri Apr 29, 2011 5:20 pm
- Location: here
Re: Alt_Uses_Both flag
Awesome!
Still...odd that it was in the source and wasn't in the ZDoom wiki.
Still...odd that it was in the source and wasn't in the ZDoom wiki.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Alt_Uses_Both flag
You don't put things on the Wiki that don't work.
- some_random_guy
- Posts: 61
- Joined: Fri Apr 29, 2011 5:20 pm
- Location: here
Re: Alt_Uses_Both flag
Oh. I just thought that the developers automatically put everything on the wiki that was in the source in a major release.
...or was the Alt_Uses_Both flag not in the 2.5.0 release? Was it not added until after the release?
I'm wondering because I was getting the idea that it's been in the code for a long time.
...or was the Alt_Uses_Both flag not in the 2.5.0 release? Was it not added until after the release?
I'm wondering because I was getting the idea that it's been in the code for a long time.
Re: Alt_Uses_Both flag
You still don't understand.some_random_guy wrote:Oh. I just thought that the developers automatically put everything on the wiki that was in the source in a major release.
First, automatically? Developers aren't automatons. There's no system created yet that will automatically read source code and turn it into wiki documentation. (I suppose something could be done based on Doxygen and some wiki bot, but that's not the case here.)
Then, and more importantly, the wiki is there to describe what is available to modders and players. I refer to the first post of this thread:
Read this. Over and over and over again until "couldn't be used" starts to register.Ryan Cordell wrote:it wasn't included with the decorate flag parser, so the flag couldn't be used.
- some_random_guy
- Posts: 61
- Joined: Fri Apr 29, 2011 5:20 pm
- Location: here
Re: Alt_Uses_Both flag
I understand, I just wasn't sure if it was a standard protocol (not an automation, since developers are real people too
)
to insert stuff that was in the code. Besides, I thought that since it was in the code, somebody may have overlooked it
(since it was "there", kinda) and dismissed it as "working" without actually testing it. (You never know, accidents happen...)
But anyone can post stuff or edit in the ZDoom wiki, right? I just want to add that the ALT_USES_BOTH flag is available in developmental versions.
EDIT: I changed the "Weapon Properties" page of the wiki. It now lists the function of the WEAPON.ALT_USES_BOTH flag, and that it only has worked since version r3213.

to insert stuff that was in the code. Besides, I thought that since it was in the code, somebody may have overlooked it
(since it was "there", kinda) and dismissed it as "working" without actually testing it. (You never know, accidents happen...)
But anyone can post stuff or edit in the ZDoom wiki, right? I just want to add that the ALT_USES_BOTH flag is available in developmental versions.
EDIT: I changed the "Weapon Properties" page of the wiki. It now lists the function of the WEAPON.ALT_USES_BOTH flag, and that it only has worked since version r3213.
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: Alt_Uses_Both flag
Arguably, it was more like forgotten or had low priority. At least it was a good thing I went on a small feature suggestion spree so the flag was brought back to light.some_random_guy wrote:Besides, I thought that since it was in the code, somebody may have overlooked it
(since it was "there", kinda) and dismissed it as "working" without actually testing it. (You never know, accidents happen...)
- some_random_guy
- Posts: 61
- Joined: Fri Apr 29, 2011 5:20 pm
- Location: here
Re: Alt_Uses_Both flag
And that, Ryan Cordell, is why I, along with the rest of the ZDoom community, think you are so awesome! 
