A_WeaponOffset Extension: WOF_OFFSET
Moderator: GZDoom Developers
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
A_WeaponOffset Extension: WOF_OFFSET
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
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
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_WeaponOffset Extension: WOF_OFFSET
This cannot be added without trashing the multiple PSprites submission so it will have to be redone.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: A_WeaponOffset Extension: WOF_OFFSET
I have no problem re-doing this if the multiple PSprites submission gets merged
- 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
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.
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: A_WeaponOffset Extension: WOF_OFFSET
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
Re: A_WeaponOffset Extension: WOF_OFFSET
Hey TZK, any updates? I'd like to finalize my weapon sway code resource soon since I have some spare time right now. =D
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: A_WeaponOffset Extension: WOF_OFFSET
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
Re: A_WeaponOffset Extension: WOF_OFFSET
I am looking for this option, what is it called?Major Cooke wrote:One can specify whether one wants the weapon to be followed or not.
- 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
PSPF_ADDWEAPON.