> Yea theres a way but im not entirely sure how...

IIRC from my BSP_tools dumper, the world is a model just like all the other
brush models.  In the .bsp file the world is model index=0 and brush models
start at 1.

You have the engine function pfnGetModelPtr() to return the void pointer of
a model.  The world should also be an entity (index=0 or index=1).  Try
calling pfnGetModelPtr() with entity index 0 or 1 and see if that works (of
course, you'll have to convert the entity index to an edict_t pointer before
calling pfnGetModelPtr, but that should be pretty straight forward also
using pfnPEntityOfEntIndex).

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to