Troubleshooting Level Design: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[category:level design]]
[[category:level design]]
Please add to this document when you encounter solutions to problems you have encountered.


==Trouble with Compiling Maps==
==Trouble with Compiling Maps==
Line 8: Line 7:
:If your map is large or complicated, make sure you are using func_detail appropriately.  See [[Controlling Geometry Visibility and Compile Times]].
:If your map is large or complicated, make sure you are using func_detail appropriately.  See [[Controlling Geometry Visibility and Compile Times]].


'''The compile window says there is a memleak.'''
'''The compile window says there is a memleak'''


:Don't worry; this is not an error.  Carry on.
:Don't worry; this is not an error.  Carry on.


==Trouble with Lighting==
==In-game problems==


'''The map looks super bright'''
'''Everything is very bright (no shadows)'''


:You probably have a leak.  See [[Leaks Explained]].
:You probably have a leak.  See [[Leaks Explained]].


==Trouble with Props==
'''Reflections look weird or too bright'''
 
:Type buildcubemaps in the [[console]], and reload the map.  Sometimes new cubemaps do not look correct until the map is reloaded.  And make sure you've put in enough env_cubemaps.
 
'''Water is invisible from above, but looks correct from below'''
 
:Sometimes this happens if cubemaps have not been built yet. (Type buildcubemaps in the console.) It can also happen if you skipped the lighting stage of compiling.


'''Invisible Prop'''
'''Invisible Prop'''
Line 26: Line 31:
:Also, some props can only be used as certain types of props and otherwise will be invisible.  For instance there are tables that only work as prop_physics, and other props that only work as prop_dyanamics.
:Also, some props can only be used as certain types of props and otherwise will be invisible.  For instance there are tables that only work as prop_physics, and other props that only work as prop_dyanamics.


==Trouble with Other Entities==
'''Ladder doesn't work'''
 
:Make sure the ladder entity is not touching anything solid.  It must be at least one unit away from all solid surfaces. Read the [[Ladders - Adding ladder entities to levels.|instructions]] carefully.  Ladders work differently in Half-Life 2 and in Counter-Strike: Source.


'''A ladder isn't working'''
'''Building cubemaps causes the game to crash with a memory reference error.'''


:Make sure the ladder entity is not touching anything solid.  It must be at least one unit away from all solid surfaces. Read the [[Ladders - Adding ladder entities to levels.|instructions]] carefullyLadders work differently in Half-Life 2 and in Counter-Strike: Source.
:Make sure the game resolution is at least 800x600This can also happen in widescreen mode.


==Trouble with Counter-Strike:Source Maps==
==Trouble with Counter-Strike:Source Maps==

Revision as of 10:38, 29 June 2005


Trouble with Compiling Maps

Compiling the map takes a very long time

If your map is large or complicated, make sure you are using func_detail appropriately. See Controlling Geometry Visibility and Compile Times.

The compile window says there is a memleak

Don't worry; this is not an error. Carry on.

In-game problems

Everything is very bright (no shadows)

You probably have a leak. See Leaks Explained.

Reflections look weird or too bright

Type buildcubemaps in the console, and reload the map. Sometimes new cubemaps do not look correct until the map is reloaded. And make sure you've put in enough env_cubemaps.

Water is invisible from above, but looks correct from below

Sometimes this happens if cubemaps have not been built yet. (Type buildcubemaps in the console.) It can also happen if you skipped the lighting stage of compiling.

Invisible Prop

The prop may have its fadeout distance set too close.
Also, some props can only be used as certain types of props and otherwise will be invisible. For instance there are tables that only work as prop_physics, and other props that only work as prop_dyanamics.

Ladder doesn't work

Make sure the ladder entity is not touching anything solid. It must be at least one unit away from all solid surfaces. Read the instructions carefully. Ladders work differently in Half-Life 2 and in Counter-Strike: Source.

Building cubemaps causes the game to crash with a memory reference error.

Make sure the game resolution is at least 800x600. This can also happen in widescreen mode.

Trouble with Counter-Strike:Source Maps

The hostages won't move

Hostages require a navigation mesh in order to work. (They used to use info_nodes, but that is now obsolete.)