Forum
Admirable's Weapon Customisation Script
Created 7th February 2009 @ 23:01
Add A Reply Pages: 1 2 ... 9 Next »
Back by popular demand!
Updated
Features:
-Customise crosshairs for individual slots per class
-Customise and toggle view model for individual slots per class
-Customise and toggle auto-reload for individual slots per class
-Cycle and toggle between weapons and keep your customisations
-Customise crosshairs and viewmodels for spectating
Download Version 2.4 here
Probably best not to extract it straight to your /cfgs/ folder as this would overwrite your existing class configs.
You will have to customise each weapon within the customise.cfg.
Make sure to read the comments in autoexec.cfg, customise.cfg and weapon.cfg.
It should be straight forward enough if you have soem previous experience with scripts.
Let me know what you think or what else you would like to see!
Changes:
2.0 [19.06.09]
Toggle auto-reload and view model for per slot on the fly; great for Force-A-Nature!
Fixed problems with new unlocks and mod servers (using slot commands now instead of weapon_).
No “wait” commands used as it is now blocked in some places.
2.1 [30.06.09]
Fixed console being spammed on weapon switch.
Fixed independent toggle keys.
2.2 [04.08.09]
Fixed a typo that was breaking the oneTwo_tog (thanks revanxp & eon).
Restructured and condensed all the customisable options into one file, customise.cfg.
Added more presets and examples.
Added an example autoexec.cfg with available binds and more.
2.3 [14.08.09]
Removed Auto-Reload functionality as Valve are awesome.
Added a “Spectator Mode” to allow you to have different view options as spectator.
2.4 [06.01.10]
Re-added Auto-Reload functionality as requested.
Added commands to replace lastinv, invprev and invnext.
Tried to make customise.cfg easier to read and understand for the scriptophobes.
Note:
If you are updating from 2.3 to 2.4 you only need to amend/read/update autoexec.cfg, customise.cfg and weapon.cfg; the class configs are unchanged.
Take care when updating to 2.4 and above as the structure has changed a little.
All the customisation settings are in a new file called customise.cfg.
You may wish to copy your settings over to customise.cfg from the old weapon.cfg.
Be careful not over-write your existing files by accident :D
Last edited by Admirable,
Morty in your tf/cfgs/ directory there is normal a .cfg file for each class.
In here you can add your desired viewmodel_fov for each class.
would recruit this guy in a second, awesome medic and has many ‘your mothers so fat’ jokes…
high++
Fail @ absolute lol. Somebody’s made a standard recruitment post LOL
Updated, see original post.
To add full lastinv style functionality something like this should work (untested coz i’m at work, probably has bugs)
alias s1s1 “mySlot1;bind 1 s1s1;bind 2 s1s2;bind 3 s1s3”
alias s1s2 “mySlot2;alias myLast s2s1;bind 1 s2s1;bind 2 s2s2;bind 3 s2s3”
alias s1s3 “mySlot3;alias myLast s3s1;bind 1 s3s1;bind 2 s3s2;bind 3 s3s3”
alias s2s1 “mySlot1;alias myLast s1s2;bind 1 s1s1;bind 2 s1s2;bind 3 s1s3”
alias s2s2 “mySlot2;bind 1 s2s1;bind 2 s2s2;bind 3 s2s3”
alias s2s3 “mySlot3;alias myLast s3s2;bind 1 s2s1;bind 2 s2s2;bind 3 s2s3”
alias s3s1 “mySlot1;alias myLast s1s3;bind 1 s1s1;bind 2 s1s2;bind 3 s1s3”
alias s3s2 “mySlot2;alias myLast s2s3;bind 1 s2s1;bind 2 s2s2;bind 3 s2s3”
alias s3s3 “mySlot3;bind 1 s3s1;bind 2 s3s2;bind 3 s3s3”
alias myLast “s1s2”
mySlot1
bind 1 s1s1
bind 2 s1s2
bind 3 s1s3
bind q myLast
Sorry for the bump, but its not working for me.
I have weapon.cfg on autoexec, i have this on my scout.cfg:
alias “weapon_toggle” “weapon_one”
alias “weapon_one” “mySlot1 ; alias weapon_toggle weapon_two”
alias “weapon_two” “mySlot2 ; alias weapon_toggle weapon_one”
alias defaultCrosshair “exec defaultcross.cfg” // Default Crosshair
alias myCrosshair1 “cl_crosshair_file crosshair5” // Dot
alias myScattergun “defaultCrosshair ; use tf_weapon_scattergun” // Scout Scattergun
alias myPistol_scout “myCrosshair1 ; use tf_weapon_pistol_scout” // Scout Pistol
alias myBat “defaultCrosshair ; use tf_weapon_bat” // Scout Bat
And its not working . :/
Eh in the scout.cfg should be this:
alias mySlot1 “myScattergun ; alias weapon_toggle weapon_two ; alias mySlot3 mySlot3-1”
alias mySlot2 “myPistol_scout ; alias weapon_toggle weapon_one ; alias mySlot3 mySlot3-2”
alias mySlot3 “myBat”
alias mySlot3-1 “myBat ; alias weapon_toggle weapon_one ; alias mySlot3 myBat”
alias mySlot3-2 “myBat ; alias weapon_toggle weapon_two ; alias mySlot3 myBat”
mySlot1
Then just bind keys for mySlot1, mySlot2, mySlot3 (1,2,3 or whatever).
And optionally bind a key to weapon_toggle if you want to use the toggle.
I will release an updated version soon for my legions of fans D:
in game it says
Unknown command “mySniperrifle”
Why ?
alias mySlot1 “mySniperrifle ; alias weapon_toggle weapon_two ; alias mySlot3 mySlot3-1”
alias mySlot2 “mySmg ; alias weapon_toggle weapon_one ; alias mySlot3 mySlot3-2”
alias mySlot3 “myClub”
alias mySlot3-1 “myClub ; alias weapon_toggle weapon_one ; alias mySlot3 myClub”
alias mySlot3-2 “myClub ; alias weapon_toggle weapon_two ; alias mySlot3 myClub”
mySlot1
bind 1 mySlot1
bind 2 mySlot2
bind 3 mySlot3
bind 4 mySlot3-1
bind 5 mySlot3-2
My autoreload isn’t working :/
Add A Reply Pages: 1 2 ... 9 Next »