Jump to content

Unit Measurements?


DarkSpyda04

Recommended Posts

if ( Player.GetDistance MS02BenirusManorWaitFollow <= 500 )

 

I'm looking at the line from MS02 that updates the quest when you first enter the manor. There's an X Marker near the door with the Reference Editor ID of "MS02BenirusManorWaitFollow" that is used to detect when the player enters its radius. My question is what are the unit measurements? 500Ft? 500In? 500Cm? I'm building a wordpad file with references to useful commands I'll be using and I'm trying to break down these commands so I can understand them.

Link to comment
Share on other sites

Oblivion uses a coordinate system with units which, like in Morrowind, are 21.3 'units' to a foot, or 7 units to 10 centimeters (or to put it another way 64 units per yard [~70 units per metre]). Internally the game converts from game units to centimeters by multiplying game units by 0.1428767293691635.

 

Another way of approximation is that any race at height 1.0 will be 128 'units' tall, and we assume that the average height of the people of Tamriel is 6 feet. 128 divided by 6 is 21+(1/3) (twenty-one and a third). Round this down, and 21 units per foot gives an average height of about 6' 1.14". This seems to be a reasonable approximation.

Source: http://cs.elderscrolls.com/index.php?title=Oblivion_Units

 

:smile:

Link to comment
Share on other sites

Alright, that helps. It'd just be nice if the radius was visibly clear around the X-Marker like it is game editors like Halo Reach's forge. That way I don't have to spend so much time doing math.

 

The quickest way to figure out units for distance calculations for packages and scripts is to create a new Light object with a given radius, turn on the light radius display, and move the light to where the location of where you need to check is located.

 

Kind of ghetto but it works.

 

Well I suppose it doesn't matter since I still need to know the unit measurements when I import custom objects. By the way, is it possible to import models from 3Ds Max 2011 or would I have to export them to Blender and then to .nif files?

 

Hm. That's strange. In 3Ds Max, a generic unit is equal to an inch so 12MU = 12In or 1Ft. Here however 21.3OU = 12In or 1Ft, nearly twice the size. A .563 difference to be exact. This means that 1OU = 1MU * 1.775

 

By the way, MU means "Max Unit", not "Metric Unit" just as OU means "Oblivion Unit"

 

In most cases, it is usually best to stick with multiples of 4 units when figuring out how high or large things should be.

 

Noted.

 

I figured out that 1OU = 1.48Cm because

1.48Cm * 21.3OU / 2.54Cm(1In) = 12.41(1Ft)

 

Therefore 4OU = 5.92Cm

 

Ladies and gentlemen, mathematics.

Edited by DarkSpyda04
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...