<?xml version="1.0" ?><rss version="2.0">
    <channel>
	<title>ETF2L &#8211; Latest activity in &#8220;tweak a class config?&#8221;</title>
	<link>https://staging.etf2l.org/forum/customise/topic-20323/</link>
	<description><![CDATA[The latest posts to this topic.]]></description>
    	<item>
    	    <title>Reply by broesel</title>
    	    <link>https://staging.etf2l.org/forum/customise/topic-20323/page-1/?recent=367089#post=367089</link>
    	    <description><![CDATA[Currently, my crosshair switcher uses 6 aliases that reference each other, and work like this: (active slot --&#62; reference to previous slot)

1 --&#62; 2
1 --&#62; 3

2 --&#62; 1
2 --&#62; 3

3 --&#62; 1
3 --&#62; 2

Now, to make that work with 4 slots, you'd need to have 12 aliases that reference each other:

1 --&#62; 2
1 --&#62; 3
1 --&#62; 4

2 --&#62; 1
2 --&#62; 3
2 --&#62; 4

3 --&#62; 1
3 --&#62; 2
3 --&#62; 4

4 --&#62; 1
4 --&#62; 2
4 --&#62; 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.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=customise&#038;topic=20323&#038;post=367089</guid>
    	    <pubDate>Mon, 13 Feb 2012 19:44:45 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Permzilla</title>
    	    <link>https://staging.etf2l.org/forum/customise/topic-20323/page-1/?recent=367089#post=367037</link>
    	    <description><![CDATA[I get this problem using broesels crosshair switcher as well]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=customise&#038;topic=20323&#038;post=367037</guid>
    	    <pubDate>Mon, 13 Feb 2012 17:34:00 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by TviQ</title>
    	    <link>https://staging.etf2l.org/forum/customise/topic-20323/page-1/?recent=367089#post=367036</link>
    	    <description><![CDATA[<i>Quoted from WildEast</i>
		<blockquote>[...]

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?</blockquote>
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]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=customise&#038;topic=20323&#038;post=367036</guid>
    	    <pubDate>Mon, 13 Feb 2012 17:33:41 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Reply by Wulfzord</title>
    	    <link>https://staging.etf2l.org/forum/customise/topic-20323/page-1/?recent=367089#post=367033</link>
    	    <description><![CDATA[
		<blockquote>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
</blockquote>

This is what I have, just put it in ever class cfg, and edit it to your liking.]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=customise&#038;topic=20323&#038;post=367033</guid>
    	    <pubDate>Mon, 13 Feb 2012 17:19:11 +0100</pubDate>
    	</item>
    	<item>
    	    <title>Created by WildEast</title>
    	    <link>https://staging.etf2l.org/forum/customise/topic-20323/page-1/?recent=367089#post=367031</link>
    	    <description><![CDATA[
		<blockquote>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"</blockquote>

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?]]></description>
    	    <guid isPermaLink="false">generator=rsdiscuss&#038;baseurl=https://staging.etf2l.org&#038;feed=forum&#038;forum=customise&#038;topic=20323&#038;post=367031</guid>
    	    <pubDate>Mon, 13 Feb 2012 17:13:48 +0100</pubDate>
    	</item>
    </channel>
</rss>