This article relates to the game "Counter-Strike". Click here for more information.
This article's documentation is for the "GoldSrc" engine. Click here for more information.
This article relates to the game "Half-Life". Click here for more information.

GoldSrc Dimensions

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

The standard measurement in GoldSrc is a unit (normally referred to as a Hammer Unit or Quake Unit) which are loosely described to be equal to 1 imperial Wikipedia icon inch (2.54 centimeters) or 0.75 inches (1.905 cm.). These are loose approximations, however, and dimensions may vary depending upon what "feels right" in-game, rather than a direct conversion of the real-life dimensions.

Map Size

8192x8192 is the max size for a GoldSrc map in most games. This is 4096 units from the map's origin.

World geometry can be placed outside of these bounds, but it will be clipped off unless the game code and delta.lst accounts for it (such as in Sven Co-op Sven Co-op). [Clarify]

Measurements

  • 18 units: maximum height that a player can walk (or crouch-walk) up
  • 32 units: maximum width between objects that a player can walk (or crouch-walk) over
  • 33 units: minimum width between objects that a player can pass through
  • 37 units: minimum height that a player can crouch beneath
  • 45 units: maximum height that a player can jump up
  • 63 units: maximum height that a player can jump-crouch up
  • 64 units: (approx) horizontal player camera level
  • 72 units: HL1 player height
  • 73 units: minimum height that a player can walk beneath

Half-Life, Counter-Strike and most GoldSrc games

[Short Explanation] HL Unit sizes

Day of Defeat

External links