Jump to content

/Cuboid: Difference between revisions

From fCraft Wiki
mNo edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 7: Line 7:
/Cuboid BlockType
/Cuboid BlockType
|cat=Building
|cat=Building
|perm=Draw
|perm={{rperm|Draw}}
|console=No
|console=No
|v=0.330
|v=0.330
|}}
|}}


Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting works), or using the [[/Mark]] command. The results of [[/Cuboid]] can be undone using [[/Undo]].
Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting works), or using the {{cmd|Mark}} command. The results of {{cmd|Cuboid}} can be undone using {{cmd|Undo}}.


==<code>/Cuboid</code>==
==<code>/Cuboid</code>==
Line 18: Line 18:


==<code>/Cuboid BlockType</code>==
==<code>/Cuboid BlockType</code>==
{{BrushNotice}}
:Fills the area with a given block type.
:Fills the area with a given block type.


Line 41: Line 42:


==Customizing /Cuboid behavior==
==Customizing /Cuboid behavior==
*The volume of blocks that can be drawn at once can be limited per-rank. See "Draw limit" field on ConfigTool's Ranks tab. Alternatively, set the "drawLimit" attribute on the <Rank> tag (if you are editing config.xml manually).
{{CustomizingDrawCommandBehavior}}
*Being able to undo a command requires storing a backup of an area of the map. This may take up significant amounts of memory. By default, fCraft limits [[/Undo]] to the first 2,000,000 blocks that are drawn. You can change this (or remove the limit entirely) via [[MaxUndo]] config key.


{{LastUpdated|605}}
==Related Commands==
:*{{cmd|CuboidH}}
:*{{cmd|CuboidW}}
 
{{LastUpdated|2150}}

Latest revision as of 10:54, 25 August 2013

Command
Cuboid

Fills an area with blocks.

Aliases/BLB, /C, /Z
Usage

/Cuboid

/Cuboid BlockType

CategoryBuilding
Required permissionsDraw
Usable from console?No
Introduced infCraft 0.330


Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting works), or using the /Mark command. The results of /Cuboid can be undone using /Undo.

/Cuboid

Fills the area with the block that you are currently holding.

/Cuboid BlockType

This information only applies when command is used with the Normal brush.
Fills the area with a given block type.

Drawing lines with /Cuboid

Drawing rectangles and squares (2D) with /Cuboid

Drawing cuboids and cubes (3D) with /Cuboid

Customizing /Cuboid behavior

  • The volume of blocks that can be drawn at once can be limited per-rank. See "Draw limit" field on ConfigGUI's Ranks tab. If you are editing config.xml manually, set the "drawLimit" attribute on the <Rank> tag.
  • Being able to undo a command requires storing a backup of an area of the map. This may take up significant amounts of memory. By default, fCraft limits /Undo to the first 2,000,000 blocks that are drawn. You can change this (or remove the limit entirely) via MaxUndo config key.