Jump to content

/Brush: Difference between revisions

From fCraft Wiki
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
/Brush BrushName [Params]
/Brush BrushName [Params]
|cat=Building
|cat=Building
|perm=Draw DrawAdvanced
|perm={{rperm|Draw}}, {{rperm|DrawAdvanced}}
|console=No
|console=No
|v=0.600
|v=0.600
|}}
|}}
See [[list of brushes]].


==<code>/Brush</code>==
==<code>/Brush</code>==
Line 18: Line 20:
:Changes current draw brush to the given one. Optionally initializes brush with given parameters.
:Changes current draw brush to the given one. Optionally initializes brush with given parameters.


 
{{LastUpdated|1650}}
=Checkered Brush=
:Checkered brush makes a checkerboard pattern.
:If two block names are given, brush alternates them. If one block name is given, this brush only draws every other block (leaving half of blocks untouched).
<gallery widths=200px heights=135px perrow=3>
Image:Checkered_c_red_cyan.png|<code>/c red cyan</code>
Image:Checkered cw obsidian lava.png|<code>/cw obsidian lava</code>
Image:Checkered eh obsidian.png|<code>/eh obsidian</code> (with [http://en.wikipedia.org/wiki/Moiré_pattern moiré])
</gallery>
 
 
=Rainbow Brush=
:Rainbow brush is simple: it makes a rainbow pattern. It was originally made just as a test, but testers liked it. It takes no parameters.
<gallery widths=200px heights=135px perrow=3>
Image:Rainbow_e.png|<code>/e</code>
Image:Rainbow_c.png|<code>/c</code> (as a picture frame)
Image:Rainbow_torus.png|<code>/torus</code>
</gallery>
 
 
=Random Brush=
:Random brush makes a random pattern from one or more blocktypes.
 
:If two or more block names are given, each block has an equal chance to appear on the pattern (50/50 for two blocks, 33/33/33 for three, 25/25/25/25 for four, etc). If only one block name is given, this brush leaves half of blocks untouched.
 
:For advanced use, you can specify percentage or ratio of each block in the mix. For example: <code>/brush random red/60 white/40</code> makes a pattern that's 60% red and 40% white blocks. Same thing can be accomplished by doing <code>/brush random red/3 white/2</code> (3 red blocks for every 2 white block). You can omit the number of ratio or percentage is 1 (writing <code>someBlock/1</code> is same as just <code>someBlock</code>).
 
<gallery widths=200px heights=135px perrow=3>
Image:Random c yellow blue.png|<code>/c yellow blue</code>
Image:Random e red orange yellow.png|<code>/e red orange yellow</code>
Image:Random c air.png|<code>/c air</code>
Image:Random c grass75 dirt25.png|<code>/c grass/75 dirt/25</code>
Image:Random c wood books5.png|<code>/c wood books/5</code>
Image:Random eh obsidian1000 white1 red1 blue1 green1.png|<code>/eh obsidian/1000 white red blue green</code>
</gallery>
 
 
=Cloudy Brush=
:Cloudy brush makes a patchy random pattern ([http://en.wikipedia.org/wiki/Perlin_noise Perlin noise]).
 
<gallery widths=200px heights=135px perrow=3>
Image:Cloudy c red obsidian.png|<code>/c red obsidian</code>
Image:Cloudy c water white.png|<code>/c water white</code>
Image:Cloudy c grass water dirt.png|<code>/c grass water dirt</code>
Image:Cloudy c red orange yellow lime aqua blue indigo.png|<code>/c red orange yellow lime aqua blue indigo</code>
Image:Cloudy c green75 indigo25.png|<code>/c green/75 indigo/25</code>
Image:Cloudy e obsidian lava obsidian.png|<code>/e obsidian lava obsidian</code>
Image:Cloudy torus dirt air2.png|<code>/torus dirt air2</code>
</gallery>
 
{{LastUpdated|1107}}

Latest revision as of 03:08, 22 August 2012

Command
Brush

Changes the draw brush

Usage

/Brush

/Brush BrushName [Params]

CategoryBuilding
Required permissionsDraw, DrawAdvanced
Usable from console?No
Introduced infCraft 0.600


See list of brushes.

/Brush

Shows the current draw brush.

/Brush BrushName [Params]

Changes current draw brush to the given one. Optionally initializes brush with given parameters.