Skip to content

Group all "bxt_remove_" stuffs into one module, add a bunch of stuffs to it, and add "bxt_clear" #121

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

khanghugo
Copy link
Contributor

closes #114

This is mainly a port of many cvars from BXT.

I want "bxt_remove_crosshair" to remove any crosshair but it only removes sprite crosshair, which Half-Life and probably every other mods use. But I want to remove CS 1.6 crosshair and it is some OpenGL drawings.

I want "bxt_remove_vgui" to remove spectator GUI in CS 1.6 but it basically disables lots of elements in the game because many elements in the games are drawn coupled with VGUI2, LOL. BXT has similar cvar and it doesn't work really well because it disables VGUI1, not VGUI2. This cvar feels very useless but many other people might find it useful (given that they have a dedicated bxt_remove_vgui 0 because removing VGUI1/2 will disable console command).

The only way to remove CS 1.6 crosshair and spectator GUI is to inject into client code.

Anyways, the rest of other cvars are okay when used with bxt_clear. With that, people don't need to inject BXT to do green screen stuffs.

@YaLTeR YaLTeR requested a review from Copilot April 14, 2025 16:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/modules/remove_stuffs.rs:9

  • [nitpick] Consider using a more descriptive name than 'RemoveStuffs' (e.g., 'RemoveVisualElements' or 'DisplayRemoval') to more clearly indicate the module's purpose.
pub struct RemoveStuffs;

src/modules/remove_stuffs.rs:16

  • [nitpick] The description 'Removing visible stuffs from the game' could be made more precise—for example, 'Removing visual elements from the game'—to enhance clarity.
fn description(&self) -> &'static str {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port bxt_disable_* cvars from BXT
1 participant