Эта статья документации для платформы "GoldSrc". Нажмите для получения дополнительной информации.
Эта статья документации для всего, что использует платформу Source. Нажмите для получения дополнительной информации.

Hammer: Обозреватель текстур

From Valve Developer Community
< Ru
Jump to navigation Jump to search

English (en)Deutsch (de)Русский (ru)Translate (Translate)
Кадр экрана показывающий работу Обозревателя текстур.

Обозреватель текстур(en) позволяет находить и выбирать материалы для применения к поверхностям.

Texture List (Список текстур)

This window contains a list of the currently available materials. Double-clicking a material in the list selects it as the current material and closes the Texture Browser.

Size (Размер)

This scroll box allows you to set the displayed size of the textures. You can choose from 32x32, 64x64, 128x128, or 1:1 (full size).

Filter (Фильтр)

This field allows you to type in a search string. Any texture that includes that string as part of its name will be displayed. You can specify more than one filter string. For example, if you specify the search string "sign 7," any texture with "sign" and "7" in its name will be displayed. Previous search strings can be accessed by clicking on the down arrow.

Only Used Textures (Только используемые)

When selected, this sets the browser to display only those textures that have been used in your level. This helps you limit your use of different textures, and avoid using different textures for the same purpose. For games such as Half-Life Half-Life, textures are stored in the compiled maps. Reducing the number of textures will decrease the compiled map size. Fewer textures to load also means memory savings while playing the map in the game.

Keywords (Ключи)

This section appears to be a Valve-specific tool. From the list provided, you can select a specific keyword that will display only the textures used in the respective selection. For example, selecting "c17" will only show the textures used in City 17 style maps. It may have been used to group textures together for the sake of organization.

Mark (Метка)

This button allows you to Mark (select) all objects or faces that contain the selected material. You can then adjust those faces as required (textures, scaling, lightmap resolution, etc).

If the texture Browser was evoked in Face Edit(en) mode, Mark will highlight individual faces that contain the selected material, as if you selected each face by hand. Outside of Face Edit mode, entire objects that contain the material will be selected.

Replace (Заменить)

Opens the Replace Textures(en) dialog with the currently selected material already in the Find field.

Open Source (Источник)

Opens the VMT(en) file that was used to generate the material currently selected. The file is opened with the Windows application associated with text files. You must have .VMT files associated in Windows with a text editor(en) (such as Notepad) for this function to work correctly. To test this, double-click a .VMT file in an Explorer window and make sure it opens properly.

Opaque, Translucent, SelfIllum, EnvMask

Показывать материалы, содержащие указанные свойства в своих определениях. Если отменить выбор, все материалы с такими свойствами будут скрыты.

Значок Свойство Описание
Opaqueicon.png Opaque (Сплошные) показывать сплошные непрозрачные материалы.
Translucenticon.png Translucent (Прозрачные) показывать материалы с параметрами $translucent(en) или $alphatest(en).
Selfillumicon.png SelfIllum (Светящиеся) показывать материалы с параметром $selfillum(en).
Basealphaenvmapmaskicon.png EnvMask (Маска рельефа) показывать материалы с параметром $envmapmask(en).

Show Errors (Показывать ошибочные)

Показывать материалы, содержащие ошибки в своих определениях.

Значок Свойство Описание
Erroricon.png Show Errors (Ошибки) показывать отсутствующие/поврежденные материалы.
Icon-Bug.pngБаг:Sometimes it may provide incorrect information.
If you haven't found any errors, it's likely that the editor has mistaken something it doesn't understand for an error.

Смотреть также