x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 
x
To those who participated in the Highlander Season 32 (Summer 2024), please fill out this Feedback Form for the current & next Highlander seasons!

Forum

tweak a class config?

Created 13th February 2012 @ 16:13

Add A Reply Pages: 1

WildEast

.:EnG!:.
<3

alias wep1 “slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep-3; alias lastwep wep1; keybind1”
alias wep2 “slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep-1; alias lastwep wep2; keybind2”
alias wep3 “slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep-2; alias lastwep wep3; keybind3”
alias wep-1 “slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep2; alias lastwep wep-1; keybind-1”
alias wep-2 “slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep3; alias lastwep wep-2; keybind-2”
alias wep-3 “slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep1; alias lastwep wep-3; keybind-3”
alias keybind1 “alias key1 wep1; alias key2 mousedown; alias key3 mouseup”
alias keybind2 “alias key1 mouseup; alias key2 wep2; alias key3 mousedown”
alias keybind3 “alias key1 mousedown; alias key2 mouseup; alias key3 wep3”
alias keybind-1 “alias key1 wep-1; alias key2 mousedown; alias key3 mouseup”
alias keybind-2 “alias key1 mouseup; alias key2 wep-2; alias key3 mousedown”
alias keybind-3 “alias key1 mousedown; alias key2 mouseup; alias key3 wep-3”
alias mouseup “wep-3”
alias mousedown “wep2”
alias quickswap “lastwep”
alias lastwep “wep2”
alias key1 “wep1”
alias key2 “mousedown”
alias key3 “mouseup”
alias key4 “slot4; extrakey”
alias key5 “slot5; extrakey”
alias extrakey “alias mouseup wep-3; alias mousedown wep1; alias quickswap lastwep; alias lastwep wep3”
// DO NOT MESS WITH THE ABOVE STUFF
// EDIT THE FOLLOWING ALIASES, SEE DESCRIPTION BELOW
alias wep1com “r_drawviewmodel 0”
alias wep2com “r_drawviewmodel 1”
alias wep3com “r_drawviewmodel 1”
//BACKUP
bind MWHEELUP mouseup
bind MWHEELDOWN mousedown
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5

sensitivity 0.9

bind f5 “exec scout2”

Basically that config is for changing viewmodels across weapons etc., its working fine for all classes, except spy/engineer because they have 4 weapon slots not 3 (its working, but I can’t switch to fourth weapon slot with the mousewheel). Any help tweaking that?

Wolf :D

PStM
DStS

alias lw “s2”

alias s1 “slot1; r_drawviewmodel 0; alias lw s2; alias nw nw2; alias pw pw3”
alias s2 “slot2; r_drawviewmodel 1; alias lw s1; alias nw nw3; alias pw pw1”
alias s3 “slot3; r_drawviewmodel 1; alias lw s1; alias nw nw1; alias pw pw2”

bind q lw

bind 1 s1
bind 2 s2
bind 3 s3

alias nw1 “s1; alias nw nw2; alias pw pw3”
alias nw2 “s2; alias nw nw3; alias pw pw1”
alias nw3 “s3; alias nw nw1; alias pw pw2”

alias pw1 “s1; alias pw pw3; alias nw nw2”
alias pw2 “s2; alias pw pw1; alias nw nw3”
alias pw3 “s3; alias pw pw2; alias nw nw1”

alias nw nw2
alias pw pw3

bind mwheelup nw
bind mwheeldown pw

This is what I have, just put it in ever class cfg, and edit it to your liking.

TviQ

ft.
007

Quoted from WildEast

[…]

Basically that config is for changing viewmodels across weapons etc., its working fine for all classes, except spy/engineer because they have 4 weapon slots not 3 (its working, but I can’t switch to fourth weapon slot with the mousewheel). Any help tweaking that?

Ok can i just ask Why the bloody hell would you even use that? JUST to switch viewmodel off and on? on diffrent weapons, makes no sense at all

Permzilla

(Legend)
(☞゚ヮ゚)☞
WiK?

I get this problem using broesels crosshair switcher as well

broesel

LAME

Currently, my crosshair switcher uses 6 aliases that reference each other, and work like this: (active slot –> reference to previous slot)

1 –> 2
1 –> 3

2 –> 1
2 –> 3

3 –> 1
3 –> 2

Now, to make that work with 4 slots, you’d need to have 12 aliases that reference each other:

1 –> 2
1 –> 3
1 –> 4

2 –> 1
2 –> 3
2 –> 4

3 –> 1
3 –> 2
3 –> 4

4 –> 1
4 –> 2
4 –> 3

That’s a shitload of work because you’d not only have to rewrite all these aliases, but also include some mechanism to switch to a 6-alias script when you’re not playing Engie or Spy. And not even then you’re done, as there’s still a lot of stuff to consider in terms of making the script immune to game mechanics that could break it, one of which being the fact that when you click on a PDA, it switches to your last slot. Thus, a 12-alias script woud also have to incorporate the slot and +attack commands.

Maybe I’ll update my crosshair switcher one day to have this functionality, can’t even try it at the moment though because I’ve got no TF2 installed.

Add A Reply Pages: 1