file Console Commands

  • Kalle29
  • Kalle29's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • I blame ping for losing
More
06 Apr 2018 18:01 - 06 Apr 2018 18:06 #1 by Kalle29
Console Commands was created by Kalle29
Here are some useful commands you can put in the console. The console is opened by pressing the tilde (~) button on a standard English keyboard, but it could be different if you use another language standard. It tends to be the button below Esc however.

If your marble reflects the sky:
$pref::environmentMaps=0;

To check what your FPS is:
metrics(fps);

To play a .rec:
playDemo("marble/client/demos/name.rec");
OR
playdemo(findfirstfile("name.rec"));
OR
playnextDemo();

Note: Demos play automatically if you leave the start menu up for 10-15 seconds; they are played in reverse alphabetical order. This doesn't seem to work properly on all versions of MBG however so you may have to use one of the commands.

To check the elapsed time of a .rec:
echo(playgui.elapsedtime);

You can also check the final time after the .rec has finished and sent you back to the level select menu.

defaultmarble.gravity=X;
defaultmarble.jumpimpulse=X;

Replace the X with a number to change your gravity/jump height. 20 is standard gravity and negative numbers work. Standard jump impulse is 7.5.

$testcheats=1;

press F11 afterwards to open the Level Editor

༼ ͡◕ ͜ ʖ ͡◕༽ You have been visited by the Nivea™ Donger of moisture. Soft skin and good fortune will come to you, but only if you post "thank you Mr. Skeltal" in this thread ༼ ͡◕ ͜ ʖ ͡◕༽
Last edit: 06 Apr 2018 18:06 by Kalle29.
The following user(s) said Thank You: eNetro, DukeofLeet

Please Log in or Create an account to join the conversation.

More
06 Apr 2018 19:08 #2 by DukeofLeet
Replied by DukeofLeet on topic Console Commands
thank you Mr. Skeltal

Please Log in or Create an account to join the conversation.

Moderators: Kalle29AayrlRegislian