Skip to content

Conversation

@garrettjoecox
Copy link
Contributor

@garrettjoecox garrettjoecox commented Jan 6, 2026

requested feature from holiday build

Build Artifacts

@garrettjoecox
Copy link
Contributor Author

@aMannus should this be forced on for CC?

@aMannus
Copy link
Contributor

aMannus commented Jan 6, 2026

I don't think it should be on by default when CC is on. Could become a timed effect in the future but that needs an update on CC's side too.

[]() {
COND_HOOK(OnPlayerUpdate, CVAR_BOUNCE_OFF_WALLS_VALUE, []() {
Player* player = GET_PLAYER(gPlayState);
if (player->actor.bgCheckFlags & 0x08 && ABS(player->linearVelocity) > 15.0f) {
Copy link
Contributor

@serprex serprex Jan 6, 2026

Choose a reason for hiding this comment

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

Suggested change
if (player->actor.bgCheckFlags & 0x08 && ABS(player->linearVelocity) > 15.0f) {
if ((player->actor.bgCheckFlags & 0x08) && ABS(player->linearVelocity) > 15.0f) {

(not semantically necessary)

@serprex
Copy link
Contributor

serprex commented Jan 6, 2026

what's the easiest way to observe this feature in vanilla gameplay? didn't trigger it doing hoverboost into wall, or being pushed into wall by moblin

@garrettjoecox
Copy link
Contributor Author

what's the easiest way to observe this feature in vanilla gameplay? didn't trigger it doing hoverboost into wall, or being pushed into wall by moblin

Stand near a wall with your back to it, then in the dev console you can type knockback 5

@serprex
Copy link
Contributor

serprex commented Jan 6, 2026

doesn't seem to work for me, tried against lon lon tower, on/off Link just goes flying against wall

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.

3 participants