RRWM reloading system [1.5.0] [ZS/DEC/SBARINFO]

Post your example zscripts/ACS scripts/etc here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
yum13241
Posts: 853
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support

Re: RRWM reloading system [1.3.0.1] [ZS/DEC/SBARINFO]

Post by yum13241 »

Player701 wrote: Agreed. :P
Your pfp and that face do not match :P
User avatar
Player701
 
 
Posts: 1693
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support

Re: RRWM reloading system [1.5.0] [ZS/DEC/SBARINFO]

Post by Player701 »

RRWM reloading system has been updated to version 1.5.0. Download the new release HERE. The link in the first post has been updated too.

This version backports a fix from RRWM 1.5.0 to rectify a minor issue related to alternate fire. Previously, if a weapon supported alternate fire that did not use ammo, it would get deselected if primary fire was attempted without any ammo. This is no longer the case.

Additionally, a PreReload virtual method has been added to ReloadableWeapon (works similarly to PreRaise and PreLower, for full description please refer to the "Additional virtual methods" section of the manual).
PlayerT
Posts: 2
Joined: Wed Dec 11, 2024 1:08 pm

Re: RRWM reloading system [1.5.0] [ZS/DEC/SBARINFO]

Post by PlayerT »

Hello! So apparently this doesn't work in Ultimate Doom Builder, I get this error

ZSCRIPT error in "rrwm_reloading_system.pk3\classes\core\ReloadableWeapon.zs", line 376. Cannot have virtual, override and final on the same method.
User avatar
Player701
 
 
Posts: 1693
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support

Re: RRWM reloading system [1.5.0] [ZS/DEC/SBARINFO]

Post by Player701 »

PlayerT wrote: Wed Dec 11, 2024 1:11 pm Hello! So apparently this doesn't work in Ultimate Doom Builder, I get this error

ZSCRIPT error in "rrwm_reloading_system.pk3\classes\core\ReloadableWeapon.zs", line 376. Cannot have virtual, override and final on the same method.
Combining final and override is valid ZScript, so the issue here is with UDB. The final keyword serves as a hint for fellow coders that the respective methods should not be overridden further. (Although the actual mechanism to prevent that from happening seems to not be implemented yet, same as with const functions).
PlayerT
Posts: 2
Joined: Wed Dec 11, 2024 1:08 pm

Re: RRWM reloading system [1.5.0] [ZS/DEC/SBARINFO]

Post by PlayerT »

Thank you for the reply! I'm glad to know it's just an issue with UDB.

Return to “Script Library”