User panel stuff on forum
  4 posts on 1 page  1
Advanced Configuration
2009-11-08, 05:40
Member
57 posts

Registered:
Apr 2007
I'm using a slightly lower sens when shafting:

alias +lg "impulse 8 2 5 4;pre_attack;sensitivity 2.6;+attack"
alias -lg "-attack;impulse 2;pst_attack;sensitivity 3"
alias pre_attack "crosshairalpha 0.1"
alias pst_attack "crosshairalpha 0.6"

Now to the problem. When I die shafting, and then activate some other weapon bind (pressing the "e" for example) before releasing the +attack, I respawn and the sens is stuck at 2.6.
This is because the -lg alias is never executed.

The principle for all the other weapon binds:
bind e "bind mouse1 +sg"

It of course worked setting "sensitivity 3" for all the weapon binds, but there must be a better solution, yes?

Thx

Edit: This is just getting weirder, I just noticed that when I die firing +lg and press some bind, the crosshairalpha gets set to 0.6 when I stop firing. The sens is still stuck at 2.6 though - HALP!
2009-11-08, 10:19
Member
1435 posts

Registered:
Jan 2006
add some "echo testabcd" to your aliases to determine what gets executed when and when it does not go as you expect
2009-11-08, 12:00
Member
57 posts

Registered:
Apr 2007
Can someone please test this CFG and see if you get the same result?


alias pre_attack "crosshairalpha 0.1"
alias pst_attack "crosshairalpha 0.6"

alias +lg "impulse 8 2 5 4; pre_attack; sensitivity 2.6; +attack"
alias -lg "echo test!A; -attack; echo test!B; impulse 2; echo test!C; pst_attack; echo test!D; sensitivity 3; echo test!E"

alias +sg "impulse 2 3 5 4 8 1;pre_attack;+attack"
alias -sg "-attack;pst_attack"

bind e "bind mouse1 +sg"
bind f "bind mouse1 +lg"


Replicate the problem and my result:

#01 - Take LG on dm4
#02 - Press Keyboard F
#03 - Mouse1Down
#04 - Mouse1Up
#05 - test!A through !E gets echoed correctly
#06 - Jump into lava and Mouse1Down (discharge)
#07 - Press Keyboard E
#08 - Mouse1Up
#09 - Crosshairalpha gets reset to 0.6
#10 - Jump as normal to respawn
#11 - Sensitivity is stuck at 2.6

The weirdest thing is that the crosshairalpha gets "reset" to 0.6 at #09 - but no echoes are shown
2009-11-08, 12:47
Member
57 posts

Registered:
Apr 2007
Ok I updated the following alias for enhanced debugging and guess what happens?

alias pst_attack "echo A; crosshairalpha 0.6; echo B"

Now A and B gets echoed after #08. What's going on?!
  4 posts on 1 page  1