Skip to content

Conversation

@AdamTadeusz
Copy link
Contributor

@AdamTadeusz AdamTadeusz commented Apr 21, 2025

Description

Some minor fixes

Previously it was possible to initiate a supa 7 reload while sprinting, it was impossible to toggle the team class loadout menus off if the console was not opened previously, a silly mistake meant the previous fix to not toggle the class selection menu when spectating was not working, and a check to make sure spectators do not receive score on round draw

Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native [Specify distro + GCC version]
  • Linux GCC 10 Sniper 3.0

Linked Issues

@AdamTadeusz AdamTadeusz requested a review from a team April 21, 2025 11:09
@AdamTadeusz
Copy link
Contributor Author

should figure out how to precache those keys on settings save too

brysondev
brysondev previously approved these changes Apr 21, 2025
@AdamTadeusz AdamTadeusz requested a review from a team April 22, 2025 12:27
brysondev
brysondev previously approved these changes Apr 22, 2025
@brysondev brysondev requested a review from a team April 22, 2025 15:23
@AdamTadeusz AdamTadeusz marked this pull request as draft May 18, 2025 16:20
@AdamTadeusz
Copy link
Contributor Author

should figure out how to precache those keys on settings save too

or maybe not

@AdamTadeusz AdamTadeusz marked this pull request as ready for review May 19, 2025 10:14
@AdamTadeusz AdamTadeusz requested a review from brysondev May 19, 2025 10:14
DESTROYGIRL
DESTROYGIRL previously approved these changes May 29, 2025
@DESTROYGIRL DESTROYGIRL requested review from a team and removed request for brysondev May 29, 2025 13:06
DESTROYGIRL
DESTROYGIRL previously approved these changes Jul 1, 2025
@Rainyan Rainyan requested a review from nullsystem July 1, 2025 15:28
@Rainyan Rainyan removed the request for review from nullsystem July 25, 2025 08:45
@AdamTadeusz
Copy link
Contributor Author

When I added the mp3 player I initially wanted the key bind that toggles it to work both in game and in the menu. As of the time of writing this comment this doesn't actually work in the menus on this branch as I removed the GetButtonCodeForBind in neo_root.cpp, therefore bcMP3Player always has the default value of KEY_NONE

image

@nullsystem rightfully pointed out that previously when bcMP3Player was set to the keybind correctly, it made the mp3 player pop up in the menus when pressing the neo_mp3 bind when inputting text into fields for example, so this branch will continue to fix that bug as well.

I'm gonna merge master and add a commit to remove all other references to bcMP3Player, and will for now be content with the keybind for neo_mp3 only working to close the mp3 player when it is in focus when in the main menu.

I should note that the bug @nullsystem pointed out also is present when the console key is pressed when a text field is in focus, toggling the console on and off when trying to enter a tilde (or whatever the console is bound to) into a text field. Once this problem is fixed perhaps the neo_mp3 keybind can benefit from it to make the mp3player keybind open the player in the main menu again when the user isn't entering text into a field

@AdamTadeusz AdamTadeusz dismissed stale reviews from sunzenshen and DESTROYGIRL via 0ffa3d4 July 25, 2025 14:29
@AdamTadeusz AdamTadeusz requested review from DESTROYGIRL, nullsystem and sunzenshen and removed request for nullsystem July 25, 2025 14:44
sunzenshen
sunzenshen previously approved these changes Jul 26, 2025
@AdamTadeusz AdamTadeusz requested a review from sunzenshen July 31, 2025 14:43
sunzenshen
sunzenshen previously approved these changes Aug 1, 2025
@AdamTadeusz AdamTadeusz marked this pull request as ready for review August 18, 2025 12:32
Copy link
Contributor

@sunzenshen sunzenshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that the Supa reload cannot be initiated while actively sprinting. That said, is it expected to drain Aux when holding down +sprint while the Supa is actively reloading?

@AdamTadeusz
Copy link
Contributor Author

Verified that the Supa reload cannot be initiated while actively sprinting. That said, is it expected to drain Aux when holding down +sprint while the Supa is actively reloading?

You are only prevented from initiating a reload while sprinting in the original, initiating a sprint after beginning a reload should allow the character to sprint, drain their aux, and continue reloading their weapon. Is this the behavior you are referring to?

@AdamTadeusz
Copy link
Contributor Author

AdamTadeusz commented Aug 20, 2025

runningReload.mp4

Tbh with a clever config you can basically achieve a running reload in og, maybe in rebuild too but haven't tried it yet

@sunzenshen
Copy link
Contributor

Verified that the Supa reload cannot be initiated while actively sprinting. That said, is it expected to drain Aux when holding down +sprint while the Supa is actively reloading?

You are only prevented from initiating a reload while sprinting in the original, initiating a sprint after beginning a reload should allow the character to sprint, drain their aux, and continue reloading their weapon. Is this the behavior you are referring to?

Ah, okay, sounds like parity to me then. 👍

@AdamTadeusz AdamTadeusz merged commit 1def20d into NeotokyoRebuild:master Aug 20, 2025
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 205_supa7sprintreloadfixclassselectinspectatefixxptospectatorsfix branch August 20, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

6 participants