Tank Ball Physics Revised Console

From Riverpedia
Jump to navigation Jump to search

The new console takes commands from 2 databases; ConsoleAPI, and TBPinternalConsole.

The interpreter always puts priority on the ConsoleAPI database before running internally stored commands.

ConsoleAPI commands can be created by 3rd party developers, so be cautious when running commands imported from mods.

How to use

To trigger the visibility of the "Console Bar" press the following sequence of keys 'Up Up Down Down Left Right Left Right B A'

To use the Revised Console, you must visit the "Experiments" page and enable the "Revised Console" experiment. If the experiment is not enabled and you attempt to use the console, you will get an error stating "Please enable the 'Revised Console' experiment to continue."

Developing for the Console

To develop for the Console, you need to have the Tank Ball Physics SDK downloaded.

Open the SDK package, and navigate to Backdrop. Find a script with the comment "Revised Console". After you find the script, you will need to add a command to the list named "ConsoleAPI", copy it's item id. Then, duplicate the sample command script provided and replace the command id with your command's id. Finally, run the script you just made and you should see it running.

If your script did NOT run, it will default back to the TBPinternalConsole list as a fallback.

3rd Party Commands

3rd parties can now add commands through mods that you install into Tank Ball Physics. Be cautious when running 3rd party scripts in Tank Ball Physics. Scripts added can access and edit your SaveData, modify the function of how some game elements work, modify how some sub-windows work and more.

Scripts that modify your SaveData have a possibility of getting you banned, only if the server detects unusual or malicious activity on your account.

Scripts that modify the way some game elements work can edit properties like the Ball Gravity, the Ball Speed, the Physics Engine, the Player Movement, and more that you can program the game to do.

Scripts that modify how some sub-windows work can change where different menus are located throughout the game, how sub-windows/notifications work and adding different menus to the game.