Список клиентских команд

From Vintage Story Wiki
Revision as of 08:34, 23 January 2021 by Zybillo (talk | contribs) (Created page with "Список клиентских команд")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Commands offer advanced features and configuration abilities for your game. There are really 2 lists of commands - Client and Server. The client is what displays your game on the screen, plays the sounds, takes in your controls and lets you connect to a game server (single or multiplayer). Client commands are those that usually just affect the appearance of your game, while server commands allows you to modify the world or configuration of the game.

All commands are typed in the chat window in order to execute them. A client command always starts with a dot (.), while a server command always starts with a slash (/).

Here is a list of the most useful ones. See the temporarily attached full list from 1.5.1.4 at the bottom of the page. You can use .help [command] to see its help.

Client Commands

.cam

  • .cam [p|rp|cp|up|goto|start|loop|stop|clear|load|save|alpha|tp]
    Система инструментов для кинематографической камеры.
    • .cam p
      Добавляет текущее местоположение в список мест для посещения.
    • .cam rp
      Удаляет последнюю добавленную точку.
    • .cam cp
      "Закрыть путь". Соединяет путь с первой позицией в списке.

Полезно в сочетании с .cam loop для создания циклического пути камеры.

    • .cam up [num]
      Обновить положение и угол обзора точки num до текущего местоположения.
    • .cam goto [num]
      Перейти к точке номер с помощью телепорта.
    • .cam clear
      Очищает список всех точек.
    • .cam start [time]
      Запускает кинематографическую камеру, камера завершит путь за заданное количество секунд.
    • .cam rec [real seconds] [video seconds]
      Путь воспроизведения и запись в файл .avi.
    • .cam stop
      Останавливает кинематографическую камеру.
    • .cam save
      Экспортирует текущий список точек в ваш буфер обмена, который затем вы можете вставить в любой текстовый редактор.
    • .cam load [data]
      Импортируйте предоставленный список точек.
    • .cam tp [0 or 1]
      Переключает, следует ли телепортировать вас обратно в ваше предыдущее положение после завершения перемещения камеры.
    • .cam alpha [0..1]
      Изменяет плавность прохождения точек камерой.
    • .cam gui [0 or 1]
      Отключить/включить маскировку на время записи (по умолчанию включено).


.clearchat

  • .clearchat
    Clears your chat history.

.clientconfig

  • .clientconfig [parameterName] [parameterValue]
    Changes client configuration at runtime. It can change any value in the clientsettings.json file. parametername may seem like subcommands, but is actually a dynamic list of options. This means that mods can change the list of options.
    • floatyGuis [1|0]
      Enables/disables the experimental feature where chest dialogs float above the chests
    • showentitydebuginfo [0|1]
      Displays arbitrary debug information above entities
      May require corresponding server command /entity debug 1
    • ssaa [0.5|2]
      Controls Screen Space Anti-Aliasing. 0.5 value enables 0.5x Sampling rate and may give a performance gain at the cost of reduced graphics quality for low end hardware. 2 value enables 2-4x Sampling rate.
    • gammaLevel [level]
      Allows to set gamma level in survival mode. Value 1 is the default 100%, 1.5 is brighter.


.debug

  • .debug wireframe chunk
    Shows chunk borders. [List of server commands/debug] also exists. Use .help debug for more info on debug commands. Running .debug wireframe will give some help info.

.reload

  • .reload shapes
    Reloads all JSON models from assets/blockshapes. Can be used to quickly test new block shapes.
    Notice: The chunks are not redrawn, so you'd have to force a redraw e.g. by placing and removing a block.
    • .reload textures
      Reloads all textures from assets/textures. Can be used to quickly test texture changes.

.viewdistance

  • .viewdistance
    Sets the viewing distance. Same as setting the view distance in the graphics settings but with no upper limit. For viewing distances above 1000 blocks you also have to set the .zfar value above that.

.zfar

  • .zfar [value]
    Sets the clipping plane distance, everything beyond given value is no longer visible (default value is 1000). Very high values will cause Z-fighting.

Not fully documented yet

.blockitempngexport - Export all items and blocks as png images
.cam - Cinematic camera tools
.cdensity - Set large and small cloud density
.cdensitylarge - Set large cloud density
.cdensitysmall - Set small cloud density
.chatsize - Set the chat dialog width and height (default 400x160)
.clearchat - Clear all chat history
.client+ - Client+ configuration command.
.clientconfig - Set/Gets a client setting
.clients - List of connected players
.clight - Set Cloud lightness
.cp - Copy something to your clipboard
.crand - Set large and small cloud noise.
.cviewdist - Sets the cloud view distance. Will be reset when view distance in graphics settings are changed.
.debug - Debug utilities
.edi - Show/Hide Exented information on debug screen, e.g. block lighting.
.fbdeb - Toggle Framebuffer/WOIT Debug mode
.fountain - Toggle Particle fountain
.freemove - Toggle Freemove
.gencraftjson - Copies a snippet of json from your currently held item usable as a crafting recipe ingredient
.gui - Hide/Show all GUIs
.help - Display list of availble client commands
.lockfly - Locks a movement axis during flying/swimming
.logticks - Toggle Tick profiling. Won't log ticks below the thresholf.
.moon - Prints the current moon phase.
.movespeed - Set Movespeed
.music - Shows current music track
.netbenchmark - Toggles network benchmarking
.noclip - Toggle noclip
.online - Prints list of online players.
.pastemode - Set the chats paste mode. If set to multi pasting multiple lines will produce multiple chat lines.
.recomposechat - Recompose chat dialogs
.reconnect - Reconnect to server
.reload - Asseted reloading utility. Incase of shape reload will also Re-tesselate. Incase of textures will regenerate the texture atlasses.
.resolution - Sets the screen size to given width and height
.serverinfo - Display information about server info
.spawndecal - Spawn a decal at position
.tfedit - Opens the Transform Editor
.time - Read local game time or speed
.viewdistance - Set view distance
.vrec - Video Recorder Tools
.we - World edit toolbar
.zfar - Sets the zfar clipping plane. Useful when up the limit of 1km view distance.