VERC: Half-Life Unit To Real-Life Unit Conversion Last edited 2 years ago2022-09-29 07:54:48 UTC

The Half-Life unit to Real Life unit ratio has always been a hot topic of discussion. First off, let me get one thing straight: there is no ratio, period. It is completely impossible to find a perfectly proportional relationship between Half-Life units and real world units. Why might you ask? There are several reasons.

Usually when someone attempts to do this conversion they end up with 1 inch equaling 1 Half-Life unit. The logic behind their thinking simple - a player is 72 units in height, and the average human is 6 feet tall, or 72 inches. It doesn't take a genius to calculate 1 inch = 1 unit. But wait, the player is also 32 Half-Life units wide... I don?t know about you, but last I knew Gordon Freeman wasn't nearly 3 feet wide.

Ok, even so, you say 1 inch = 1 unit? but try to actually build a map using this ratio. I guarantee you things will look very odd and disproportionate. Things like doors and doorways will look especially strange.

The Half-Life engine was simply not built with real life scale in mind. In actuality, 1 Half-Life unit equals 1 texture pixel. All the textures were designed to look in-scale with the player's vision (which doesn't have the same view cone as a normal human). If you want to make something in scale, you won't be doing it in inches, meters, or any other real life measurement.

Scaling Techniques

You can still scale things to how they appear to the player, however. Most doors are generally 64 to 96 units wide, and 96 to 128 units tall. Hallways are anywhere from 64 to 256 units wide, and 96 to 192 units tall, just depends on what your trying to map. Stairs should almost always go up by 8 units each step, 16 is far too much and just makes the stairs look, well bad. Stair width is also good to keep low, usually 12 or 16, 32 is just too wide and your stairs will be extremely long, and 8 is too compact and claustrophobic. Using an info_player_start entity for scaling is very useful, as is the Half-Life Dimensions article. Knowing these limits will help you further understand what the player is able to do within the level and how he or she can navigate obstacles.

Textures also help scale the size of rooms and corridors. Most are 128 x 128 units, and that is also the general height of a hallway or room. Of course you can always scale a texture to make it fit in a larger area, but you'll loose quality. Doors are also meant to be kept at a 1-to-1 scale, and are usually 64 x 96 units in size. Trying to apply these textures with a real life scale, like 1 inch = 1 unit, will just result in odd looking, malformed textures.
This article was originally published on Valve Editing Resource Collective (VERC).
The archived page is available here.
TWHL only publishes archived articles from defunct websites, or with permission. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

1 Comment

Commented 3 months ago2024-09-04 07:55:34 UTC Comment #106362
2'8" is too wide? I eyeballed my shoulders and they're exactly 2ft. Add to that a bulky HEV suit and a little bit of personal space and 2'8" isn't too bad. The doors around my house are 3ft wide and would fit him just fine.

And don't forget that info_hullshape exists now. You can squeeze Gordon into as narrow a space as you like. It's just that his buddies (and enemies) can't follow.

The biggest flaw with sticking to 16u = 1ft in Sourceland is that you have rooms that are visibly too large... exactly 33% too large. NPCs interact with door handles and buttons at chest height that in real world (and visually in Sourceland) are at the halfway point i.e. waist height. And props are built with 12HU=1ft as well so they're also 75% of the size relative to the geometry of the room they're in.

You must log in to post a comment. You can login or register a new account.