![]() |
v.absmin and v.absmax
So PM you and I had this convo on botmans forum:
Quote:
|
Re: v.absmin and v.absmax
I was wrong in this discussion, worldspawn is not bindable as an entity. You can't do INDEXENT (0), it will give you an invalid edict pointer.
In order to know the map's bounding box, you have to read the BSP file and extract it yourself. It's simple : Code:
// load the bsp file and get its actual size (can't fail to do this, the map already booted) |
Re: v.absmin and v.absmax
thanks! :)
|
Re: v.absmin and v.absmax
Looks correct to me.
From your code in my mm plugin Code:
[root@Dragon root]# hlcmd -g dod -e 27016 watch |grep ABSMIN Code:
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. |
All times are GMT +2. The time now is 20:49. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.