This guide covers how to create tricks for the tricksurf gamemode.
Disclaimer: Creating tricks and tricksurf as a whole is in the initial phase of implementation, meaning that later on in development there will be UI for most of the actions required for creating tricks.
To follow this guide you should:
- Know the basics of using the zoning tools (see the guide on basic zoning)
- Be on Momentum 0.8.6+
- Be running Momentum in mapping mode via the
- Have the developer console enabled and be able to use it
Use the zoning menu accessed via
mom_zone_showmenu to create trick zones all around the map.
Use the tricks zone type:
These zones will be used later to record (create) tricks.
Upon saving the zones, a file is created inside the
momentum/zones/ folder with the map’s name (
Once the zones are created, you are ready to record tricks involving them using
Tricks themselves are simply paths of zones to hit.
After you’ve done your trick and are in your last trick zone, you can use
mom_tricks_record_stop <trickname> to record the trick.
The name of the trick is passed into this command as a parameter.
mom_tricks_record_stop "My cool trick :)".
You can edit this trick via the tricks file (
Tricks by default have a start speed constraint, but you can just remove that from the keyvalues if you don’t want it.
Creating Map Teleports
You can make map teleports by using
mom_tricks_map_tele_create <name> and use the UI to teleport to them.
Alternatively, bind a key to
mom_tricks_map_tele <num>, where
num is the number of the map teleport in the UI.
Tricks can be tracked (selected) through the UI or the command
To teleport to the start of tricks, use
In both cases,
id refers to the ID of the trick, which corresponds to the listed order of them in the UI.
The trick UI replaces the scoreboard for tricksurf, accessed via TAB by default.
Currently the UI is only used to teleport to map zones and track tricks. In the future, recording tricks, creating map teleports, and sharing tricks are planned to be done through the UI.
For now, sharing tricks will have to be done by directly sharing your
<mapname>.tricks files with others.