Quote[/b] (Duke John @ Aug. 10 2003,14:13)]
Image-origin
That leaves the coordinates, x0 and y0, which will be made clear with the image below:
http://chronicles.metw.net/images/guide/rectangle.jpg
The x0 and y0 coordinates equal the distance between the topleft corner, O0, of the
image-rectangle and an imaginary point somewhere between the feet of the soldier (the red plus-sign). This point will from now on be called the
image-origin. The image-origin can be found by drawing a straight line down the spine of the soldier and intersect with a line between the soldiers feet. These coordinates are relative, to calculate the values you must substract x1 en y1 from the absolute image-origin coordinates.
The image-origin is used as a reference for placing the weapons and shields and to avoid having the soldier "jump" around when the angle changes in-game.