Jump to content

/Cuboid: Difference between revisions

From fCraft Wiki
AJF (talk | contribs)
Created
 
No edit summary
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Commands]]
{{CommandBox
|name=Cuboid
|purpose=Fills an area with blocks.
|aliases=/BLB, /C, /Z
|uses=/Cuboid


==Command==
/Cuboid BlockType
==<code>/cuboid [BlockName]</code>==
|cat=Building
:Fills a cuboid with the specified block type (if omitted, the block the player is holding), in the space specified by the next two changed blocks.
|perm={{rperm|Draw}}
|console=No
|v=0.330
|}}


* Cannot be used from console.
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>==
:Fills the area with the block that you are currently holding.
 
==<code>/Cuboid BlockType</code>==
{{BrushNotice}}
:Fills the area with a given block type.
 
==Drawing lines with /Cuboid==
<gallery>
Image:Cuboid_1a.png
Image:Cuboid_1b.png
</gallery>
 
==Drawing rectangles and squares (2D) with /Cuboid==
<gallery>
Image:Cuboid_2a.png
Image:Cuboid_2b.png
Image:Cuboid_3a.png
Image:Cuboid_3b.png
</gallery>
 
==Drawing cuboids and cubes (3D) with /Cuboid==
<gallery>
Image:Cuboid_4a.png
Image:Cuboid_4b.png
</gallery>
 
==Customizing /Cuboid behavior==
{{CustomizingDrawCommandBehavior}}
 
==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.