PDA

View Full Version : Draw Enemy Names Through Walls like in Spectator



Kemi
23rd November 2015, 07:27
Is there a way to draw enemy names through walls like in spectator?

maxdamage99
23rd November 2015, 07:35
Tuefel make this) (NODL.ZOMBIES; 1.0)

php
23rd November 2015, 07:35
Could you be more specific?
For which game is this?

Kemi
23rd November 2015, 08:14
Could you be more specific?
For which game is this?
CoD4 Sorry, running libcod with 1.7a

Ni3ls
23rd November 2015, 09:14
Place a HUD above their head with their name

php
23rd November 2015, 09:26
Like Ni3ls said you could do that with HUDs/waypoints but I think there was a cvar for it also but i'm not sure.

IzNoGoD
23rd November 2015, 14:44
Waypoints cant show text

Kemi
26th November 2015, 17:32
Like Ni3ls said you could do that with HUDs/waypoints but I think there was a cvar for it also but i'm not sure.

I was hoping for a cvar or maybe a built-in function but couldn't find any in the script documentation for 1.7a/libcod/cod4 stock..
I know I could do the hud elem above a players head but I was hoping for something cleaner such as the spectator's draw enemy names through walls.

guiismiti
29th January 2016, 00:21
Waypoints cant show text

I'm not sure about this, but, even if waypoints could show text, you would need to precache the string of the hud on game initialization.

IzNoGoD
29th January 2016, 00:34
Nope, can hud setplayernamestring(player)

guiismiti
29th January 2016, 01:17
oh, ofcourse, I forgot that, somehow, it's done in spectator mode. Duh...