Size: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
mNo edit summary
Tels (talk | contribs)
add info
Line 1: Line 1:
The ''size'' spawnarg is used to setup a default [[CM|collision model]] for entities when they do not have a CM in either the model file or a separate .cm file.
The ''size'' spawnarg is used to setup a default [[CM|collision model]] for entities when they do not have a CM in either the model file or a separate .cm file.


This spawnarg is '''only''' used when the spawnarg '''noclipmodel''' is set to zero. Making a dedicated collision model should be prefered over using this method.
This spawnarg is '''only''' used when the spawnarg '''noclipmodel''' is set to zero, '''and''' when [[mins]] and [[maxs]] are not defined.


See [[noclipmodel]] for examples.
Making a dedicated collision model should always be prefered over using this method.
 
See [[noclipmodel]] for further information and examples.


{{spawnargs}}
{{spawnargs}}

Revision as of 09:45, 29 June 2008

The size spawnarg is used to setup a default collision model for entities when they do not have a CM in either the model file or a separate .cm file.

This spawnarg is only used when the spawnarg noclipmodel is set to zero, and when mins and maxs are not defined.

Making a dedicated collision model should always be prefered over using this method.

See noclipmodel for further information and examples.