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: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added a new section)
(added player height and camera height (also abbreviated inches))
Line 3: Line 3:
{{stub}}
{{stub}}


The standard measurement in GoldSrc is a '''unit''' which is roughly equivalent to 1 inch or 2.54 cm.
The standard measurement in GoldSrc is a '''unit''' (normally referred to as a Hammer Unit or Quake Unit) which is roughly equivalent to 1 in. or 2.54 cm.
== Map Size ==
== Map Size ==
* 4096x4096 is the max size for a GoldSrc map.
* 4096x4096 is the max size for a GoldSrc map.
== Constraints ==
== Measurements ==
* 18 units: maximum height that a player can walk (or crouch-walk) up
* 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
* 32 units: maximum width between objects that a player can walk (or crouch-walk) over
Line 13: Line 13:
* 45 units: maximum height that a player can jump up
* 45 units: maximum height that a player can jump up
* 63 units: maximum height that a player can jump-crouch 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
* 73 units: minimum height that a player can walk beneath



Revision as of 12:10, 12 March 2025

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 is roughly equivalent to 1 in. or 2.54 cm.

Map Size

  • 4096x4096 is the max size for a GoldSrc map.

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