Results 1 to 10 of 27

Thread: Replicating the binoculars bug?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    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 could try to monitor the attack button and cycle this way through all players and set these variables:
    Code:
    spectator.spectatorclient = player getEntityNumber();
    spectator.psoffsettime = 0;
    spectator.archivetime = 0;
    However this does not prevent the spectator from pressing the right mouse button, maybe unbind the mouse buttons while spectating and rebind when spawned via clientcmd-method?

    Or when all bots are in the same team you could use some parts out of the maps\mp\gametypes\_spectating.gsc?
    Hmm none of those sound like a good solution. I'm just hoping there is a way I could somehow make the bots open & close their binoculars all the time, without interrupting movement and ability to fire, or atleast duplicate the bug the binoculars cause.

    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.

    EDIT:
    Quote Originally Posted by serthy View Post
    i like this layout
    how did you changed the font of the 'You killed'?
    I made it from scratch using hud elements and setting hud.font to console font. That makes the font monotone and easy to calculate where things need to be.
    Last edited by filthy_freak_; 2nd May 2014 at 16:11.

Posting Permissions

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