MantisBT - Zandronum
View Issue Details
0001299Zandronum[All Projects] Suggestionpublic2013-03-12 19:172013-09-18 16:26
Watermelon 
 
normalminorN/A
closedduplicate 
1.0 
 
0001299: Compatibility for not being able to change weapon in the middle of A_Raise
I've spent a few hours trying to find out how Zandronum handles weapon raising. So far it seems that when you pass a weapon to the player's PendingWeapon, it will change to it in the middle of raising. In vanilla doom and other ports it doesn't do this. Would this be a possible COMPATFLAG?

Implications: Allows for change in game dynamics since players can switch to other weapons on spawn faster and thus kill them faster. This is extremely prevalent in duels and results in a drastic gameplay change between ports.
Vanilla:
- Try changing weapons when one is raising (you cant)

Zandronum:
- Try changing weapons in the middle of the raise state (you can)
I attempted to fix it by adding this between line 124-125 in a_weapons.cpp:

if (!(Owner->player->cheats & CF_WEAPONREADY))
return false;

While this works, you then lose the ability to change to it unless you click it only when it's ready, so this isn't a feasible option.
No tags attached.
related to 0001362closed Watermelon Separating compat_oldweaponswitch from affecting weapon raise 
Issue History
2013-03-12 19:17WatermelonNew Issue
2013-03-14 17:29Konar6Note Added: 0006125
2013-03-14 17:29Konar6Note Edited: 0006125bug_revision_view_page.php?bugnote_id=6125#r3379
2013-03-14 17:29Konar6Note Edited: 0006125bug_revision_view_page.php?bugnote_id=6125#r3380
2013-03-14 18:33WatermelonNote Added: 0006126
2013-03-14 20:33Konar6Note Added: 0006128
2013-03-14 21:02WatermelonNote Added: 0006129
2013-06-08 18:38WatermelonRelationship addedrelated to 0001362
2013-09-18 16:26WatermelonStatusnew => closed
2013-09-18 16:26WatermelonResolutionopen => duplicate

Notes
(0006125)
Konar6   
2013-03-14 17:29   
Wasn't this implemented in 0000186?

(0006126)
Watermelon   
2013-03-14 18:33   
If it was, it didn't seem to help fix this thing.
(0006128)
Konar6   
2013-03-14 20:33   
To clarify, it was merged into the compat_oldweaponswitch dmflag. Does your problem occur with this flag enabled?
(0006129)
Watermelon   
2013-03-14 21:02   
Ah yes it works when that flag is on.
Many people like that particular flag off but want the weapon raising property to be enabled.

What are thought about this being with a new flag? Mainly all the other ports do the raise prevention change thing while implementing PWO (which zandro now has).