Jump to content

/Torus: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
|v=0.600
|v=0.600
|}}
|}}
 
[[Image:TorusExample.png|thumb|400px|right|Torus usage. Red block represents the first mark, Yellow block represents the second mark]]
Solidly fills a toroidal area (doughnut) with blocks of a given type. After entering the command you need to mark the '''center''' of the torus first, then the '''edge''' of the torus. You can do that either by clicking the blocks (building or deleting works), or using the {{cmd|Mark}} command. The horizontal distance between first and second mark is the '''circle radius''' of the torus. The vertical distance between two marks is the '''tube radius'''. The results of {{cmd|Torus}} can be undone using {{cmd|Undo}}.
Solidly fills a toroidal area (doughnut) with blocks of a given type. After entering the command you need to mark the '''center''' of the torus first, then the '''edge''' of the torus. You can do that either by clicking the blocks (building or deleting works), or using the {{cmd|Mark}} command. The horizontal distance between first and second mark is the '''circle radius''' of the torus. The vertical distance between two marks is the '''tube radius'''. The results of {{cmd|Torus}} can be undone using {{cmd|Undo}}.
[[Image:TorusExample.png|thumb|500px|Torus usage. Red block represents the first mark, Yellow block represents the second mark]]


==<code>/Torus</code>==
==<code>/Torus</code>==

Latest revision as of 08:02, 31 May 2013

Command
Torus

Creates a torus out of blocks.

Usage

/Torus

/Torus BlockType

CategoryBuilding
Required permissionsDraw, DrawAdvanced
Usable from console?No
Introduced infCraft 0.600
Torus usage. Red block represents the first mark, Yellow block represents the second mark

Solidly fills a toroidal area (doughnut) with blocks of a given type. After entering the command you need to mark the center of the torus first, then the edge of the torus. You can do that either by clicking the blocks (building or deleting works), or using the /Mark command. The horizontal distance between first and second mark is the circle radius of the torus. The vertical distance between two marks is the tube radius. The results of /Torus can be undone using /Undo.

/Torus

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

/Torus <BlockType>

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

Customizing /Torus 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.