This is a simple Script that allows you to switch between crosshair- and viewmodel-settings for each slot and class individually. It also doesn’t show the behaviour of other crosshair switcher scripts to screw up lastinv (Q).
Whereas other crosshair switcher scripts just switch between slot1 and slot 2 when you press Q or whatever key you have bound lastinv to, this script executes the lastinv command just like 'normal TF2'.
Also, this script allows you to change the slots in the quickswitch menu with the slot keys (doesn't work in other scripts ;)) and doesn't switch the crosshair and viewmodel settings but not the weapon when you scroll up/down while looking at the scoreboard - it simply does nothing when showing the scoreboard, just like normal TF2 ;)
However, this script requires you to put your desired settings into a (clearly arranged) config file and doesn't offer a UI to do so.
So, if you're looking for something that's easy to handle and uses an external program to adjust your settings, go for Aron's Crosshair Switcher. However, if you want lastinv, quickswitch and the scoreboard to work like it does in TF2 without using any scripts and are not afraid of writing something in the lines of "green big cross" into a cfg file, then this is definitely for you :)
Installation
To install the Crosshair Switcher, extract the cfg folder to:Program Files\Steam\steamapps\<user name>\team fortress 2\tf\
REMEMBER TO BACKUP YOUR CLASS CFG'S BEFORE INSTALLING THE CROSSHAIR SWITCHER, IF YOU HAVE ANY CLASS-SPECIFIC SCRIPTS IN THERE!
customize your crosshairs
open cfg/crosshairswitcher/settings.cfg and edit the aliases there which are following this syntax:<class>_<slot> "size; color; type; viewmodel FOV or viewmodel off"
to your liking. At the top, you also find 3 presets you can change.
Disabling the script for certain classes:
To disable crosshair-switching for a class, simply put this into the class cfg file:exec crosshairswitcher/disable-crosshairswitcher; size; color; type; viewmodel_fov
Per default, the switcher is disabled for Engie and Spy.
customize your binds
open cfg/crosshairswitcher/binds.cfg and change the binds for the functions listed there to your liking.I've already made a section under the default binds which sets the script to select slot1 on mousewheel UP, slot2 on mousewheel DOWN and slot3 with the upper thumbbutton.
To use this alternate bind-config, simply uncomment the whole section and leave the upper one - it will then overwrite the default settings.
If you want to have the lastweapon command just switch between your primary and secondary weapon, uncomment the last section and change q to something else if you prefer a different key.
Integration of other scripts
If you have any other scripts, insert them into the class cfg files from your backup. Note that to work correctly, they will now require weapon1 instead of slot1 and so on - otherwise your scripts will just change the slot and not the crosshair.To do this, simply do "search and replace" in your text editor and let it replace all "slot"'s with "weapon"'s.
You don't have to do this for classes where you disabled the crosshair switcher.
Download ->> Broesels Crosshair switcher
No comments:
Post a Comment