View Single Post
Re: v.absmin and v.absmax
Old
  (#4)
BAStumm
Member
 
BAStumm's Avatar
 
Status: Offline
Posts: 138
Join Date: Jan 2004
Location: Spokane, WA USA
Default Re: v.absmin and v.absmax - 13-01-2004

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.







Last edited by BAStumm; 13-01-2004 at 06:25..
  
Reply With Quote