CM (file format)

.CM files store collision model data. Collision models are a binary space partitioning based format used for collision detection.

They are most commonly used with maps but can also be used with moveable physics objects.

Syntax

This information needs ported over

Export

The creation of a collision model for use with a map is done automatically by the engine upon compile with the dmap console command.

To create a collision model for use with a moveable physics object, from within the level editor, you must select the brushes and/or model. Then click Selection > Export > to CM .

From this point the .CM file must be named and placed in the same directory as the map or model.