Noclipmodel: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
add |
fixup |
||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
When the ''noclipmodel'' spawnarg is set to | When the ''noclipmodel'' spawnarg is set to zero (default: "0"), default [[cm|collision models]] can be created by using one set of the following spawnargs: | ||
* [[mins]],[[maxs]] '''or''' | * [[mins]],[[maxs]] '''or''' | ||
Line 9: | Line 9: | ||
* [[cylinder]], [[cone]] | * [[cylinder]], [[cone]] | ||
If neither ''mins/maxs'' nor ''size'' are defined, the engine tries to load the clipmodel from the .ase, .lwo or .cm file itself. | |||
== Examples == | == Examples == | ||
"noclipmodel" " | "noclipmodel" "0" | ||
"size" "8 20 32" | "size" "8 20 32" | ||
Revision as of 17:53, 5 February 2008
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.