jump.tf Forums
Welcome B)

LF Instant Weapon Switch Command/MOD

Krocket

  • Newbie
  • *
    • Posts: 21
    • Frags: +0/-0
  • Easily Surpassed
    • View Profile
I'm wanting this to make jumps incorporating the lib and dh more doable. Having to wait for the resupply cabinet is both random and takes too long. How do I make my loadout actually switch in an instant? Not talking about binding a loadout to a key, I know how to script.

func_regenerate and impulse 101 don't work and I don't know any good scripters to ask.

Code: [Select]
bind ""   "load_itempreset 0;give func_regenerate;impulse 101"
bind ""   "load_itempreset 1;give func_regenerate;impulse 101"
bind ""   "load_itempreset 2;give func_regenerate;impulse 101"

Is basically what I was trying to use but to no avail.


Tx_

  • Novice
  • **
    • Posts: 95
    • Frags: +0/-0
    • View Profile
I guess the only way to do that is to modify the items_game.txt and add fast weapon switch to the weapons you want.
Something like this:

For instant regen you can install sourcemod and find some plugin like advanced inifite ammo and play locally
« Last Edit: February 14, 2015, 02:34:01 PM by Tx_ »


Krocket

  • Newbie
  • *
    • Posts: 21
    • Frags: +0/-0
  • Easily Surpassed
    • View Profile

Dr. Heinz

  • needs to stop posting
  • *
    • Posts: 1036
    • Frags: +0/-0
  • Relax.
    • View Profile

nimorrax_

  • Newbie
  • *
    • Posts: 6
    • Frags: +0/-0
  • I'm a moron
    • View Profile
If you take the plugin route, I'd suggest this: https://forums.alliedmods.net/showthread.php?p=1337899

Code: [Select]
bind whatever "sm_gimme 18" - Stock Rocket Launcher
bind whatever "sm_gimme 127" - Direct Hit
bind whatever "sm_gimme 228" - Black Box
bind whatever "sm_gimme 237" - Rocket Jumper
bind whatever "sm_gimme 414" - Liberty Launcher
bind whatever "sm_gimme 441" - Cow Mangler 5000
bind whatever "sm_gimme 513" - The Original
bind whatever "sm_gimme 730" - Beggar's Bazooka
bind whatever "sm_gimme 1104" - Air Strike

Using those will instantly give you selected launcher. If you don't want to use plugins, I dunno what to tell you.
I'm just some moron who jumps very inconsistently, because what is consistency?


Paulgeogez

  • Newbie
  • *
    • Posts: 2
    • Frags: +0/-0
    • View Profile