Page 1 of 1

Unreal units > metric measures

Posted: Wed Apr 10, 2019 11:15 am
by TheDane
I'm sorry if this has been asked before!

I'm currently doing a mod that traces the distance from player to various objects in the level. These traces results in a number in unreal units. Now I want to display the distance using metric system on the HUD.

I'm using the Introdude decoration actor for sizing as I build the map for my mod, and I've placed a player model actor besides him and they seem close to same size. So ... how tall is this dude? my guess is 190 cm, don't ask me why, he just looks that way haha.

So from measuring his height in UU (aprox 80 UU), I get that 1 UU is equal to 2,375 cm ( 190/80 ).

Does anyone agree on this sizing or have used other measures? Is there a "standard" lost in an old achive I've missed somewhere?

Re: Unreal units > metric measures

Posted: Wed Apr 10, 2019 12:07 pm
by Hellkeeper
No, you're fine, the only thing that can be discussed is the height you chose for the player. 1m90 is tall, but that's probably normal for the Danes. :P
All the attempts I've seen at doing this conversion take the player model to be 1m80, which would get 1 UU = 2.25 cm, but the different is minimal except if you're trying to get a precise distance from an actor very far away.

Things are easier in UT200X because the player is 96 units tall, so the same assumption (player is 1m80 tall) makes 16 UU equivalent to one foot and you can then have easier measurements by using american units.

Re: Unreal units > metric measures

Posted: Wed Apr 10, 2019 12:08 pm
by Barbie
Wiki says:

Code: Select all

    256 UU = 487.68 cm = 16 feet.
    1 meter = 52.5 UU
    1 foot = 16 UU
    1 cm = 0.525 UU
    1 UU = 0.75 inches

Re: Unreal units > metric measures

Posted: Wed Apr 10, 2019 12:18 pm
by Hellkeeper
Barbie wrote:Wiki says:

Code: Select all

    256 UU = 487.68 cm = 16 feet.
    1 meter = 52.5 UU
    1 foot = 16 UU
    1 cm = 0.525 UU
    1 UU = 0.75 inches
This is better applied to UT2004, where 256 UU = 16f is a good approximation. The conversion from UU to cm is x/16*30 (256/16*30 ≈ 480), and 80/16*30 = 150. This makes players a whooping 1m50 which is slightly smaller than my little sister.