Noclipmodel

From The DarkMod Wiki
Revision as of 16:00, 15 February 2009 by Fidcal (talk | contribs)
Jump to navigationJump to search

A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be disabled by adding the spawnarg and value:

noclipmodel 1

By default, noclipmodel is set to 0. There are few situations where you need to set it to 1:

  • If you want an object to start non-solid and possibly become solide later in the game then use solid 0 instead (see solid)
  • For a permanently non-solid object there is a tiny performance gain using noclipmodel 1 instead so no collision-checking takes place but see notes below.

NOTES:

The following will be disabled if noclipmodel is set to 1.

Spawnargs: size mins maxs clipmodel

Entities: All moveables target_set_frobable

Other: All clip-based stims