TF2 Weapon Stripping (Help requested)

Discussion in 'Mapping Questions & Discussion' started by Galago, Jan 20, 2009.

  1. Galago

    Galago L2: Junior Member

    Messages:
    90
    Positive Ratings:
    5
    So, my friend and I are working on a map (arena_boxing), and we need to have restrictions so that players can only use melee weapons. At the moment, we're using the buggy method of a trigger_multiple tied to a point_clientcommand that sets the weapon to slot3 every 0.03 seconds. This doesn't seem to work, and every now and again players won't even be switched back to slot3. Anyway, does the TF2maps community have a better idea/solution?

    Thanks,
    Galago (and Fry)
     
  2. Acegikmo

    aa Acegikmo

    Messages:
    555
    Positive Ratings:
    493
    I tried making one that did the command:

    OnTrigger -> clientcommand -> Command -> use tf_weapon_knife;use tf_weapon_bonesaw etc.

    It worked singleplayer. Not sure about multiplayer.
     
  3. Zmathue

    Zmathue L2: Junior Member

    Messages:
    72
    Positive Ratings:
    14
    OnTrigger -> clientcommand -> Command -> hud_fastswitch 1;slot3

    should work.
     
  4. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    DON'T mess with ppl's settings (like hud_fastswitch )
     
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    I finally bothered to mess around testing some methods last night, and I'm pretty sure there isn't really a good way to do this, the game just wasn't meant for classes to not have their weapons.
     
  6. Galago

    Galago L2: Junior Member

    Messages:
    90
    Positive Ratings:
    5
    Well, I guess we'll deal with our hacked-up method. Thanks for the input.
     
  7. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    So far the only (reliable) method since the Medic updateis utilizing sv_cheats. It suceeds in stripping weapons, but with two big problems:

    A) It disables achievements

    and B) Leaves a VERY tiny window of opportunity while the sv_cheats are still at 1 for players to noclip and other shit.

    ................ Why isn't it as easy as sending kill inputs anymore? *fumes*