Results 1 to 10 of 27

Thread: Replicating the binoculars bug?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by filthy_freak_ View Post
    I'v already tried making a player.hud element and set foreground to true hoping it would simply cover the bot's name, no luck.
    you also set the hud.sort to its proper value? (i dont know this value tho..) i also tried to change this but without much script work etc it seems impossible, for me its not worth the amount of work to be done.

    EDIT:

    yeah, but how did you hide then the standard 'Killed by' and 'You killed'?
    Last edited by serthy; 2nd May 2014 at 16:14.

  2. #2
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Quote Originally Posted by serthy View Post
    you also set the hud.sort to its proper value? (i dont know this value tho..)
    Not 100% sure what this does yet but i'll fiddle with it.

    Quote Originally Posted by serthy View Post
    it seems impossible
    Yeah and thats what they said about having custom bot names. I just hope there is a solution that doesn't require me making it too unrealistic.

    Quote Originally Posted by serthy View Post
    yeah, but how did you hide then the standard 'Killed by' and 'You killed'?
    I'm not using the game's obituary at all, so it doesn't send out information like "Killed by" or the "Player 1 [Headshot Icon] Player 2" you see in the killfeed. I made my own obituary from scratch.

    Remove
    Code:
    obituary(self, attacker, sWeapon, sMeansOfDeath);
    from Callback_PlayerKilled

    and you will notice it disables a few things.

    If you want to specifically disable the "You killed" & "Killed by" messages and keep the killfeed/obituary working let me know, there is another way to disable it.
    Last edited by filthy_freak_; 2nd May 2014 at 16:27.

  3. #3
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    I just tried hud.sort nothing changes whether its set to 0, 1, or 100.

    Here is what it looks like;
    Click image for larger version. 

Name:	bot.png 
Views:	123 
Size:	106.1 KB 
ID:	699

    I could try forcing the spectator to have a menu open which would hide all 2d objects and I could use the menu to display the scores, player name etc.

    However the killfeed/rank info/"Killed by" & "You killed" would be hidden.

    Best solution thus far but still hoping I can find a better one.

  4. #4
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    also tried negative values?
    i know that its possible to draw a hud over the menu ones, however menus huds (hud.menu) is still behind them you want to override

    However the killfeed/rank info/"Killed by" & "You killed" would be hidden.
    There is a workaround, would like to explain this in xf and link the talk in here, intrested?

  5. #5
    Private First Class
    Join Date
    Oct 2013
    Posts
    219
    Thanks
    56
    Thanked 105 Times in 66 Posts
    Quote Originally Posted by serthy View Post
    also tried negative values?
    Just did, makes the hud disappear completely.

    Quote Originally Posted by serthy View Post
    i know that its possible to draw a hud over the menu ones, however menus huds (hud.menu) is still behind them you want to override
    Yeah I just tried using hud.menu, you are correct.

    Quote Originally Posted by serthy View Post
    There is a workaround
    I know a possible workaround for this using the quickmenu, but doesn't work while spectating.

    You can add me to xf via filthyfreak
    Last edited by filthy_freak_; 2nd May 2014 at 17:14.

Posting Permissions

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