Clip Model: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
New page: Clip Model A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be generated in several ways: * It may be included in the model fil...
 
Tels (talk | contribs)
m minor formating
Line 1: Line 1:
Clip Model
A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be generated in several ways:
A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be generated in several ways:


* It may be included in the model file as a collision mesh (shown as green in the Dark Radiant editor.)
* It may be included in the model file as a collision mesh (shown as green in the [[Dark Radiant]] editor)
* It can be defined by the ''clipmodel''' spawnarg (see [[clipmodel]])
* It can be defined by the ''clipmodel''' spawnarg (see [[clipmodel]])
* A separate .cm file may be created in the editor (see [[Moveables]])
* A separate .cm file may be created in the editor (see [[Moveables]])
Line 11: Line 9:
The clip model can be disabled by adding the spawnarg and value: ''noclipmodel 1'' (see [[noclipmodel]])
The clip model can be disabled by adding the spawnarg and value: ''noclipmodel 1'' (see [[noclipmodel]])


[[Category:Editing]]
{{editing}}

Revision as of 12:02, 16 February 2009

A clip model is a simplified shape used to check for collisions with other objects in the gameworld. It can be generated in several ways:

  • It may be included in the model file as a collision mesh (shown as green in the Dark Radiant editor)
  • It can be defined by the clipmodel' spawnarg (see clipmodel)
  • A separate .cm file may be created in the editor (see Moveables)
  • It can be defined by the size spawnarg (see size)
  • It can be defined by the mins and maxs spawnargs (see mins and maxs)

The clip model can be disabled by adding the spawnarg and value: noclipmodel 1 (see noclipmodel)