> Is there a way to access keyvalue info in the map from the client-side?\
> I keep on thinking you must be able to, since obviously the client side
> has the map, but I haven't been able to find any way to do it.
The engine has the map, yes, but you can't get to it there. You'll need to
load the BSP yourself and parse its entity lump. botman has some code on his
site to do it (bsp_tool); you'll need to hack it up pretty badly to get it
in HL, though. Took me a couple hours on and off to get it in and get it to
compile, but once I did, it works pretty well. =)
It's also GPLed code, which means you have to distribute changes you make to
it. Fortunately, we don't have to include our entire client DLLs, just the
BSP loading code. That said, let me know if you want it and I'll send it to
you (I personally don't want botman breathing down my neck about it. ;) )
Of course, it's obviously more educational for you to do it yourself (I
learned a lot about it editing the source), but if you're stuck, let me
know.
-James "Corvidae" Williams ([EMAIL PROTECTED])
Administrator, Wavelength Forums (http://www.planethalflife.com/wavelength)
Co-Leader / Coder, Underhive (http://www.underhive.com)
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders