Any scripts you've made or found? Discuss them here.
 #109555  by jawfin
 
Instead of holding Tab down to see the score, and letting go to hide it, I decided to write this, just because I can. This will make the Tab key show and hide the score - much like my crouch key toggle here.
Code: Select all
seta _t1 "+scores;set _t vstr _t2"
seta _t2 "-scores;set _t vstr _t1"
vstr _t2
bind tab vstr _t
So you could type those 4 lines into the console, or save it as a .cfg to exec.

Note this doesn't update the scores or pings as they change, but it will update any player that changes teams.

To restore original functionality just do
/bind tab +scores

 #109560  by Jato
 
Image

 #109561  by Jato
 
*edited* Double h4x
Last edited by Jato on Tue May 28, 2013 2:53 am, edited 1 time in total.

 #109562  by MasterM
 
Is there an advantage to this or a reasoning behind it? You say you just made it because you can lol

 #109589  by Key
 
MasterM wrote:Is there an advantage to this or a reasoning behind it? You say you just made it because you can lol

Pressing tab can create noticeable lag - especially if you're going to just test scores. I guess this is can be looked at as a way around it :P btw, I'm completely assuming here that it won't create lag like normally hitting tab will... haven't had a chance to try it

 #109602  by jawfin
 
It'll cause lag because you are in effect issuing the no-password-required rcon command of getstatus; also checking the score effectively reloads all the models everyone is using - which is the real cause of that lag, it's unavoidable.