A_WeaponOffset Extension: WOF_OFFSET

Moderator: GZDoom Developers

Post Reply
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

A_WeaponOffset Extension: WOF_OFFSET

Post by The Zombie Killer »

https://github.com/rheit/zdoom/pull/663

Adds WOF_OFFSET, makes A_WeaponOffset offsets a "true" offset, independent of absolutely everything except A_WeaponOffset.
Allows you to safely use A_WeaponOffset when functions such as A_Lower or A_Raise are running
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by Graf Zahl »

This cannot be added without trashing the multiple PSprites submission so it will have to be redone.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by The Zombie Killer »

I have no problem re-doing this if the multiple PSprites submission gets merged
User avatar
Major Cooke
Posts: 8205
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by Major Cooke »

I don't think this will be needed with how the overlay stuff is going to work now. One can specify whether one wants the weapon to be followed or not. I could be wrong though.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by The Zombie Killer »

Unfortunately, it seems that PSPF_ADDWEAPON does not solve the weapon selection issue like this did, therefore I'll likely re-do this pull request when I have time
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by Nash »

Hey TZK, any updates? I'd like to finalize my weapon sway code resource soon since I have some spare time right now. =D
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by The Zombie Killer »

Unfortunately I still have little time (in fact my free time is shrinking rapidly D:), but I might be able to get something done this weekend
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by Nash »

Major Cooke wrote:One can specify whether one wants the weapon to be followed or not.
I am looking for this option, what is it called?
User avatar
Major Cooke
Posts: 8205
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: A_WeaponOffset Extension: WOF_OFFSET

Post by Major Cooke »

PSPF_ADDWEAPON.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”