Build units: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Nexus (talk | contribs)
m remove needless comma
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The Build engine has its own set of units termed, "Build Units."
The Build engine has its own set of units termed "Build Units."


==Dimension==
==Dimension==


Build units expressed in terms of length, width, and height. "One build unit" is usually identified as the largest grid size in Build editor. This equal to 1024 in coordinates.
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. An 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.
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.


"One build unit", also equal to the default (non-strecthed) size of an 64 pixels tile (i. e. paviment texture, ventilation duct texture, etc)
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, "one build unit" is around 2 meters / 6 or 7 feets. That scale is beyond that of an standing human (Duke of babes characters) and the usual size for doors.
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==
==Degree==
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 30 Build engine time units.

Latest revision as of 23:46, 24 October 2014

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 30 Build engine time units.