Jump to content

Surfaces

From Kingpin Wiki
Revision as of 00:14, 4 March 2025 by FREDZ (talk | contribs)

Introduction

Each face of a brush has its own parameters to define the type of surface. The game uses it to play correct sound and effects when walking on/shooting at something. Some special attributes allow the texture to use an alpha parameter (transparency) or project white light.

In Kingpin Radiant the Surface Inspector would look like this:

QERadiant Surface Inspector (Kingpin)
QERadiant Surface Inspector (Kingpin)

In other Map Editors flag names can be missing for Example in the Q2 Radiant:

QERadiant Surface Inspector (Quake 2)
QERadiant Surface Inspector (Quake 2)

But sometimes you still can add the correct flag if you know the correct hex value.

Surfaces Flags

Value Hex Flag Description
1 0x1 Light Emit light from the surface, brightness is specified in the 'value' field"
2 0x2 Slick The surface is slippery
4 0x4 Sky The surface is sky, the texture will not be drawn, but the background sky box is used instead
8 0x8 Wrap The surface warps (like water textures do)
16 0x10 Trans33 The surface is 33% transparent
32 0x20 Trans66 The surface is 66% transparent
64 0x40 Flowing The texture wraps in a downward 'flowing' pattern (warp must also be set)
128 0x80 NoDraw Used for non-fixed-size brush triggers and clip brushes
256 0x100 Hint Make a primary bsp splitter
512 0x200 Skip Completely ignore, allowing non-closed brushes
1024 0x400 Specular Shows specular lighting from light flares
2048 0x800 Diffuse Used with specular lighting, makes it bigger and less intense
4096 0x1000 Alpha Alpha texture
8192 0x2000 Mirror ?
16384 0x4000 Wndw33 Reflect sky 33%
32768 0x8000 Wndw66 Reflect sky 66%
65536 0x10000 10000 ?
131072 0x20000 20000 ?
262144 0x40000 40000 ?
524288 0x80000 Water Water sound
1048576 0x100000 Concrete Concrete sound (default)
2097152 0x200000 Fabric Fabric sound
4194304 0x400000 Gravel Gravel sound
8388608 0x800000 Metal Metal sound
16777216 0x1000000 Metal Lite Metal lite sound
33554432 0x2000000 Tin Tin sound (Snow in SDK)
67108864 0x4000000 Tile Tile sound
134217728 0x8000000 Wood Wood sound
268435456 0x10000000 Reflect Fake Uses fast (fake) reflections
536870912 0x20000000 Reflect Light Only reflects SURF_LIGHT surfaces
1073741824 0x40000000 40000000 ?
2147483648 0x80000000 80000000 ?

Contents Flags

Value Hex Flag Description
1 0x1 Solid Solid (default)
2 0x2 Window The brush cannot "close" an area, surfaces back-culling
4 0x4 Aux Unused by the engine
8 0x8 Lava The brush is lava
16 0x10 Slime The brush is slime
32 0x20 Water The brush is water
64 0x40 Mist The brush is non-solid
128 0x80 Fence The brush cannot "close" an area, render both sides of each surface
256 0x100 100 ?
512 0x200 200 ?
1024 0x400 400 ?
2048 0x800 800 ?
4096 0x1000 1000 ?
8192 0x2000 2000 ?
16384 0x4000 4000 ?
32768 0x8000 8000 ?
65536 0x10000 Player Clip Player cannot pass through the brush (other things can)
131072 0x20000 Monster Clip NPC cannot pass through the brush (player and other things can)
262144 0x40000 current_0 Brush has a current in direction of 0 degrees
524288 0x80000 current_90 Brush has a current in direction of 90 degrees
1048576 0x100000 current_180 Brush has a current in direction of 180 degrees
2097152 0x200000 current_270 Brush has a current in direction of 270 degrees
4194304 0x400000 current_up Brush has a current in the up direction
8388608 0x800000 current_down Brush has a current in the down direction
16777216 0x1000000 origin Special brush used for specifying origin of rotation for rotating brushes
33554432 0x2000000 monster ?
67108864 0x4000000 corpse ?
134217728 0x8000000 detail This brush WILL subdivide the BSP surface tree but will NOT affect VIS processing
268435456 0x10000000 translucent Use for opaque water that does not block vis
536870912 0x20000000 Ladder Brushes with this flag allow a player to move up and down a vertical surface
1073741824 0x40000000 40000000 ?
2147483648 0x80000000 80000000 ?