Quote:
Originally Posted by Silent Steel
When I open the .cfg files of a certain set of tools up there are several values for multiple objects like Square, Compass, Course, Eraser, Highlight and so on.
Then I open the various .tga files of each set of tools just to find most of them look the same...
|
Sorry Silent Steel, I should have mentioned that most of the 'extended' map tools
are identical. To fully understand their texture files you should enable their alpha channel, which contains all the detail: markings, crosshair, etc.
Quote:
Originally Posted by Silent Steel
So - how to know which one of them values in the .cfg I should adjust to get the e.g. compass to move to a certain place where I want a it to sit on the map...?
|
Think of the XO/YO values in the cfg file as the horizontal/vertical offset of each tool's origin (from where lines start being drawn), respective to top left corner of its own texture. Let's say that we have a 512 x 512 pixels texture. Setting its offsets to 0,0, would mean that the origin will be located at the top left corner; 512,512, on turn, means "start drawing from the bottom right corner"; finally, 256,256 places the origin at the center of the texture (note that this is not necessarily the exact crosshair's center, but it should get close)