Limits, Max, Min, Stats, etc

From The DarkMod Wiki
Revision as of 09:25, 26 September 2007 by Fidcal (talk | contribs) (→‎Player Limits)
Jump to navigationJump to search

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 (1.1 inches, technically--Springheel)


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

Doorways, gaps:
Minimum width a player can squeeze through = 33
Minimum width a player can lean into = 20
Minimum height a player can walk under = 75
Minimum height a player can crouch through is 39

Mantling, Jumping:
Maximum normal mantle, standing, walking, or running = 134
Maximum jump mantle, standing, walking, or running = 182
Minimum height to mantle onto = 1
Minimum width to mantle onto = 1
Minimum open wall depth to mantle onto = 1
Minimum shelf depth to jump mantle onto from front = 16
Minimum shelf depth to jump mantle onto from side = 16
Minimum ledge depth to mantle or jump mantle onto from front = 16
Minimum ledge depth to mantle or jump mantle onto from side = 16
Minimum height of bottom of shelf to normal mantle onto = 74
Minimum height of bottom of shelf to jump mantle onto = 122

Maximum gap to run jump mantle over = 176

Maximum fall without damage = 143.5

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)