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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001827Zandronum[All Projects] Suggestionpublic2014-06-09 18:162014-06-15 16:49
ReporterJKist3 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001827: PWO switch upon running out of ammo
DescriptionWhat weapon will zandronum automatically switch you to after you run out of ammo with the one you currently have out? This is actually an important question. It seems to have a hard coded order that it goes through at the moment, but it would be good if this could be custom set by the player if they wanted to.

Here is one proposed solution to this:

In upcoming versions of zandronum, a PWO upgrade has been made giving the option for weapons of equal priority to not switch to each other upon pickup. This could be extended with a PWO switch threshold variable (or constant) where if turned on, a weapon's priority number needs to be greater than the threshold + the current weapon's priority level to switch upon pickup. However, after running out of ammo the absolute highest value weapon in your pwo is chosen to switch to.

Example:

Rocket priority: .22
SSG priority: .49
Plasma priority: .31
BFG priority: .48

PWO switch threshold: 0.1 (a weapon has to be greater than .1 difference between the current weapon to switch)
______________


I have Rockets out. Next i pickup BFG. (BFG priority)-(Rocket priority) = .26 which is greater than .1 so I get switched to BFG. Next i pickup plasma. (plasma priority)-(BFG priority) = -.17 which is not greater than .1 so no switch is made. Next I pickup SSG. (SSG priority)-(BFG priority) = .01 which is not greater than .1 so no switch is made. I fire BFG until empty. SSG is then switched to because it's the weapon with the highest level of priority that I have ammo for.

Hope this made sense.
Attached Files

- Relationships

-  Notes
User avatar (0008973)
AlienOverlord (reporter)
2014-06-09 19:44
edited on: 2014-06-09 19:45

Looks like a lot of trouble for the programmer and confusion for the users...

User avatar (0008975)
JKist3 (reporter)
2014-06-09 20:51

My suggestion was mostly because I thought this would be easy for a coder to implement. Defining a secondary PWO strictly for switching weapons upon empty may be less confusing for everyone.
User avatar (0008976)
Watermelon (developer)
2014-06-09 21:00

Yeah I hated when I'd use the BFG, get stuck with 20 cells and it'd switch to the plasma. That cost me games.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-06-09 18:16 JKist3 New Issue
2014-06-09 19:44 AlienOverlord Note Added: 0008973
2014-06-09 19:45 AlienOverlord Note Edited: 0008973 View Revisions
2014-06-09 20:51 JKist3 Note Added: 0008975
2014-06-09 21:00 Watermelon Note Added: 0008976
2014-06-15 16:49 Watermelon Status new => acknowledged






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker