Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #2107 Back to Issue ]
Summary 0002107: PWO rewrite
Revision 2015-02-19 05:49 by Dusk
Description I rewrote the PWO code a month ago or so due to the dubious quality of the code and due to the unnecessary dependency of the ORDERDEF lump. The new code automatically picks up which weapons are to be subjected to PWO. The ORDERDEF support is removed and any ORDERDEF lumps in wads are silently ignored.

The menu now uses sliders from -10 to 10, where 0 is the default value, putting the PWO default in the middle of the slider. Weapons are grouped per class when possible (see for yourself in Hexen)

The code works by picking up weapons from player's weapon slots, due to this it won't see weapon slots defined in KEYCONF (which is deprecated anyway!).
Revision 2015-02-19 06:05 by Dusk
Description I rewrote the PWO code a month ago or so due to the dubious quality of the code and due to the unnecessary dependency of the ORDERDEF lump. The new code automatically picks up which weapons are to be subjected to PWO. The ORDERDEF support is removed and any ORDERDEF lumps in wads are silently ignored.

The menu now uses sliders from -10 to 10, where 0 is the default value, putting the PWO default in the middle of the slider. Weapons are grouped per class when possible (see for yourself in Hexen). Configuration is stored in a separate section in the config instead of in CVars.

The code works by picking up weapons from player's weapon slots, due to this it won't see weapon slots defined in KEYCONF (which is deprecated anyway!).
Revision 2015-02-19 05:49 by Dusk
Steps To Reproduce Testing build: 150123-1849 (CMakeLists.txt was modified to make it build under Windows)
Revision 2015-02-19 13:36 by Dusk
Steps To Reproduce Sandbox branch: pwo
Testing build: 150123-1849 (CMakeLists.txt was modified to make it build under Windows)
Revision 2015-02-20 16:51 by Dusk
Steps To Reproduce Sandbox branch: pwo
Testing build: 150220-1621
Revision 2015-02-19 05:49 by Dusk
Additional Information I need this tested because I'm not certain that weapon switching behavior is intact (and in general it could use some testing).

Of note is that it does not pick up AOW weapons at all (due to AOW using KEYCONF). Samsara weapons are found but are not grouped properly, as Samsara's weapon slots are defined in the weapon classes, thus causing the weapons be slotted for all players. I'll need to see if I can circumvent this.
Revision 2015-02-20 17:00 by Dusk
Additional Information I need this tested because I'm not certain that weapon switching behavior is intact (and in general it could use some testing).

Of note is that it does not pick up AOW weapons at all (due to AOW using KEYCONF). Most of Samsara's weapons are found but are not grouped properly, as Samsara's weapon slots are defined in the weapon classes, thus causing the weapons be slotted for all players. Some are only slotted in KEYCONF again so those are not picked up. I'll need to see if I can circumvent this.
Revision 2015-03-28 01:02 by Dusk
Steps To Reproduce Sandbox branch: pwo
Testing build: 150328-0051
Revision 2015-08-18 11:39 by cobalt
Description I rewrote the PWO code a month ago or so due to the dubious quality of the code and due to the unnecessary dependency of the ORDERDEF lump. The new code automatically picks up which weapons are to be subjected to PWO. The ORDERDEF support is removed and any ORDERDEF lumps in wads are silently ignored.

The menu now uses sliders from -10 to 10, where 0 is the default value, putting the PWO default in the middle of the slider. Weapons are grouped per class when possible (see for yourself in Hexen). Configuration is stored in a separate section in the config instead of in CVars.

The code works by picking up weapons from player's weapon slots, due to this it won't see weapon slots defined in KEYCONF (which is deprecated anyway!).
Revision 2015-08-18 11:39 by cobalt
Steps To Reproduce Sandbox branch: pwo
Testing build: 150328-0051
Revision 2015-08-18 11:39 by cobalt
Additional Information I need this tested because I'm not certain that weapon switching behavior is intact (and in general it could use some testing).

Of note is that it does not pick up AOW weapons at all (due to AOW using KEYCONF). Most of Samsara's weapons are found but are not grouped properly, as Samsara's weapon slots are defined in the weapon classes, thus causing the weapons be slotted for all players. Some are only slotted in KEYCONF again so those are not picked up. I'll need to see if I can circumvent this.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker