Noclipmodel

From The DarkMod Wiki
Revision as of 17:53, 5 February 2008 by Tels (talk | contribs) (fixup)
Jump to navigationJump to search

Description

When the noclipmodel spawnarg is set to zero (default: "0"), default collision models can be created by using one set of the following spawnargs:

By default this creates a box. To create another shape, use the following spawnargs with the number of desired sides as the value:

If neither mins/maxs nor size are defined, the engine tries to load the clipmodel from the .ase, .lwo or .cm file itself.

Examples

"noclipmodel" "0"
"size"        "8 20 32"

This would create a box of 8, 20 and 32 units in X, Y and Z direction.