Console Commands: различия между версиями

Материал из Metrostroi
Перейти к: навигация, поиск
м
Строка 8: Строка 8:
  
 
'''Console commands are divided into 3 groups:'''
 
'''Console commands are divided into 3 groups:'''
* '''Server-side''' - executing in server console or through RCON
+
* '''Server-side''' - Executes in the server console or through RCON
* '''Client-side''' - executing in client's consols
+
* '''Client-side''' - Executes through the client's console
* '''Chat''' - executing in chat
+
* '''Chat''' - Executes through the in-game chat
  
== Server-side commands ==
+
== Server-side Commands ==
 
{| class="wikitable" style="font-size:105%;"
 
{| class="wikitable" style="font-size:105%;"
 
! width="200"  | Command  !! width="50"  | Def. value !! Description
 
! width="200"  | Command  !! width="50"  | Def. value !! Description
Строка 34: Строка 34:
 
|metrostroi_train_requirethirdrail
 
|metrostroi_train_requirethirdrail
 
|1
 
|1
|Turning on/off necessity of third rail to power a train.
+
|Turns the requirement of train power to be supplied through 3rd rail on or off
 
|-
 
|-
 
|metrostroi_passengers_scale
 
|metrostroi_passengers_scale
 
|50
 
|50
|Amount of passengers on stations.<br>'''A very big amount causes lags and can crash a server!'''
+
|Amount of passengers on stations.<br>'''A very big amount causes lag and can crash a server!'''
 
|-
 
|-
 
|metrostroi_voltage
 
|metrostroi_voltage
 
|750
 
|750
|Changing a voltage on third rail.
+
|Changing voltage of the third rail power supply.
 
|}
 
|}
  
== Client-side commands ==
+
== Client-side Commands ==
  
To open a console, enable ''"Enable developer console"'' and press '''~''' or '''''shift + esc'''''.
+
To open the console, enable ''"Enable developer console"'' and press '''~''' or '''''shift + esc'''''.
  
 
{| class="wikitable" style="font-size:105%;"
 
{| class="wikitable" style="font-size:105%;"
Строка 54: Строка 54:
 
|metrostroi_cabfov
 
|metrostroi_cabfov
 
|75
 
|75
|Changing angle of view in cabin.
+
|Changes the field of view (in degrees) in the cabin
 
|-
 
|-
 
|metrostroi_disablecamaccel
 
|metrostroi_disablecamaccel
 
|0
 
|0
|Disabling "camera acceleration" on player.
+
|Disables "camera acceleration" on player.
 
|-
 
|-
 
|metrostroi_disablehovertext
 
|metrostroi_disablehovertext
 
|0
 
|0
|Disabling hover text above buttons and switches.
+
|Disables the hover text on buttons and switches.
 
|-
 
|-
 
|metrostroi_drawdebug
 
|metrostroi_drawdebug
 
|0
 
|0
|Enabling "Debug" mode for developers.<br>If you see green squares on train - disable debugger.
+
|Enables the "Debug" mode for developers. <br>If you see green squares on train, then disable the debugger.
 
|-
 
|-
 
|metrostroi_drawcams
 
|metrostroi_drawcams
 
|1
 
|1
|Enabling cameras in 81-722.<br>Disable if you have low FPS.
+
|Enables the CCTV cameras in the 81-722.<br>Disable if you have low FPS.
 
|-
 
|-
 
|metrostroi_language
 
|metrostroi_language
 
|""
 
|""
|Changing localization in Metrostroi
+
|Changes the localization language of Metrostroi
 
|-
 
|-
 
|metrostroi_rerail
 
|metrostroi_rerail
 
|''No value''
 
|''No value''
|Put train back on rails. ''Pointer must be looking on train.''<br>'''Not recommended to use it on corners and track switches!'''
+
|Puts train back on rails. ''Pointer must be looking on train.''<br>'''Not recommended to use it on corners and track switches!'''
 
|}
 
|}
  
== Chat commands ==
+
== Chat Commands ==
  
 
{| class="wikitable" style="font-size:105%;"
 
{| class="wikitable" style="font-size:105%;"
Строка 93: Строка 93:
 
|-
 
|-
 
|!sopps
 
|!sopps
|Open an invitation signal.<br>''Example: '''!sopps MND'''.''
+
|Opens an invitation signal.<br>''Example: '''!sopps MND'''.''
 
|-
 
|-
 
|!sclps
 
|!sclps
|Close an invitation signal.<br>''Example: '''!sclps MND'''.''
+
|Closes an invitation signal.<br>''Example: '''!sclps MND'''.''
 
|-
 
|-
 
|!sactiv
 
|!sactiv
|Enable reserve signals of automatic blocking system (autoblock).<br>''Example: '''!sactiv *''' - to enable all signals or<br>'''!sactiv 511-512''' - to enable between stations 511 and 512.''
+
|Enable backup signals of automatic blocking system (autoblock).<br>''Example: '''!sactiv *''' - to enable all signals or<br>'''!sactiv 511-512''' - to enable between stations 511 and 512.''
 
|-
 
|-
 
|!sdeactiv
 
|!sdeactiv
|Disable reserve signals of autoblock.
+
|Disable backup signals of autoblock.
 
|-
 
|-
 
|!station
 
|!station
|Teleport to station.<br>''Example: '''!station avto''' or '''!station 108''' - Teleportating to station "[[Автозаводская]]" (Avtozavodskaya).''
+
|Teleport to station.<br>''Example: '''!station avto''' or '''!station 108''' - Teleporting to station "[[Автозаводская]]" (Avtozavodskaya).''
 
|-
 
|-
 
|!trains
 
|!trains
|Outputs an information about amount of trains and wagons on server.
+
|Outputs information about the number of trains and wagons on server.
 
|}
 
|}

Версия 02:37, 27 апреля 2019

Available languages: Русский · English · 한국어



Console commands are divided into 3 groups:

  • Server-side - Executes in the server console or through RCON
  • Client-side - Executes through the client's console
  • Chat - Executes through the in-game chat

Server-side Commands

Command Def. value Description
metrostroi_current_limit 4000 Current limit on substation (А).
Recommended to set value greater than 10000!
metrostroi_maxtrains (?) Changing maximum number of trains in total.
metrostroi_maxtrains_onplayer 1 Changing maximum trains per player.
metrostroi_maxwagons 2 Changing maximum number of wagons.
metrostroi_train_requirethirdrail 1 Turns the requirement of train power to be supplied through 3rd rail on or off
metrostroi_passengers_scale 50 Amount of passengers on stations.
A very big amount causes lag and can crash a server!
metrostroi_voltage 750 Changing voltage of the third rail power supply.

Client-side Commands

To open the console, enable "Enable developer console" and press ~ or shift + esc.

Command Def. value Description
metrostroi_cabfov 75 Changes the field of view (in degrees) in the cabin
metrostroi_disablecamaccel 0 Disables "camera acceleration" on player.
metrostroi_disablehovertext 0 Disables the hover text on buttons and switches.
metrostroi_drawdebug 0 Enables the "Debug" mode for developers.
If you see green squares on train, then disable the debugger.
metrostroi_drawcams 1 Enables the CCTV cameras in the 81-722.
Disable if you have low FPS.
metrostroi_language "" Changes the localization language of Metrostroi
metrostroi_rerail No value Puts train back on rails. Pointer must be looking on train.
Not recommended to use it on corners and track switches!

Chat Commands

Command Description
!sopen Open a signal or assemble a route.
Example: !sopen MN4-2.
!sclose Close a signal or disassemble a route.
Example: !sclose MN4-2.
!sopps Opens an invitation signal.
Example: !sopps MND.
!sclps Closes an invitation signal.
Example: !sclps MND.
!sactiv Enable backup signals of automatic blocking system (autoblock).
Example: !sactiv * - to enable all signals or
!sactiv 511-512 - to enable between stations 511 and 512.
!sdeactiv Disable backup signals of autoblock.
!station Teleport to station.
Example: !station avto or !station 108 - Teleporting to station "Автозаводская" (Avtozavodskaya).
!trains Outputs information about the number of trains and wagons on server.