I am trying to get the origin of brush based entities, specifically a
func_bomb_target. pev->origin is all 0, pev->absmin and absmax. VecBModelOrigin
returns -1, -1, -1.

I am trying to support CS de type maps, as they fit my mod well. I already have
HLDM working properly :}

I am using LINK_ENTITY_TO_CLASS to map a func_bomb_target to a custom entity,
which basically spawns a func_breakable and removes itself. So i need the origin
to place the func_breakable .

I had a look in the bsp file, and it does not contain the origin, so I have to get
it from the engine.

Playing de_dust as a Gargantua trying to blow up some human gadget would rock :)

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

Reply via email to