Open keatsandyeats opened 6 years ago
You can't switch to metabolize. The client prediction just thinks you can do, so if you press 2 the HUD will show for a few frames that you are switching to metabolize while you are not really switching to it at all. To fully fix this visual glitch I still need to figure out a way to propagate the option's value to the predict world.
I tried a client -> server -> predict network message pipeline but for whatever reason the network message hook doesn't trigger in predict.
Of course we could read the options.xml directly while running the prediction but that wouldn't detect any change of the option's value without an unreasonable amount of file sampling.
As of https://github.com/sclark39/NS2Plus/commit/25ce33dcda3ff16097061f0bff9219820600afe4: With the legacy weapon switch option disabled, pressing the key for second weapon slot (2 by default) will switch to metabolize briefly, then return to your previous weapon. (With the legacy option enabled, it seems to work ok.)