Weapon only bob in some states

Moderator: GZDoom Developers

User avatar
Duducrazy
Posts: 600
Joined: Sat Aug 21, 2004 6:16 pm

Re: Weapon only bob in some states

Post by Duducrazy »

ok. now that the "new" flag has been added, when are you going to upload a new svn revision with this "new" flag so i can try it out myself?
User avatar
Enjay
 
 
Posts: 27270
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Weapon only bob in some states

Post by Enjay »

Thank you very much for this. I've tested it and it does exactly what I want. :thumb:
User avatar
Enjay
 
 
Posts: 27270
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Weapon only bob in some states

Post by Enjay »

Duducrazy wrote:ok. now that the "new" flag has been added, when are you going to upload a new svn revision with this "new" flag so i can try it out myself?
I uploaded a compiled version about half an hour before you posted that. ;)
User avatar
Duducrazy
Posts: 600
Joined: Sat Aug 21, 2004 6:16 pm

Re: Weapon only bob in some states

Post by Duducrazy »

YEEEE-HAW! [/downloading revision 377]

edit: now all that's left is a wiki documentation showing how to use the new A_WeaponReady flag.
User avatar
Enjay
 
 
Posts: 27270
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Weapon only bob in some states

Post by Enjay »

From what I can tell

A_WeaponReady(0) (or blank) normal
A_WeaponReady(1) no bob
A_WeaponReady(2) no firing
A_WeaponReady(3) neither

(Someone please correct me if that's wrong or if there is more to it)
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Weapon only bob in some states

Post by XutaWoo »

When can we expect a no switch flag, for things like Zen Dynamic's machette?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Weapon only bob in some states

Post by Gez »

Enjay wrote:A_WeaponReady(0) (or blank) normal
A_WeaponReady(1) no bob
A_WeaponReady(2) no firing
A_WeaponReady(3) neither

(Someone please correct me if that's wrong or if there is more to it)
That's it. Wiki updated.
XutaWoo wrote:When can we expect a no switch flag, for things like Zen Dynamic's machette?
Well for now it's covered by WRF_NOFIRE.
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Weapon only bob in some states

Post by XutaWoo »

...which removes the point in the example I mentioned.

Actually, why does that remove weapon switching? Should be renamed to "WRF_NOCHECK" then.
User avatar
Rachael
Posts: 13965
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Weapon only bob in some states

Post by Rachael »

Duducrazy wrote:ok. now that the "new" flag has been added, when are you going to upload a new svn revision with this "new" flag so i can try it out myself?
Duducrazy wrote:YEEEE-HAW! [/downloading revision 377]
Check http://svn.drdteam.org/experimental/ as well, when asking that. Sometimes a new GZDoom is posted before Graf updates it - although funny thing is he did the exact same update (plus deleting a few files in the source, but that does not affect the build) not very long after I posted mine. :P
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Re: Weapon only bob in some states

Post by DoomRater »

XutaWoo wrote:...which removes the point in the example I mentioned.

Actually, why does that remove weapon switching? Should be renamed to "WRF_NOCHECK" then.
This.

Also, can separate flags be added to disallow JUST Fire or JUST AltFire jumps? Since we're going all modular with this extremely powerful codepointer, might as well ask about this stuff too as it'll remove a lot of hacks I currently have and can't reproduce with just A_Refire and A_ClearRefire.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”