Limits, Max, Min, Stats, etc
Written by Fidcal
This is a collection of game and map limits, maximums and minimums, etc. for the mapper to reference.
Note that some values might change as many features are still work in progress.
All units used here are Dark Radiant grid units (same as Doom 3 units.)
1 Dark Radiant grid unit = 1 inch
Grid Size
Grid size is 131,072 x 131,072 units x 131,072 (inches) or about 2 x 2 x 2 miles
Theoretically a map might be made with about 50 stacks of 2 x 2 miles each about 200 foot high that's 100 x 100 miles or 10,000 square miles. Problem is handling the file size but it illustrates that the only limit is labour, imagination, RAM size, etc.
Entities Max in Map
The limit is 4096 entities. However, maps should not get too close to this limit, as headroom for entities spawned at runtime has to be left (projectiles and such). Perhaps it's possible to raise this limit when the game goes open source or this is exposed to the SDK. The bonehoard has about 700 entities currently, but angua is really saving them.
The limit can already be changed if that is indeed needed.
Player Limits
The minimum width a player can squeeze through is 33
The minimum width a player can lean into is 20
The minimum height a player can walk under is 75
The minimum height a player can crouch through is 39
The maximum normal mantle, standing, walking, or running = 134
The maximum jump mantle, standing, walking, or running = 182
The minimum height to mantle onto = 1
The minimum width to mantle onto = 1
The minimum open wall depth to mantle onto = 1
The minimum shelf depth to jump mantle onto from front = 16
The minimum shelf depth to jump mantle onto from side = 16
The minimum ledge depth to mantle or jump mantle onto from front = 16
The minimum ledge depth to mantle or jump mantle onto from side = 16
The minimum height of bottom of shelf to normal mantle onto = 74
The minimum height of bottom of shelf to jump mantle onto = 122
CHECK CROUCH JUMPS/MANTLES!
Slopes and Steps
The maximum slope for an AI is approximately 40 degrees from the horizontal but varies upon the situation and the AI.
The maximum step height for AI and player is 16 though some AI cannot step up over 14 and perhaps less. But the minimum depth from front to back of a step is only 1 and this can be used to get extreme slopes and very steep steps - even near vertical walls (see Pathfinding)