[Added] Alt_Uses_Both flag

Moderator: Developers

Alt_Uses_Both flag

Postby Ryan Cordell » Sun May 22, 2011 2:24 pm

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 6 times
User avatar
Ryan Cordell
Smashing!
 
Joined: 06 Feb 2005
Location: Capital of Explodistan.

Re: Alt_Uses_Both flag

Postby some_random_guy » Thu May 26, 2011 5:45 pm

Awesome!

Still...odd that it was in the source and wasn't in the ZDoom wiki.
User avatar
some_random_guy
Low-key and willing to learn
 
Joined: 29 Apr 2011
Location: here

Re: Alt_Uses_Both flag

Postby NeuralStunner » Thu May 26, 2011 5:59 pm

You don't put things on the Wiki that don't work.
User avatar
NeuralStunner
O'Neill with it.
 
Joined: 21 Jul 2009
Location: The Colonies

Re: Alt_Uses_Both flag

Postby some_random_guy » Thu May 26, 2011 6:52 pm

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.
User avatar
some_random_guy
Low-key and willing to learn
 
Joined: 29 Apr 2011
Location: here

Re: Alt_Uses_Both flag

Postby Gez » Fri May 27, 2011 12:52 am

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.

You still don't understand.

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:

Ryan Cordell wrote:it wasn't included with the decorate flag parser, so the flag couldn't be used.

Read this. Over and over and over again until "couldn't be used" starts to register.
Gez
 
Joined: 06 Jul 2007

Re: Alt_Uses_Both flag

Postby some_random_guy » Fri May 27, 2011 9:45 am

I understand, I just wasn't sure if it was a standard protocol (not an automation, since developers are real people too :D )
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.
User avatar
some_random_guy
Low-key and willing to learn
 
Joined: 29 Apr 2011
Location: here

Re: Alt_Uses_Both flag

Postby Ryan Cordell » Fri May 27, 2011 10:15 am

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...)


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.
User avatar
Ryan Cordell
Smashing!
 
Joined: 06 Feb 2005
Location: Capital of Explodistan.

Re: Alt_Uses_Both flag

Postby some_random_guy » Fri May 27, 2011 11:39 am

And that, Ryan Cordell, is why I, along with the rest of the ZDoom community, think you are so awesome! :D
User avatar
some_random_guy
Low-key and willing to learn
 
Joined: 29 Apr 2011
Location: here


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest