Jump to content

/Triangle: Difference between revisions

From fCraft Wiki
Created page with "{{CommandBox |name=Triangle |purpose=Creates filled triangles. |aliases=/T |uses=/Triangle |cat=Building |perm=Draw |console=No |v=0.610 |}} ==<code>/Triangle</code>== Creates a ..."
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|uses=/Triangle
|uses=/Triangle
|cat=Building
|cat=Building
|perm=Draw
|perm={{rperm|Draw}}
|console=No
|console=No
|v=0.610
|v=0.610
|}}
|}}
==<code>/Triangle</code>==
==<code>/Triangle</code>==
Creates a filled triangle. After entering the command you need to mark 3 vertices of the triangle. You can do that either by clicking the blocks (building or deleting works), or using the [[/Mark]] command. Results of this command can be undone using [[/Undo]]. Supports brushes.
Creates a filled triangle. After entering the command you need to mark 3 vertices of the triangle. You can do that either by clicking the blocks (building or deleting works), or using the {{cmd|Mark}} command. Results of this command can be undone using {{cmd|Undo}}. Supports brushes.


==Customizing /Triangle behavior==
==Customizing /Triangle 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|1201}}
==Related commands==
*{{cmd|Line}} - Draws a line.
*{{cmd|TriangleW}} - Draws a wireframe triangle.
 
{{LastUpdated|1650}}

Latest revision as of 10:40, 25 August 2012

Command
Triangle

Creates filled triangles.

Aliases/T
Usage

/Triangle

CategoryBuilding
Required permissionsDraw
Usable from console?No
Introduced infCraft 0.610

/Triangle

Creates a filled triangle. After entering the command you need to mark 3 vertices of the triangle. You can do that either by clicking the blocks (building or deleting works), or using the /Mark command. Results of this command can be undone using /Undo. Supports brushes.

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