Forum
Executing specific commands by changing weapon slots
Created 10th December 2009 @ 18:53
Add A Reply Pages: 1
hey there,
this is a script that I made and I searched long time for it, the scripters of you might know that it’s pretty difficult and complex to execute commands (change custom crosshair) when changing weapon slot and still beeing able to use Q and mousewheel. Finnally I found a method to do it.
I pretty explained almost everything in the config itself :)
Just insert them in you’re class-cfg’s which should be located at:
C:Program FilesSteamsteamappsYOURACCOUNTteam fortress 2tf
Insert this in the class-cfg were you want to execute commands:
http://dl.dropbox.com/u/2431626/script1.txt
insert this to ALL other class-cfg’s:
http://dl.dropbox.com/u/2431626/script2.txt
Last edited by Aron,
I believe the comp script pack and mine ( http://forums.steampowered.com/forums/showthread.php?t=837450 ) already did this, independently though.
Still, far too few people know how to script so congratulations :)
Add A Reply Pages: 1