Cómo utilizar Worldedit

From Vintage Story Wiki
This page is a translated version of the page How to use WorldEdit and the translation is 33% complete.
Other languages:

This page was last verified for Vintage Story version 1.15.


World Edit es un conjunto de herramientas para Vintage Story que ofrece potentes herramientas para pintar tridimensionalmente con bloques. El conjunto de herramientas está disponible mediante comandos textuales, pero también puede controlarse en gran medida a través de una interfaz gráfica invocada por defecto mediante la tecla Tilde.

Vídeo de introducción


Interfaz gráfica

La interfaz gráfica se activa con la tecla tilde (`), está encima de la tecla Tabulador. Si no funciona, comprueba los controles de tu teclado en la configuración. Tienes que estar en modo creativo para utilizarlo.

Esta interfaz de usuario utiliza las mismas funciones que los comandos de edición de mundos (literalmente, sólo envía comandos de edición de mundos al servidor), sin embargo, aún no admite todos los comandos, por ejemplo, la selección y modificación de áreas aún no se ha añadido a la interfaz de usuario.

Además, las ventanas de configuración de la derecha permiten algunos ajustes adicionales, algunos de los cuales no están disponibles a través de worldedit.

Worldeditgui.png

Interfaz de la consola

Algunos comandos permiten introducir números decimales, por lo que es posible que deba utilizar una coma (,) en lugar de un punto (.) para introducirlos.

Sugerencia
- Cualquier comando o secuencia de comandos puede asignarse a una tecla del teclado mediante el gestor de macros, que puede abrirse con la tecla de acceso rápido CTRL+M
- Existen dos métodos para importar esquemas en el juego: mediante los "comandos principales de edición del mundo" y a través de la herramienta de importación.
  • .movespeed [dec. number]
    Permite controlar con precisión la velocidad de movimiento.
     
  • .lockfly [0-3]
    Bloquea un movimiento eje mientras vuelas. Esto se puede utilizar, por ejemplo, para flotar sobre el suelo a una altura fija utilizando .lockfly 2
    0 = Sin bloqueo
    1 = Bloqueo del eje X
    2 = Bloqueo del eje Y
    3 = Bloqueo del eje Z
     
  • .liquidselectable 
    Activa/desactiva la posibilidad de seleccionar líquidos como cualquier otro bloque.

Rango de ajuste

  • /we range [dec. number]
    Establece la distancia a la que tu personaje puede colocar o quitar bloques (por defecto es 4,5).
    Es posible que desees establecerlo en 99 o similar para poder dibujar desde lejos.

Vista previa de la selección de bloques

  • /we hp
    Oculta la vista previa de la selección de bloques utilizada por /we ms+me, el pincel y la herramienta de importación.
     
  • /we sp
    Vuelve a mostrar la vista previa de la selección de bloques (por defecto)

Deshacer / Rehacer

  • /we undo
    Deshace la última operación de pincel, relleno o borrado. Añade un número para deshacer varios pasos a la vez.
  • /we redo
    Rehace la última operación de pincel, relleno o borrado. Añade un número para rehacer varios pasos a la vez.

Seleccionar, Importar, Exportar, Borrar, Rellenar

  • /we ms
    Marks your current position as the start point ("mark start")
  • /we me
    Marks your current position as the end point ("mark end")
  • /we mc
    Un-Mark start and end position ("mark clear")
  • /we mex [filename]
    Exports the area defined by the start and end point as json file in the vintage story data folder ("marked export")
  • /we mexc [filename]
    Exports the area defined by the start and end point, sends it as json file to the game client and stores in the vintage story data folder. This is useful when working on a dedicated server. Functions identically to /we mex when in single player.
  • /we imp [filename] [origin]
    Imports supplied json file at the defined start point. If the origin parameter is supplied with
    • 0 = Uses the start point as the bottom left front corner point (default)
    • 1 = Uses the start point as the bottom center point
    • 2 = Uses the start point as the top center point
  • /we impr [0, 90, 180 or 270]
    When importing block data using /we imp the imported block data will first be rotated by given angle.
  • /we impflip
    When importing block data using /we imp the imported block data will first be vertically flipped
  • /we impres [on|off]
    Import item/block resolving mode. Turn it off to spawn structures as they are. For example, in this mode, instead of traders, their meta spawners will spawn
  • /we mfill
    Fills the marked area defined by the start and end point with the block in your currently selected hotbar slot ("marked fill")
  • /we mclear
    Clears the marked area defined by the start and end point ("marked clear")
  • /we mcopy
    Copies the marked area.
  • /we mpaste
    Pastes the previously copied area to the defined start point.
  • /we mm[u,d,n,e,s,w] [length]
    Moves the contents inside marked area in given direction by given length (default 1). Examples:
    /we mmu - Moves the marked area up by 1 block
    /we mms 5 - Moves the marked area south by 5 blocks
  • /we mmby [x] [y] [z]
    Moves the contents inside marked area by given x/y/z length. Example:
    /we mmby 5 1 -2 - Moves the marked area 5 blocks in x-direction, 1 block up and -2 blocks in z-direction
  • /we mr [90|180|270]
    Rotates the contents inside marked area by given angle.
  • /we clear [width&length] [height]
    Deletes all blocks inside a cuboid around the player, delimited by supplied size arguments
  • /we sm[n/e/s/w/u/d] [length]
    Moves only the selection and not the contents of the marked area. Example:
    /we smn 5 - Moves the current selection 5 blocks north

  • /we smby x y z
    Moves only the selection and not the contents of the marked area. Example:
    /we 3 1 -2 - Moves the current selection 3 blocks in x-direction, 1 block in y-direction and -2 blocks in z-direction
  • /we block
    Places a block under your feet. Uses the block actively selected in your hotbar.
  • /we sovp [0-1]
    Disable/Enable server overload protection. This protection prevents certain actions that are likely to kill the server, so it is not recommended to turn it off.
  • /we g[u,d,n,e,s,w] [length]
    Grows or shrinks the current selection by a given length (default 1). If length is a positive number, the selection will be grown, otherwise it will be shrunk. Examples:
    /we gu - Grows the selection up by 1 block
    /we gn -3 - Shrinks the selection from the north side by 3 blocks
  • /we mmir[u,d,n,e,s,w] [|gn|sn]
    Mirrors the marked area in given direction. If the second parameter is set, the current marked area will be modified to select the newly created area (sn) to to grow the selection to include both the old and new area (gn). Examples:
    /we mmire - Mirrors the marked area to direction east
    /wemmiru sn - Mirrors the marked area to direction up and will select the mark placed blocks.
  • /we mrep[u,d,n,e,s,w] [count] [|gn|sn]
    Repeats (copies) the marked area in given direction for count times (default 1). If the third parameter is set, the current marked area will be modified to select the newly created area (sn) to to grow the selection to include both the old and new area (gn). Examples:
    /we mreps - Repeats the marked area once to direction south
    /we mrepu 5 - Repeats the marked area 5 times to direction up
    /we mrepw 1 sn - Repeats the marked area once to direction south and will mark the newly placed blocks.

Console interface - Tools

  • /we on
    Enables the use of tools. This causes additional blocks to be placed/removed when you place/remove blocks with your mouse
     
  • /we off
    Disables the use of tools. You can normally place/remove single blocks again
     
  • /we t [0-7 or first letter]
    Select a tool
    • 0 = Paint Brush Tool: For placing balls/cubes/cylinders of blocks
    • 1 = Raise and Lower tool: For raising or lowering terrain
    • 2 = Air Brush Tool: For placing scattered bunches of blocks on the surface
    • 3 = Erode Tool: To even out terrain
    • 4 = Import Tool: Import previously exported block data at the currently targeted block
    • 5 = Eraser Tool: Same as Paint Brush but for removing blocks
    • 6 = Grow/Shrink Tool: Grows/Shrinks all blocks in a selected area of blocks in all directions
    • 7 = Line Tool: Draws lines of blocks
    • 8 = Lake Tool: Flood fill a single layer with selected block
    • 9 = TreeGen Tool: Places a randomly generated tree using the engines procedural tree generator
       
  • /we tom [0-1]
    Sets the Tools Offset Mode. Affected tools: Paint Brush and Eraser
    • 0 = Center: The blocks to be drawn are centered around your selected position
    • 1 = Attach: To blocks to be drawn are offseted so they will all be drawn right besides your selected block
       
  • For all tools that allow defining a radius using /we tr you can use the commands /we tgr and /we tsr to grow or shrink the radius by a value of 1


Each tool has it's own set of commands to configure it. The tool has to be selected in order to be able to configure it.

Paint Brush Tool

Paintbrush.png

Left mouse click: No effect
Right mouse click: Places blocks in given shape of currently selected block in your hotbar

  • /we tr (dec. number) [dec. number] [dec. number]
    Sets the radius or length in x, y and z direction. The 2nd and 3d value is optional.
     
  • /we tm [0-4]
    Sets the paint brushes mode
    • 0 = Fill: Places a ball of blocks ignoring anything previously placed
    • 1 = Replace Non Air: Replaces only existing blocks
    • 2 = Replace Air: Does not replace any existing blocks
    • 3 = Replace Selected: Replaces only the currently targeted block type
       
  • /we tdl [0-4]
    Sets the paint bush depth replacement limit
    • 0 = Replace everything within the full brush dimensions
    • 1 - 4 = Replace only the top 1-4 layers
  • /we tcr (dec. number) [dec. number] [dec. number]
    Sets the cutout radius or length in x, y and z direction. The 2nd and 3d value is optional. Setting this radius to 0 gives you a normal brush, setting it to a non-zero value lets you create hollow shapes.
  • /we ts [0-8]
    Sets the paint brushes shape
    • 0 = Ball / Ellipsoid
    • 1 = Cube / Cuboid
    • 2 = Cylinder / Elliptic Cylinder
    • 3 = Half Ball Up
    • 4 = Half Ball Down
    • 5 = Half Ball North
    • 6 = Half Ball East
    • 7 = Half Ball South
    • 8 = Half Ball West

Raise and Lower Tool

Raiselower.png

Left mouse click: Lower Terrain
Right mouse click: Raise Terrain (will place the block you have currently selected in your hotbar)


  • /we tr (dec. number)
    Sets the tools radius 
     
  • /we tdepth (number)
    Sets the raise/lower depth, or by how many blocks the terrain should be raised or lowerd
     
  • /we tm [0-3]
    Set the tools draw mode
    • 0 = Uniform: Evenly raise/lower terrain within given radius (cylinder shape)
    • 1 = Pyramid: Raise/Lower terrain within given radius using linear decline of depth (cone shape) 
    • 2 = Gaussian: Raise/Lower terrain within given radius using a gauss curve to modify the depth value (eroded cone shape) 
    • 3 = Perlin: Raise/Lower terrain by a 2-octave, fixed frequency perlin noise generator
       

Air brush Tool

Airbrush.png

Left mouse click: Randomly remove a bunch of blocks within a given radius, only works in draw mode 'Replace'
Right mouse click: Randomly place a bunch of blocks within a given radius

  • /we tr (dec. number)
    Sets the air brushes radius in which to randomly place blocks
     
  • /we tq (number)
    Sets the quantity of blocks to be placed in given radius
     
  • /we ta [0-1]
    Sets the tools apply mode.
    • 0 = Apply operation on any block side 
    • 1 = Apply operation on the selected block side 
       
  • /we tm [0-1]
    Sets the tools draw mode
    • 0 = Replace: Causes the air brush to only replace existing blocks
    • 1 = Add: Adds in front of of existing blocks
       

Erode Tool

Erode.png

Left mouse click: No effect
Right mouse click: Erode an area by averaging the height of the terrain


  • /we tr (number)
    Sets the tools radius of the area to be eroded (default 10)
     
  • /we tkr (number)
    Sets the erode kernel radius over which to average the terrain height (the kernel size of the box blur, default 2)
    Please not that high values are very costly and will take some time to calculate.
     
  • /we ti (number)
    Sets the number of iterations - or how many times to apply the effect.
  • /we tusb (0 or 1)
    "Use selected block". When set to 1, any placed block will be the one held in hands. When set to 0 any placed block will be the one found below the given location.

 

Import Tool

Left mouse click: No effect
Right mouse click: Import one of the supplied blockdata files at the selected position
Drag&Drop Schematic file into the game window: Sets the source file that should be imported


  • /we imc
    Tells the tool to use the block data from previously copied data using /we mcopy
     
  • /we ims
    Sets the import source - the file(s) is should import. If more than one is supplied it will randomly select one each time. May use * as a wildcard. Alternatively, drag and drop the file into the game window
    Examples:
    • /we ims rock* boulder*
    • /we ims tree1 tree2
    • /we ims tree*
       
  • /we imo [0-2]
    Sets the import origin point of the file to be imported 
    • 0 = Uses the start point as the bottom left front corner point
    • 1 = Uses the start point as the bottom center point (default)
    • 2 = Uses the start point as the top center point
       
  • /we imr [0, 90, 180 or 270]
    Sets the imported block data rotation - all subsequent placement commands will place all blocks rotate by given degrees.
     
  • /we imrrand [off or on]
    Enables/Disables the imported rotation randomizer. If enabled, it will randomly select one of the 4 available angles every time block data is imported.
     
  • /we imflip
    Toggles upside down placement of the block data.
     
  • /we tm
    Sets the import tools replace mode
    • 0 = Replaceable: Uses the blocks Replaceable value to check if it should replace a block or not
    • 1 = ReplaceAll: Places all the blocks completely ignoring any previously existing blocks
    • 2 = ReplaceAir: Places only blocks where previously there was no blocks

Eraser Tool

Left mouse click: Removes blocks in given shape of currently selected block in your hotbar
Right mouse click: No effect

  • All commands are the same as with the paint brush tool
     

Grow / Shrink Tool

Left mouse click: Shrinks all shapes inside given radius
Right mouse click: Grows all shapes inside given radius


  • /we tr (dec. number)
    Sets the tools radius of the area to grown/shrunk
     
  • /we tm [0-1]
    Sets the tools draw mode
    • 0 = Grow/Shrink any block shape
    • 1 = Grow/Shrink all block shape that has the same block as the selected one
       


Line Tool

Left mouse click: Marks the select position as the start point of the line
Right mouse click: Draws the line from chosen start point to selected point


  • /we tm [0-1]
    Sets the tools mode.
    • 0 = Single Origin - All lines will be drawn from the selected start point
    • 1 = Line Strip - Everytime a line is drawn, it is selected as the start point for the next line
       
  • /we tremove [0-1]
    Sets the tool to either draw or erase blocks. 0 = place, 1 = erase

 

TreeGen Tool

Left mouse click: No effect
Right mouse click: Places a tree at given selected position (a placeable block should be selected in hotbar)


  • /we tsize [dec.number] [dec.number]
    Sets the trees minimum size multiplier (default 0.7) and random additional size (default 0.6)
    E.g. /tsize 1 0.5 will place trees of size 1 till 1.5
    Any trees larger than size 3 might be slow to generate
     
  • /we tv [name]
    Sets the tree variant. Currently available is: dwarfbirch, englishoak, fir, himalayanbirch, japanesemaple, kapok, mountainmaple, mountainpine, oldenglishoak, oldkapok, pricklymoses, riverbirch, scotspine, silverbirch, sugarmaple, sugarmaplesmall and truemulga.

    You can also add your own tree variant by adding a new tree generator config in assets/worldgen/tree/
     

Flood Fill Tool

Left mouse click: Tries to erase selected area within given radius
Right mouse click: Tries to flood fill selected area within given radius (will also replace all blocks of Plant block material)


  • /we tr [number]
    Sets the search radius on how far the flood fill should reach
  • /we trl [0-9999]
    Sets the replaceable level (default 6000). If set to 9000, water will not be replaced
  • /we tce [on/off]
    Check enclosed flag. If set to on, the flood fill action will do nothing if it wasn't able to find an enclosed area within given search radius
  • /we tm [2-3]
    2D or 3D Mode. If set to 2D it will work only flood fill flat discs of blocks. In 3D Mode it also fills in the vertical direction within given search radius.
Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Pack Temático
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository