Skip to content

Commands

AfterAStorm edited this page Jan 25, 2026 · 7 revisions

Overview

Commands are a way to communicate with the script to change settings such as speed, and enacting actions such as walking.

To run a command, go to the programmable block in the terminal, change the Argument, and press Run.

Syntax

Commands follow the format command argument, when [brackets] specify an optional argument and <lesser/greater> signs are required arguments.

For any command that involves changing settings with numbers e.g. [value], you can set, add, or subtract a number from it.

  • To set a value, use =<number>, such as: stepspeed =3
  • To add a value, use +<number>, such as: stepspeed +3
  • To subtract a value, use -<number>, such as: stepspeed -3

For any command that involves [toggle], being a boolean (true/false):

  • To toggle, use toggle or leave it blank
  • To toggle on, use on or true
  • To toggle off, use off or false

For any command that involves [group toggle]:

  • It's specified as either:
    • [id] [action]
      • e.g.: legs all toggle, legs 1 off, arms 2 on, etc.
    • [action]
      • e.g.: arms off, legs on, arms toggle, etc.

Truly, it's: {command} [id/action] [action]

Any argument not stated here will be explained in the command's description.

Command List

Setup & Utilities

  • apply
    • Applies any settings changed with commands to the configurations, good for adjusting settings and locking them in
  • setup [toggle]
    • Toggle setup mode; basically like running "reload" constantly with the side effect of being more performance heavy
  • reload
    • Reload all the blocks and their associated configurations
    • NOTE: This is REQUIRED for leg/arm custom data configurations to take effect; alternatively use setup mode

    • NOTE: For the programmable block's custom data, a reload or recompile is required; alternatively use setup mode

  • autorename [placeholder]
  • autotag
    • Finds all blocks based on cockpit's position (relative to the cockpit's forward/backwards)
    • NOTE: Doesn't support strafe/turn joints

  • autotype <type>
    • Automatically retype all legs, want to switch to Chicken walker? Use autotype 2

Movement

  • walk [toggle] [forwards/backwards]
    • Toggle walk override, if no argument is provided, it will toggle between walking forwards and halting
    • This is the most confusing semantically, e.g.:
      • walk toggles between forward/halt
      • walk toggle is the same as above
      • walk toggle forwards is the same as above
      • walk toggle backwards toggles between backward/halt
      • walk forwards walks forwards (no halt!)
      • walk backwards walks backwards
  • halt
    • Stops all walking, same as walk halt | turn halt | strafe halt
  • crouch [toggle]
    • Toggle crouch
  • turn [value]
    • Change turn override
    • Value can be any of:
      • left go left
      • right go right
      • halt stop
      • {number} set a turn override manually, e.g. turn =1 or turn +0.5
  • strafe [value]
    • Change strafe override
    • Value can be any of:
      • left go left
      • right go right
      • halt stop
  • thrusters [toggle]
    • Toggle thrusters
  • vtol [toggle]
    • Toggle thruster vtol mode
  • hover [toggle]
    • Toggle thruster mode, default toggles between Override and Hover, otherwise, on is hover, off is override

Joints & Arms

  • twist [degrees]
    • Set the torso twist rotors to go to the degrees specified 0 to 360, by default 0 if no value is provided
    • This also follows the [value] standard, so ex: twist =0 to zero, twist +5 to add 5 to the current rotation
    • Additive/subtractive rotations are based on the current twist(s) average rotation, not the current target rotation
  • armsreset
    • Reset (enabled) arms to their default zeros
  • arms [group toggle]
    • Toggle arm control
    • See Syntax for group toggle options
  • legs [group toggle]
    • Toggle leg control
    • See Syntax for group toggle options
  • stabilization [toggle]
    • Toggle stabilization control
  • magnets [toggle]
    • Toggle magnets

Settings

  • stepspeed [value]
    • Change walk speed
  • crouchspeed [value]
    • Change crouch speed
  • standingdistance [value]
    • Change standing distance -- leg specific
  • standingheight [value]
    • Change standing height -- multiplier for how far the legs reach down
  • steplength [value]
    • Change step length -- how far the feet will travel
  • stepheight [value]
    • Change step height -- how far the feet lift off the ground
  • croucheight [value]
    • Change crouch height -- how far the mech crouches
  • strafelength [value]
    • Change strafe length -- how far the mech strafes, like step length
  • standinglean [value]
    • Change standing lean -- how far the foot "leans" forward/back
  • standingwidth [value]
    • Change standing lean -- how far the foot "leans" left/right
  • autohalt [toggle]
    • Toggle autohalt -- when true, mech will slow down when no movement is being held; when false, no such throttle "decay" is had

Miscellaneous

  • limp [toggle]
    • Turn off rotors and other leg blocks for a limp effect

Clone this wiki locally