Open Tricks

[Open Assets] Open Tricks v1.3.5

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
Open Tricks is an extensible addon for introducing tricking mechanics into SRB2Kart.

Gameplay

During the start of each race, you will be presented a chance to select your trick style for the course. Press BRAKE (or your configured button) while rising in the air to begin a trick. When your cursor passes over the sweet-spot, release the button to perform a trick. Succeed and you can attempt more tricks until you land.

peelout-64.png

Peelout gives you a small but strong speed boost immediately after landing.

dropdash-64.png

Dropdash operates by similar rules, but shoots you straight down upon a successful trick. You have less time to perform combos, but earn a much greater reward if you manage to do so.

burst-64.png

Burst stores a number of "burst" charges for a short time. Each time you release a drift boost while you have a burst charge, you'll rocket forward.
Burst users will emit red sparks from the front of their kart when they have charges, and after using a charge will emit a trail of fire for as long as they have charges.

store-64.png

Store charges up a meter that you can spend by pressing ITEM when you have no item, granting you increased speed and acceleration.
Store users will emit blue smoke from the back of the kart when they have charge, and while using charge will emit light blue smoke and kick up dust as they move.

augment-64.png

Augment charges up a meter that passively boosts your speed for a long time. Augment charges will decay after a while, but this decay starts instantly upon taking damage or bumping into a wall (most of the time.)
Augment users will emit a trail of green light from their wheels when they have charge.

1684711271256.png

Chao spawns Chaos Drives if they are available. If they're not, it flexes on every player who isn't using Chao.

You'll probably recognize several of the styles here from Angular's Acrobatics. While these trick styles have been designed to provide similar gameplay experiences, be aware they aren't 1:1 matches due to Open Tricks's meter system being different.

Commands

otrx_button (input) will change the button you use to perform tricks. Try "otrx_button brake", "otrx_button custom1", etc., or check the bottom of LUA_OPENTRICKS_MAIN for a list of options.

otrx_ban (name), when performed by an admin, will restrict the specified trick style from use. This fails if you have already banned every other style.

otrx_unban (name), when performed by an admin, will enable the specified trick style.

Variables

otrx_x (floating point number) and otrx_y (floating point number) let you override the logic Open Tricks uses to place your trick icon on the hud. 0 is off (uses Open Tricks's default logic), 0.5 is dead center, and 1 is as far right/down as possible.

otrx_beep (floating point number) lets you specify the volume for sweet-spot audio feedback. Hate that noise? Set it to 0.

otrx_range (0 through 16), when modified by an admin, lets you determine how much range players get to hit the sweet-spot when tricking. If this is 0, Open Tricks is disabled.

otrx_spb_range (0 through 16), when modified by an admin, lets you determine how much range players get to hit the sweet-spot when tricking while being chased by an SPB. If this is 0, they simply can't perform tricks.

otrx_mul (floating point number), when modified by an admin, lets you determine how much benefit players get from Open Tricks speed boosts. (2.0 doubles all boosts, 0.5 halves them, etc.)

otrx_falling (special), when modified by an admin, lets you specify the circumstances (battle, race, encore, hell map, etc.) where players can perform tricks without jumping off a ramp or spring. There are too many options to list here, use help otrx_falling for more information.

otrx_random (special), when modified by an admin, lets you specify the circumstances (battle, race, encore, hell map, etc.) where players can perform tricks where the sweet-spot is randomized. There are too many options to list here, use help otrx_random for more information.

Developing New Styles
Use OPENTRICKS_ADD(name, hint text, "off" icon, "on" icon, banned by default?, hook to run when choice is locked in, hook to run as a thinker, hook to run on a successful trick, hook to run when landing after a trick) to add new trick styles to your server. You can review the Lua scripts inside the addon for several examples.
  • on_chao.png
    on_chao.png
    1.2 KB · Views: 127
Author
Togen
Downloads
3,535
Views
11,329
Extension type
pk3
File size
1.5 MB
MD5 Hash
e20d7c5385c7a537a315889a078da681
First release
Last update

More resources from Togen

Share this resource

Latest updates

  1. Mo tricks, mo problems

    Fixed a Store/Dropdash-specific bug that would cause spectators to break tricking, even after...
  2. Spectator? I barely know 'er!

    Fixed an error where a player could make others unable to trick by swapping to spectator.
  3. Princess Jane has no new tricks

    Update to fix an issue with the trick menu crashing games when certain styles were banned, and...

Latest reviews

Honestly a fantastic addition to Kart gameplay. It reminds me of Acrobatics, but there's a lot of extra stuff to it. It's super gratifying to chain together multiple tricks and gaining a lot of speed from it, or gaining a lot of resources for your on-demand boost or making your kart absurdly fast.
Wonderful work, Welcome Aboard!
Upvote 1
Back
Top