Zh/Tool textures (Source)

From Valve Developer Community
< Zh
Revision as of 04:25, 29 June 2025 by WoShiGeNiCheng (talk | contribs) (Created page with " == Optimization == {| class="standard-table" |- style="z-index:1; position:sticky; top:0;border:2px solid #525252;" ! width="64px" style="background-color: #323232;color:white" | Image ! width="110px" style="background-color: #323232;color:white" | Filename ! width="75px" style="background-color: #323232;color:white" | Visible if <br /> world brush ! width="75px" style="background-color: #323232;color:white" | Casts shadows ! width="75px" style="background-color: #3...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Optimization

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsareaportal.gif
toolsareaportal
Yes No Yes No No No No No Use with areaportals (func_areaportals and func_areaportalwindows). Can be used with other brush entities, such as some triggers.
Toolshint.gif
toolshint
No No Yes No No No No No Instructs VBSP to cut visleaves along this texture, but does nothing else.
Toolsskip.gif
toolsskip
No No No No No No No No Has no effect on anything (except bomb in 反恐精英:起源). Skip faces are removed during compile, so a brush textured with Skip won't prevent leaks.

Useful in combination with Hint tool textures (to prevent the other sides from cutting vis) and as a tool in Hammer for grouping, moving and place-holding objects.

Icon-Bug.png错误:In 反恐精英:起源, skip brushes act as clip brushes for the bomb.
Tip.png提示:This can be exploited by a mapper to prevent the bomb from falling into a pit if planted too close to the edge.
Toolsoccluder.gif
toolsoccluder
Yes No No No No No No No Used only for the occluding sides of func_occluder entities.

Unlike toolstrigger, toolsoccluder will correctly work when VBSP is compiled with -nodrawtriggers.

Clips

Clips — Common

These tool textures are available in every source engine game.
Some of these textures have special function in some games. These special functions are noted by having the game's icon listed in the description (such as 反恐精英:起源, 反恐精英:全球攻势, 求生之路系列求生之路系列, 传送门2, etc.).

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsclip.gif
toolsclip
No No No No Yes Yes No No Solid to players and NPCs but not other objects.

起源2013 Also solid to item pickups like ammo packs but not dropped weapons.
反恐精英:起源反恐精英:全球攻势 Solid to dropped C4. Solid to hostages in 反恐精英:起源.
反恐精英:全球攻势Garry's Mod Feature clip brush textures with different material types: Concrete, Dirt, Glass, Grass, Gravel, Metal, Metal Sand Barrel, Metal Grate, Metal Vehicle, Plastic, Rubber, Rubber Tire, Sand, Tile, Wood, Wood Basket, Wood Crate.

Tip.png提示:If you need a clip of a specific material like Clip_Glass in a game that does not have these various clip materials, you can make a brush using any regular material with the property you want and then turn it into a func_brush that is always solid but not rendered.
See more about clip texture here.
Toolsnpcclip.gif
toolsnpcclip
No No No No Yes No No No Solid to NPCs only.
反恐精英:起源反恐精英:全球攻势 Solid to bots. Not solid to hostages.
求生之路系列求生之路系列 Solid to infected only, but does not stop Smokers, Boomers and Spitters from attacking through it.
Toolsplayerclip.gif
toolsplayerclip
No No No No No Yes No No Solid to players only.

起源2013 Also solid to item pickups like ammo packs but not dropped weapons.
反恐精英:起源反恐精英:全球攻势 Solid to players, bots (!), and dropped C4. Solid to hostages in 反恐精英:起源.
求生之路系列求生之路系列 Solid to the survivors only.

Toolsplayercont.gif
toolscontrolclip
Yes Yes Yes N/A Yes Yes Yes Yes
(Marks)
(被移除起源2007 以来) (也存在于 军团要塞2 之中)
Obsolete-notext.png已弃用:This texture has to be tied to an entity to gain any special abilities, but what entity is not yet confirmed. This texture, along with trigger, works on func_vehicleclip. It was removed in 半衰期2 base since 起源2007, but exist in 军团要塞2 and 起源2.
(See Player Clip above for the tool texture that restricts player movement.)

Clips — Game-Specific

These tool textures are only available in specific Source engine games.

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsgrenadeclip.png
toolsgrenadeclip
No No No No No No Solid to Grenades No 反恐精英:全球攻势 Solid to grenades only.
Toolsdroneclip.jpg
toolsdroneclip
No No No N/A N/A No No No 反恐精英:全球攻势 Used to prevent drones getting stuck on complex geometry.

Sky and Fog

Sky and Fog — Common

These tool textures are available in every Source engine game.
Some of these textures have special function in some games. These special functions are noted by having the game's icon listed in the description (such as 反恐精英:起源, 反恐精英:全球攻势, 求生之路系列求生之路系列, 传送门2, etc.).

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsfog.gif
toolsfog
Yes No Yes No Yes Yes Yes Yes
(Marks)
No effect; uses nonexistent compile flag %CompileFog.

(You can use this for func_smokevolume instead of the Trigger texture, but NOT for func_dustcloud.)

Toolsskybox.png
toolsskybox
No No Yes Yes Yes Yes Yes Yes
(No Marks)
This texture is used to make 3D skyboxes. Casts light if there is a light_environment entity in the map.
Things such as another area of a map will render on top of the skybox. An areaportal can stop this from happening, but it's generally better practice to add more scenery to cover the stuff that shouldn't be seen, reposition those things out of view, or just don't have an opening in that area.
Toolsskybox2d.gif
toolsskybox2d
No No Yes Yes Yes Yes Yes Yes
(No Marks)
(存在于自 起源2007 以来) Used to make 2D skyboxes without displaying the 3D Skybox.
Casts light if there is a light_environment entity in the map.
Icon-Bug.png错误:Light cast from this texture can still be blocked by 3D skybox geometry.

No effect if used in the same PVS as the toolsskybox tool texture.
Toolsskyfog.gif
toolsskyfog
No Yes Yes N/A N/A Yes N/A Yes
(Marks)
The SkyFog texture does not contain any properties. There is currently no existing corresponding Shader called "skyfog". (Generates error Error: Material "toolsskyfog" uses unknown shader "SkyFog".)
证实:Can it be fixed to function properly if its VMT settings are changed in the Source code and recompiled?
Fogvolume.jpg
toolsfogvolume
Yes No No No No No No No (存在于自 求生之路 以来)

Used in conjunction with multiple env_fog_controllers to change fog colours and densities in a level.
Fog inside its volume will not appear to have different atributes when viewed from outside its volume, as it globally changes the appearance of all fog across the map when entered.

Sky and Fog — Game-Specific

These tool textures are only available in specific Source engine games.

There are no game specific tool textures in this section.

Miscellaneous

These are textures that have a special use, sometimes only seen in one single game.

Some of these textures are not even "real" tool textures, as they do not possess any Compile Flags, but they have some important use that no other texture available can do.

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Blockbomb.jpg
toolsblockbomb
No No Yes Yes Yes Yes Yes Yes 反恐精英:全球攻势 Acts like ToolsInvisible. Possibly unimplemented.
L4d2-Climb versus.png
climb
No No No No Yes Yes Yes No 求生之路系列求生之路系列 A ladder only for Infected. Not visible to Infected Players during Versus, but can be climbed on. Use Climb Versus Instead.

Could be used in areas blocked by func_playerinfected_clip where Player Infected cannot go to and should be unable to see a climbing spot, but the AI should be able to use it for hordes.

Climb alpha.png
climb_alpha
Visible to Infected No No No Yes Yes Yes No 求生之路系列求生之路系列 Same as Climb Versus, with the only difference being that climb_alpha uses $alphatest, while climb_versus uses $additive.

This texture may be usable in spots where the texture is applied over a translucent material, in order to fix sorting issues, but it has so far never been used in any official campaign.

L4d2-Climb versus.png
climb_versus
Visible to Infected No No No Yes Yes Yes No 求生之路系列求生之路系列 A ladder only for infected. Must be used with func_ladder; otherwise, it will be ignored by the navigation mesh editor.
Hulkwall.png
hulkwall
Visible to Infected Yes Yes Yes Yes Yes Yes Yes 求生之路系列求生之路系列 This is an obsolete visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
This texture is since superceeded by ../effects/tankwall. But this one was not removed from the game.
See This page for further information.
Hulkwallglow.png
hulkwallglow
Visible to Infected Yes Yes Yes Yes Yes Yes Yes 求生之路系列求生之路系列 This is an obsolete visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
This texture is since superceeded by ../effects/tankwall. But this one was not removed from the game.
See This page for further information.
L4d-effects-tankwall.png
../effects/tankwall
Visible to Infected Yes Yes Yes Yes Yes Yes Yes 求生之路系列求生之路系列 This is the "new" visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
See This page for further information.
Toolsdotted.png
toolsdotted
Yes No Yes No Yes Yes Yes Yes
(Marks)
A face textured with this texture is rendered on top of all other brush geometry. Furthermore, a brush with Dotted on any face will not block visibility or cull any face that it touches, meaning that any area enclosed in a Dotted-textured brush will not be removed from the map in any way.
证实:This effect is probably just due to having $alphatest.
Toolsinvisibledisplacement.gif
toolsinvisibledisplacement
No No No No Yes Yes Yes Depends on game (存在于 军团要塞2 之中)
Light is not blocked by this texture, except in 反恐精英:全球攻势.

Despite being in the Materials/Tools folder, this is not a tool texture. It has no abilities. It is simply an invisible texture used for displacement clipping, where you make an invisible displacement instead of a clip brush because making intricate clip brushes is difficult.
军团要塞2 Uses $decal 1 and $surfaceprop "dirt".

Toolswhite.gif
../effects/clear
Fully Translucent Depends on use Depends on use N/A Yes Yes Yes Depends on use 求生之路系列求生之路系列 Basic LightmappedGeneric that has no abilities other than being invisible.

Officially used like invisibledisplacement for displacement clipping.
Has no VMT properties other than $alphatest 1.

Toolinvismetal.png
invismetal
No No Yes No Yes Yes Yes No 反恐精英:起源 求生之路系列求生之路系列 Invisible texture, with metal surface properties. Simmilar to how Nodraw Metal should have worked.

Creates metal sparks when shot, but bullets pass through.
Does not seal maps.

Tip.png提示:You may want to edit the VMT to add %CompileDetail 1 to prevent it from cutting visleaves, which makes it much more useful. Alternatively, tie it to a func_detail or other entity.
证实:An invisimetal texture also exists in 黑山, although it uses a different texture. Does it work the same?
No Image
Locked
N/A N/A N/A N/A N/A N/A N/A N/A This is a special tool texture, intended to prevent VMEX from decompiling any maps using this custom tool texture. BSPSource ignores this, rendering it useless.

It does not really exist, as every user has to make their own, but it is listed here for completeness sake.

Toolswarmlight.png
toolswarmlight
Yes Yes Yes Yes Yes Yes Yes Yes 求生之路系列求生之路系列 Basic UnlitGeneric texture that has no abilities.

Used with func_brush to make it non-solid and fade away when approached.
It being UnlitGeneric makes it seems as if it were glowing in a warm color, but is not listed in lights.rad, so it won't actually emit any light for VRAD to compile.
Only used in c8m2_subway behind the three windows to the right of the entrance of the end map saferoom building, to simulate glowing light in a room.

Toolswrongway.png
wrongway
Yes (存在于 反恐精英:全球攻势 之中)
Only to Infected (存在于 求生之路系列求生之路系列 之中)
No Yes No Yes Yes Yes Yes
(No Marks)
求生之路系列求生之路系列反恐精英:全球攻势 Used to indicate the borders of the playable area.

求生之路 Only visible to Infected players.
求生之路2 No campaign uses this tool texture anymore. See L4D Level Design: Blocking the Infected Team for more info.
反恐精英:全球攻势 Used especially for the CS:GO/CS2 Wingman Wingman game mode. It has the same properties as WrongWay Timer.

Tip.png提示:All Yes/No flags can be changed if applied to a func_brush.
Wrongway timer.png
wrongway_timer
Doesn't work correctly No Yes No Yes Yes Yes Yes 反恐精英:全球攻势 Used for brushes that are temporarily blocking Terrorists during the freezetime of the CS:GO/CS2 Retakes Retakes game mode. It is only visible to players that are close to the origin of the entity that this material is applied to (e.g., func_brush), achieved with the PlayerProximity material proxy.
Warning.png警告:Does not work as intended on world brushes and func_details as they have no origin: In-game, the $alpha is either equal to the $alpha of the closest functioning application of this material on screen or - if there is none - the $alpha remains "stuck" at some value, no matter the proximity.