-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Hoonymode should disable powerups, but does not #284
Comments
I'm able to reproduce this issue with the nQuakesv package. server log when calling /1on1. k_pow is 0 as expected
and then /hoonymode. Note: 1on1/default.cfg is not executed. k_pow is 1
When I look at default configs I can see following k_pow values.
|
when is this getting attention? its annoying and should be an easy fix. |
I guess this means its not a server config issue, but rather a code issue. |
Upon activating /hooneymode, first we apply the content of '_1on1hm_um_init', followed by executing ktx/configs/usermodes/default.cfg. This default.cfg in the nquakesv installer contains 'k_pow 1' (see https://github.com/nQuake/distfiles/blob/master/sv-configs/ktx/configs/usermodes/default.cfg). I think the easiest fix is to make the change in the nquakesv, and remove k_pow from the default.cfg, instead of diving into the execution order of these config files upon executing a usermode command like /hooneymode, or /1on1. |
I've just made a PR to update the default.cfg in the nquakesv package. Let's see... |
Describe the bug
When setting /hoonymode, powerups remain on the map or respawn if coming from no powerups.
This suggests that it should toggle
k_pow
:However, k_pow 0 changes to k_pow 1 after /hoonymode and the powerups are enabled.
All PUs remains enabled on any map.
To Reproduce
Caveat: Setting
add_q_aerowalk 0
ensures the quad is removed when you do/aerowalk /hoonymode
, so I would be careful with this special case when testing. In general, I'd go with other maps for repro first.This works on any map with powerup(s):
Expected behavior
Powerups should disappear in hoonymode - this appears to be the intended behaviour and it's a 1on1 mode, after all.
Environment(please complete the following information):
The text was updated successfully, but these errors were encountered: