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

Материал из Metrostroi
Перейти к: навигация, поиск
м (→‎Server-side commands: Wiki bigged: "metrostroi" words had been deleted. Recovered)
м (→‎Client-side commands: Same as previous article)
Строка 51: Строка 51:
 
! width="200"  | Command  !! width="50"  | Def. value !! Description
 
! width="200"  | Command  !! width="50"  | Def. value !! Description
 
|-
 
|-
|_cabfov
+
|metrostroi_cabfov
 
|75
 
|75
 
|Changing angle of view in cabin.
 
|Changing angle of view in cabin.
 
|-
 
|-
|_disablecamaccel
+
|metrostroi_disablecamaccel
 
|0
 
|0
 
|Disabling "camera acceleration" on player.
 
|Disabling "camera acceleration" on player.
 
|-
 
|-
|_disablehovertext
+
|metrostroi_disablehovertext
 
|0
 
|0
 
|Disabling hover text above buttons and switches.
 
|Disabling hover text above buttons and switches.
 
|-
 
|-
|_drawdebug
+
|metrostroi_drawdebug
 
|0
 
|0
 
|Enabling "Debug" mode for developers.<br>If you see green squares on train - disable debugger.
 
|Enabling "Debug" mode for developers.<br>If you see green squares on train - disable debugger.
 
|-
 
|-
|_drawcams
+
|metrostroi_drawcams
 
|1
 
|1
 
|Enabling cameras in 81-722.<br>Disable if you have low FPS.
 
|Enabling cameras in 81-722.<br>Disable if you have low FPS.
 
|-
 
|-
|_language
+
|metrostroi_language
 
|""
 
|""
|Changing localization in  
+
|Changing localization in 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!'''
 
|Put train back on rails. ''Pointer must be looking on train.''<br>'''Not recommended to use it on corners and track switches!'''

Версия 20:30, 27 ноября 2017

Available languages: Русский · English



Console commands are divided into 3 groups:

  • Server-side - executing in server console or through RCON
  • Client-side - executing in client's consols
  • Chat - executing in 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 Turning on/off necessity of third rail to power a train.
metrostroi_passengers_scale 50 Amount of passengers on stations.
A very big amount causes lags and can crash a server!
metrostroi_voltage 750 Changing a voltage on third rail.

Client-side commands

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

Command Def. value Description
metrostroi_cabfov 75 Changing angle of view in cabin.
metrostroi_disablecamaccel 0 Disabling "camera acceleration" on player.
metrostroi_disablehovertext 0 Disabling hover text above buttons and switches.
metrostroi_drawdebug 0 Enabling "Debug" mode for developers.
If you see green squares on train - disable debugger.
metrostroi_drawcams 1 Enabling cameras in 81-722.
Disable if you have low FPS.
metrostroi_language "" Changing localization in Metrostroi
metrostroi_rerail No value Put 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 Open an invitation signal.
Example: !sopps MND.
!sclps Close an invitation signal.
Example: !sclps MND.
!sactiv Enable reserve 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 reserve signals of autoblock.
!station Teleport to station.
Example: !station avto or !station 108 - Teleportating to station "Автозаводская" (Avtozavodskaya).
!trains Outputs an information about amount of trains and wagons on server.