Build units: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Nexus (talk | contribs)
m →‎Dimension: - various spelling and grammar fixes
Nexus (talk | contribs)
→‎Time: -pretty sure 32 units = 1 second
Line 19: Line 19:
==Time==
==Time==


Build unitsexpressed in time. One second is equal to 26 Build engine time units.
Build units expressed in time. One second is equal to 32 Build engine time units.

Revision as of 02:02, 13 November 2010

The Build engine has its own set of units termed, "Build Units."

Dimension

Build units expressed in terms of length, width, and height. One block of the largest grid size in Build editor equal to 1024.

The height scale is different. A z coordinate is 16 times that of x-y coordinates. In other words, a wall with 1024 of length equal in height for a value of 16384.

1024 units also equal to the default (non-stretched) size of an 64 pixels tile (i.e. pavement texture, ventilation duct texture, etc).

In real world proportions, 1024 units is around 2 meters / 6 or 7 feet. That scale is beyond that of a standing human (Duke or babes characters) and the usual size for doors height.

Degree

For orientation in the rotational direction, the Build engine uses a 2048-degree scale (as opposed to 360 degrees.)

This means that a 90 degree angle is equal to 512 build units. In relation to the direction a sprite/actor is facing, a value of 0 means the actor/sprite is facing due East. The numbering goes up clockwise until 2047 (just counterclockwise from facing due East.)

Time

Build units expressed in time. One second is equal to 32 Build engine time units.