Limits, Max, Min, Stats, etc: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(link to conversion of game units page; maximum fall without damage stat is now outdated; added info on maximum slope a player can walk on, based on the sloping platforms on the side of test/mantle.map)
Line 7: Line 7:
All units used here are Dark Radiant grid units (same as Doom 3 units.)
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)''
==Conversion of game units==


''Main article: [[Conversion of Game Units]]''


1 Dark Radiant grid unit = 1.1 inches


==Grid Size==
==Grid Size==
Line 16: Line 18:


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.
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==
==Entities Max in Map==
Line 24: Line 24:


The limit can already be changed if that is indeed needed.
The limit can already be changed if that is indeed needed.


==Player Limits==
==Player Limits==
Line 52: Line 48:
Maximum gap to run jump mantle over = 176
Maximum gap to run jump mantle over = 176


Maximum fall without damage = 143.5
Maximum fall without damage = 143.5 '''***Note this is out of date due to recent fall damage changes***'''


==Slopes and Steps==
==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 slope for an AI is approximately 40 degrees from the horizontal but varies upon the situation and the AI.
The player can walk without slipping off on slopes no steeper than 45 degrees from the horizontal. If the terrain is rough this could be frustratingly difficult, however. By default, the player cannot mantle on slopes steeper than 45 degrees either (this is intended to avoid continuous-mantling exploits).


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]])
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]])


[[Category:Editing]]
[[Category:Editing]]

Revision as of 01:54, 2 June 2008

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.)

Conversion of game units

Main article: Conversion of Game Units

1 Dark Radiant grid unit = 1.1 inches

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 ***Note this is out of date due to recent fall damage changes***

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 player can walk without slipping off on slopes no steeper than 45 degrees from the horizontal. If the terrain is rough this could be frustratingly difficult, however. By default, the player cannot mantle on slopes steeper than 45 degrees either (this is intended to avoid continuous-mantling exploits).

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)