Page 3 of 3

Re: Xash3D experimental fork

Posted: Mon Aug 11, 2025 8:16 pm
by bart
New build:
  • Added func_eye in hl.dll, brush entity that looks at the nearest player, toggled by using it in any way, give it an origin brush!
  • Added function: CBaseEntity *UTIL_GetClosestPlayer( CBaseEntity *pEnt ) - gives the nearest player, dead or alive
This is only experimental entity to see how adding custom ents works and rotation of brush-based entities.

Re: Xash3D experimental fork

Posted: Tue Aug 12, 2025 2:19 am
by bart
Here is a map that shows functionality of func_eye (try ent_fire eye1, eye2, eyemm)