|
|
(33 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| Remember Tool Assisted Freeruns? ( ͡• ͜ʖ ͡•)<syntaxhighlight lang="c++">
| | {{Infobox user|image=Taroman.png|known_for=mkwtas.com|country=fr|youtube=boumi21du21|discord=boumi21}} |
| // This is run once every frame generically
| |
| void Kart::KartMove::tryEndJumpPad() {
| |
| KartState *state = mAccessor->getState();
| |
| // Check to see if the flag for mushroom-specific jump pads is set
| |
| if (state->mFlags & JUMP_PAD_MUSHROOM_TRIGGER) {
| |
| // If so, check to see if we just landed on the ground
| |
| if (state->mFlags & GROUND_START) {
| |
| // Unset the mushroom-specific jump pad flag
| |
| state->mFlags &= ~JUMP_PAD_MUSHROOM_TRIGGER;
| |
| // The game falsely assumes that JUMP_PAD_FIXED_SPEED can only be set if the mushroom trigger is set
| |
| // As we see above, this is not always the case, leading to the offroad glitch
| |
| // Unset the fixed speed flag here and only here
| |
| state->mFlags &= ~JUMP_PAD_FIXED_SPEED;
| |
| // ...
| |
| }
| |
| // ...
| |
| }
| |
|
| |
|
| // Check to see if we just landed on the ground and that the mushroom-specific jump pad flag is not set
| | Remember Tool Assisted Freeruns? (. 👁️ ͜ʖ 👁️ .) |
| if (state->mFlags & GROUND_START !(state->mFlags & JUMP_PAD_MUSHROOM_TRIGGER)) {
| | |
| // ...
| | In 2015, I was making weird Tool-Assisted Freeruns edits on YouTube. Ten years later, I have mostly stepped away from the MKWii tool-assisted scene but continue to help in my own way when I'm not lazy. |
| // Unset the flag for jump pads
| | |
| state->mFlags &= ~JUMP_PAD;
| | Maintainer of '''''this wiki''''' and everything under https://mkwtas.com/. |
| }
| | |
| }
| | |
| </syntaxhighlight>{{Infobox test|player_name=Boumi|nationality=French|years_active=2013 - 2018}}{{Video Embed|service=youtube|url=https://youtu.be/rwVL6NjQNwY|align=right}}
| | |
| | {{Video Embed|service=youtube|url=https://youtu.be/nd8RD3tjNQE?si=ufX2CSVYlOJZvAa_}} |