Commands: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
(Created page with "Commands can be executed either in the in-game console, or by replacing <code>sm_</code> with <code>!</code> or <code>/</code> and typing the command into chat. {| class="wik...")
 
m (12 revisions imported: Importing pages from old wiki)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Commands can be executed either in the in-game console, or by replacing <code>sm_</code> with <code>!</code> or <code>/</code> and typing the command into chat.
Commands can be executed either in the in-game console, or by replacing <code>sm_</code> with <code>!</code> (for all players to see) or <code>/</code> (hidden from public) and typing the command into chat.


{| class="wikitable"
{| class="wikitable"
Line 5: Line 5:
! Command !! Description
! Command !! Description
|-
|-
| <code>sm_fortressblast</code> || Opens the Fortress Blast manual in the user's HTML MOTD. The manual is designed to assist players in quickly learning how Fortress Blast works without overwhelming them with information.
| <code>[[sm_fortressblast]]</code> || Opens the {{link|manual}} in the user's HTML MOTD. The manual is designed to assist players in quickly learning how Fortress Blast works without overwhelming them with information. If using this command as an administrator, passing the parameter `force` will show the introductory message for all players instantaneously.
|-
|-
| <code>sm_setpowerup <string> <#></code> || Sets a player's powerup by ID number. The string can either be all or part of a player's name, or one of the following tags: @me, @aim, @all, @red, @blue, @humans or @bots.
| <code>[[sm_coordsjson]]</code> || Prints the map coordinates at the crosshair to chat in a format that can easily be copied into a [[Custom powerup spawns|.json file]].
|-
| <code>[[sm_respawnpowerups]]</code> || Removes all [[powerups]] from the map and respawns them at any appropriate [[powerup spawns]]. Can only be used by server administrators.
|-
| <code>[[sm_setpowerup]] <name> <-1 or 1-{{powerups}}></code> || Sets a player's powerup by ID number. Can only be used by server administrators unless the [[ConVars|ConVar]] <code>[[sm_fortressblast_debug]]</code> is set to 1. The name specified can be all or part of a player's name, or one of the following tags: @me, @aim (player at crosshair), @all, @red, @blue, @humans or @bots. The name of the client can be omitted if self-applying a powerup.
|-
| <code>[[sm_spawnpowerup]] <-1 or 1-{{powerups}}></code> || Places a powerup by ID number at where the player's crosshair is pointing. Can only be used by server administrators.
|}
|}

Latest revision as of 21:22, 6 June 2023

Commands can be executed either in the in-game console, or by replacing sm_ with ! (for all players to see) or / (hidden from public) and typing the command into chat.

Command Description
sm_fortressblast Opens the Monochrome book.svg player manual in the user's HTML MOTD. The manual is designed to assist players in quickly learning how Fortress Blast works without overwhelming them with information. If using this command as an administrator, passing the parameter `force` will show the introductory message for all players instantaneously.
sm_coordsjson Prints the map coordinates at the crosshair to chat in a format that can easily be copied into a .json file.
sm_respawnpowerups Removes all powerups from the map and respawns them at any appropriate powerup spawns. Can only be used by server administrators.
sm_setpowerup <name> <-1 or 1-17> Sets a player's powerup by ID number. Can only be used by server administrators unless the ConVar sm_fortressblast_debug is set to 1. The name specified can be all or part of a player's name, or one of the following tags: @me, @aim (player at crosshair), @all, @red, @blue, @humans or @bots. The name of the client can be omitted if self-applying a powerup.
sm_spawnpowerup <-1 or 1-17> Places a powerup by ID number at where the player's crosshair is pointing. Can only be used by server administrators.