MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001827 | Zandronum | [All Projects] Suggestion | public | 2014-06-09 18:16 | 2014-06-15 16:49 |
Reporter | JKist3 | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001827: PWO switch upon running out of ammo | ||||
Description | What 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 | bug_revision_view_page.php?bugnote_id=8973#r4875 | ||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|