# Gauss Boost Script Issue

**URL:** <https://forums.sourceruns.org/t/gauss-boost-script-issue/2307>\
**Category:** ⚙ Technical Support\
**Created:** [February 20, 2014, 11:41am UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307 "2014-02-20T11:41:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![treetoon](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/treetoon/32/41_2.png) [@treetoon](https://forums.sourceruns.org/u/treetoon)\
**Post date:** [February 20, 2014, 11:41am UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/1 "2014-02-20T11:41:20Z")

</div>

```auto
// Gauss boost 
alias +tau +attack2 
alias -tau "cl_pitchup 180;cl_pitchdown -180;-attack2;wait;cl_pitchup -12;cl_pitchdown 12;wait;cl_pitchup 89.999;cl_pitchdown 89.999" 

```

Every time I save and load the crosshair changes to the Gauss position, this is problematic when doing segments as the screen will jump at every segment. It also jumps to the middle of the screen after ESCAPE is pressed from the menu to unpause the game.

Is there any way to fix this? I’ve unbound it for now.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![execut4ble](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/execut4ble/32/14_2.png) [@execut4ble](https://forums.sourceruns.org/u/execut4ble)\
**Post date:** [February 20, 2014, 11:54am UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/2 "2014-02-20T11:54:42Z")

</div>

Try keeping the script in a separate CFG file and then make a bind to execute it so it’ll only work when you need it and will not execute -tau during loads. All alias commands with - execute on a level load, unpause for some reason.

---

<div class="post-metadata">

**Author:** ![treetoon](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/treetoon/32/41_2.png) [@treetoon](https://forums.sourceruns.org/u/treetoon)\
**Post date:** [February 23, 2014, 10:37am UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/3 "2014-02-23T10:37:06Z")

</div>

But the seperate CFG file would always execute when the userconfig.cfg is executed unless there is a way to make sure it doesn’t on loads.  
I couldn’t get that working at least, so I’ve bound two buttons, one to bind my +tau key, and one to unbind it. This fixes my problem kind of, even tho I would really love to have the Gauss bound at all times.

Anyone interested in specifics, here’s what I did:

```auto
//Gauss boost
unbind "mouse5" //makes sure Gauss boost is off on startup
alias +tau +attack2
alias -tau "cl_pitchup 180;cl_pitchdown -180;-attack2;wait;cl_pitchup -12;cl_pitchdown 12;wait;cl_pitchup 89.999;cl_pitchdown 89.999"
bind "UPARROW" "bind mouse5 +tau"
bind "DOWNARROW" "unbind mouse5"

```

I’m not to familiar with this scripting language, if anyone could throw together something better I’d be very happy 🙂

---

<div class="post-metadata">

**Author:** ![Matherunner](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/matherunner/32/215_2.png) [@Matherunner](https://forums.sourceruns.org/u/Matherunner)\
**Post date:** [February 23, 2014, 11:30am UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/4 "2014-02-23T11:30:58Z")

</div>

How about

```auto
alias _taubo
alias _taubofunc "cl_pitchup 180;cl_pitchdown -180;-attack2;wait;cl_pitchup -12;cl_pitchdown 12;wait;cl_pitchup 89.999;cl_pitchdown 89.999"
alias +tau "+attack2; alias _taubo _taubofunc"
alias -tau "_taubo; alias _taubo"
bind mouse5 +tau

```

This is the standard boilerplate to avoid the situation you encountered. No need to unbind or things like that. Modify \_taubofunc to suit your needs.

---

<div class="post-metadata">

**Author:** ![treetoon](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/treetoon/32/41_2.png) [@treetoon](https://forums.sourceruns.org/u/treetoon)\
**Post date:** [February 26, 2014, 9:46pm UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/5 "2014-02-26T21:46:23Z")

</div>

Thanks! works great

---

<div class="post-metadata">

**Author:** ![Burgmond](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/b/a9adbd/32.png) [@Burgmond](https://forums.sourceruns.org/u/Burgmond)\
**Post date:** [February 27, 2014, 7:59pm UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/6 "2014-02-27T19:59:11Z")

</div>

Airstrafers, if I were you I would see if I could get a hold of Quad and see if he can get that script into the HL1 helpdesk thread. Its very useful to not have a tau boost go off after a quick load.

---

<div class="post-metadata">

**Author:** ![execut4ble](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/execut4ble/32/14_2.png) [@execut4ble](https://forums.sourceruns.org/u/execut4ble)\
**Post date:** [February 27, 2014, 8:26pm UTC](https://forums.sourceruns.org/t/gauss-boost-script-issue/2307/7 "2014-02-27T20:26:44Z")

</div>

Added this to the Wiki.
