====== Attributes map brush ====== The 'attributes map brush' window is activated by selecting the '//Tools->Attributes map brush//' option in the menu, or by viewing the attributes map, and then clicking on the 'edit map layer' toolbar icon, shown below:
| {{:l3dt:userguide:tools:editactive.png}} ^ The 'edit map layer' icon. ^
{{ l3dt:userguide:dialogs:am_brushtool.png }} Left-clicking and dragging the mouse around on the attributes map will apply the setting from this window. ===== 2D or 3D? ===== The attributes map brush may be used in either //[[bundywiki>plugins:sapphire|Sapphire's]]// 3D map view, or in L3DT's 2D map view. To edit the attributes map in the 3D editor, select the '//Operations->Attributes map->Edit attributes map in 3D//' menu option in L3DT, or the '//Edit->Attributes map brush//' menu option in Sapphire. For tips on using the attributes map brush in 3D, please refer to the [[bundywiki>plugins:sapphire:userguide:am_edit|Sapphire user guide]], or the [[bundywiki>tutorials:l3dt:roads|roads tutorial]], which makes heavy use of the attributes map brush. ===== Controls ===== The controls in the attributes map brush window are explained below: ==== Radius ==== The radius field controls the size of the brush tool. Note you can also change the brush radius by using the mouse scroll-wheel in the map window. ==== Climate / Land type ==== The //climate// and //land type// drop-lists allow you to select the land type that will be applied from the brush. === The '' land type === If you select the '' option in the //land type// drop-list, L3DT will automatically calculate which land type from your selected climate best suits each pixel in the area you're painting. An example is shown below, where the '' option is used to apply the 'desert' climate over an area of "temperate' climate. Note how the cliffs in the temperate climate (below left) are automatically replaced by cliffs in the desert climate (below right).
| {{:l3dt:userguide:tools:am_brush:ambrush_before.png?350|:l3dt:userguide:tools:am_brush:ambrush_before.png}} | {{:l3dt:userguide:tools:am_brush:ambrush_after.png?350|:l3dt:userguide:tools:am_brush:ambrush_after.png}} | ^ Before ^ After ^
==== Pattern ==== The //pattern// drop-list allows you to select between 'solid' and 'spraycan' style brushes, the effects of which are shown below:
| {{:l3dt:userguide:tools:am_brush:ambrush_solid.png?350|:l3dt:userguide:tools:am_brush:ambrush_solid.png}} | {{:l3dt:userguide:tools:am_brush:ambrush_spraycan.png?350|:l3dt:userguide:tools:am_brush:ambrush_spraycan.png}} | ^ Solid ^ Spraycan ^
==== Sample button ==== The //sample// button works a lot like the 'eyedropper' tool in most image editors. If you click on the //sample// button, then left-click the mouse somewhere in the map window, the //climate// and //land type// drop-lists in the will be updated to show the climate/land type from the pixel underneath your mouse click.