Skip to content
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

Add viewmodel sway #64

Merged
merged 1 commit into from
Jul 15, 2023
Merged

Add viewmodel sway #64

merged 1 commit into from
Jul 15, 2023

Conversation

khanghugo
Copy link
Contributor

@khanghugo khanghugo commented Apr 29, 2023

Naming might be subjected to changes depending on uncool factors.

Name is changed. Only 6% less cool.

@khanghugo khanghugo changed the title Add bxt_cool_bob Add viewmodel sway May 9, 2023
src/hooks/engine.rs Outdated Show resolved Hide resolved
src/hooks/engine.rs Outdated Show resolved Hide resolved
src/hooks/engine.rs Outdated Show resolved Hide resolved
src/hooks/engine.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
Comment on lines +40 to +57
static BXT_VIEWMODEL_SWAY_MAX: CVar = CVar::new(
b"bxt_viewmodel_sway_max\0",
b"100\0",
"\
Max of sway.",
);

static BXT_VIEWMODEL_SWAY_RATE: CVar = CVar::new(
b"bxt_viewmodel_sway_rate\0",
b"0.02\0",
"\
Rate of sway.",
);
Copy link
Owner

Choose a reason for hiding this comment

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

Are these actually needed? Like, why not just hardcode the numbers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These numbers could be adjusted to taste. I find this configuration good for myself but then the surf channel guy does a little less sway (and no sway in foreseeable future because community poll is against anything other than static USP model).

src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Outdated Show resolved Hide resolved
src/modules/viewmodel_sway.rs Show resolved Hide resolved
@YaLTeR YaLTeR merged commit caa7c6a into YaLTeR:master Jul 15, 2023
2 of 13 checks passed
@YaLTeR
Copy link
Owner

YaLTeR commented Jul 15, 2023

Thanks

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.

None yet

2 participants