Table of Contents

MD2 model search path

Syntax

ModelPath "path"

The ModelPath directive appends a new path to the list of MD2 model search paths. This directive has no scope; it affects all the definitions that come before and after it.

Windows users: Note that backslashes are used as escape characters in strings. You cannot do this, for example: ModelPath “MD2\Game\Path\” as that would mean the last character of the path is but the string itself doesn't end. Use forward slashes instead of backslashes.

Examples

ModelPath "MD2/Game/Item";