Looks correct to me.
From your code in my mm plugin
Code:
[root@Dragon root]# hlcmd -g dod -e 27016 watch |grep ABSMIN
** ABSMIN-X: -1152.000000 ABSMAX-X:2000.000000 **
** ABSMIN-Y: -2432.000000 ABSMAX-Y:2752.000000 **
From overviews/dod_avalanche.txt
Code:
// overview description file for dod_avalanche.bsp
global
{
ZOOM 1.58
ORIGIN 424 160 -609
ROTATED 0
}
layer
{
IMAGE "overviews/dod_avalanche.bmp"
HEIGHT -609
}
Math seems right to me...
Still need to
use this new data to pre-offset the output coords but it fixes a big problem I've had with the code for my hlwebtv and phpua projects.
oh and I had messaged you once about this PM, but in the end I finally broke down and forced myself to figure out metamod coding. It was a lot easier than I thought. My botman code dropped right in after I figured out the sudtle differences and what not.