====== Tile Palette Window ======
Opening this window you'll get the following picture.
{{:manuals:terraineditor:reference:temain:te_tpal_win_0.jpg|}}
The purpose of this window is to display all the tiles in [[falcon4reference:terrain:texture.bin_file|texture.bin]] file, arranged by their categories. Here you can select a tile directly, and use it as a brush in [[manuals:terraineditor:reference:temain:theater_window|Theater Window]] and replace the original tiles. This behavior is canceled when the {{:manuals:terraineditor:reference:temain:te_tpal_win_notile.jpg?20%|}} tile is selected.
{{:t1.png |Tip}}The mouse cursor will be changed in [[manuals:terraineditor:reference:temain:theater_window|Theater Window]] when this behavior is activated, to this image: {{:manuals:terraineditor:reference:temain:te_tpal_win_cursor1.jpg?20%|}}
===== Window Size Sliders =====
{{:manuals:terraineditor:reference:temain:te_tpal_win_sldrs.jpg |}}These sliders control how many tiles will be displayed Vertically (V) or Horizontally (H). Changing these sliders, the window size will change accordingly.
===== Category Selector and Tile Size =====
{{:manuals:terraineditor:reference:temain:te_tpal_win_cat.jpg |}}This combo controls the current category to be displayed (or the custom categories if Custom Categories are selected).
===== Custom Categories =====
{{:manuals:terraineditor:reference:temain:te_tpal_win_custcatbut.jpg |}}This checkbox controls whether the categories, as described in [[falcon4reference:terrain:texture.bin_file|texture.bin]], or any defined custom categories, will be displayed.
The Custom categories are stored in files with extension [[manuals:terraineditor:reference:file_formats_reference:custom_categories_files|''*.cct'']]. You can create, load or save a cct file by clicking the ''Edit'' button. Doing so, this window is displayed:
{{:manuals:terraineditor:reference:temain:te_tpal_win_custcat_0.jpg|}}
With this window, you can open (or create if it doesn't exist) a ''*.cct'' file and add or delete categories in it. To add a category, you just type the name of the new category and press the ''Add'' button. To delete one, you select the appropriate checkbox in the list and press the ''Delete'' button.
{{:a1.png |Caution}}If you delete a category from a ''*.cct'' file and this category contains one or more tiles in it, these tiles are deleted as well from the ''*.cct'' file.**The ''texture.bin'' file is not affected by any of these actions.**
{{:t1.png |Tip}}This window only controls the categories in the ''*.cct'' file. To add tiles in a specific custom category, you need to do it when displaying the default categories, by right clicking on a tile and selecting ''Add to custom Category'' menu. This must be done after the ''*.cct'' is loaded. The same can be done in the [[manuals:terraineditor:reference:bin_editor:home|BIN Editor Window]] as well.