Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Draw Enemy Names Through Walls like in Spectator

  1. #1
    Private
    Join Date
    Nov 2014
    Posts
    25
    Thanks
    9
    Thanked 3 Times in 2 Posts

    Draw Enemy Names Through Walls like in Spectator

    Is there a way to draw enemy names through walls like in spectator?

  2. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Tuefel make this) (NODL.ZOMBIES; 1.0)

  3. #3
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    Could you be more specific?
    For which game is this?

  4. #4
    Private
    Join Date
    Nov 2014
    Posts
    25
    Thanks
    9
    Thanked 3 Times in 2 Posts
    Quote Originally Posted by php View Post
    Could you be more specific?
    For which game is this?
    CoD4 Sorry, running libcod with 1.7a

  5. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Place a HUD above their head with their name

  6. #6
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    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.

  7. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Waypoints cant show text
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  8. #8
    Private
    Join Date
    Nov 2014
    Posts
    25
    Thanks
    9
    Thanked 3 Times in 2 Posts
    Quote Originally Posted by php View Post
    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.

  9. #9
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    Quote Originally Posted by IzNoGoD View Post
    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.
    set logfile 2

  10. #10
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Nope, can hud setplayernamestring(player)
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •