Soldier scripts
From TF2 Wiki
|
Contents |
Autoreload
- By Matheus28
// soldier.cfg alias aur1 "+reload;wait;-reload;aur2;"; alias aur2 "aur1"; aur1; // clear.cfg alias aur2
Rocket Jump
- There is some discussion about this script.
- Posted by Icehawk
//Rocket Jump alias +rocketjump "+jump;+duck;wait;+attack" alias -rocketjump "-jump;-attack;wait;wait;wait;-duck" bind mouse2 "+rocketjump"
yet another rocket jump
should help to overcame limitations some servers put on wait command
//usage: push a button to fast aim under your feet than release it and quickly tip (push and release) it again to stop repatative fire alias +.rocketjump "+.rj+" alias -.rocketjump "-.rj+" alias +.rj+ "m_customaccel 1;wait;m_customaccel_scale 0.05;wait;alias +.rocketjump +.rj-" // ^-----------------^--turning ingame mouse accselaration on for quick under feet aiming alias -.rj+ "+jump;wait;+duck;wait;+moveup;wait;m_customaccel 0;wait;m_customaccel_scale 0;wait;+attack;wait;alias -.rocketjump -.rj-" alias +.rj- "-attack;wait;alias +.rocketjump +.rj+" alias -.rj- "-jump;wait;-duck;wait;-moveup;wait;alias -.rocketjump -.rj+" //unbind and bind part that is under better done in soldier.cfg configuration file unbind mouse2 bind mouse2 +.rocketjump //in all others config files like spy.cfg bind right mouse button to alternative attack //in spy.cfg //unbind mouse2 //bind mouse2 attack2
Total Weapon Interface Redesign
- This is a total redesign of the weapons interface.
- Features:
- 1: Mouse2 pulls melee and then re-binds to swing it (for fast reaction shovels)
- 2: Mouse1 pulls last weapon if on melee and re-binds to fire it
- 3: 'Q' Swaps the current Mouse1 weapon between shotty and rocket launcher
- Features:
- This script could use some more management modifications as it's still not as clean as I would like it to be and I think some of it could be scripted a little cleaner/better. However the interface itself works and I am of the impression that this is the single most efficient way to play the soldier class. It saves both time and effort when playing and is a very natural weapons interface.
- Note: I also am making use of an outside .cfg to clear key input it is defined below
// clear.cfg // for remapping binds and cleaning things up // you can exec autoexec as well but I like to keep things simple bind "MOUSE5" "" bind "MOUSE3" "" bind "MOUSE1" "+attack" bind "MOUSE2" "+attack2" bind "q" "lastinv"
// Soldier.cfg remap -> Provided by Mordentral / M72 The LAW-BOOM BOOM // Remap defaults exec clear.cfg alias +swap1 "slot3; +attack; alias +m1bind +swap2; alias -m1bind -swap2; alias +m2bind +attack; alias -m2bind -attack" alias -swap1 "-attack" alias "+m2bind" "+swap1" alias "-m2bind" "-swap1" bind "MOUSE2" "+m2bind" alias +swap2 "slot1; +attack; alias +sht1 +swap3; alias -sht1 -swap3; alias +m1bind +normaatkkreload; alias -m1bind -normaatkkreload; alias +m2bind +swap1; alias -m2bind -swap1" alias -swap2 "-attack" alias +normaatkkreload "+attack" alias -normaatkkreload "-attack" alias "+m1bind" "+swap2" alias "-m1bind" "-swap2" bind "MOUSE1" "+m1bind" alias +swap3 "slot2; +attack; alias +m1bind +attack; alias -m1bind -attack; alias +sht1 +swap2; alias -sht1 -swap2; alias +m2bind +swap1; alias -m2bind -swap1" alias -swap3 "-attack" alias "+sht1" "+swap3" alias "-sht1" "-swap3" bind "q" "+sht1;"
- Posted by mordentral
