Weapon Enabling/Disabling

Discussion in 'Mapping Questions & Discussion' started by poopster101, Jun 20, 2008.

  1. poopster101

    poopster101 L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    5
    I'm having some trouble making it so that a weapon, say the sniper rifle is available to be used during setup but not during the rest of the match.
    I have tried a trigger to send the Kill output to the tf_weapon_sniperrifle, but then i dont know how to get the weapon back. If someone would be willing to help me figure this out, it would be greatly appreciated.
    -Thanks
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Func_regenerate restores killed weapons.

    Also, you can do the Kill inputs to the weapons again without TF2 crashing?
     
  3. poopster101

    poopster101 L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    5
    thanks for the func regen tip
    and i'll try that
    but i had already experienced some wierd crashes with the kill weapon command but i'll give it a shot anyway

    is there anyway i can disable a trigger before the map loads and have it enable 45 seconds after map spawn or like when setup ends?

    -Thanks
     
  4. Bonafide

    Bonafide L6: Sharp Member

    Messages:
    314
    Positive Ratings:
    25
    ah nvm
     
  5. poopster101

    poopster101 L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    5
    great addition :D
     
  6. poopster101

    poopster101 L4: Comfortable Member

    Messages:
    155
    Positive Ratings:
    5
    I figured out how to do it so I'm done with this thread.
    If you want to know how just say so.
    Close thread someone.
     
    Last edited: Jun 21, 2008
  7. whiteskh

    whiteskh L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    How did you figure it out?
     
  8. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
    I'm also curious what you did :)

    on a somewhat related note, would it be possible to give other class's weapons to another, like for example a sticky launcher and a rocket launcher to a pyro? anyone know?
     
  9. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    No, it's impossible. You would have to mod TF2
     
  10. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Plus, why would you want to give a rocket launcher to a Pyro? Ho-ho-holy broken, Batman!

    Also, I too would like to know how to strip weapons without Kill inputs (or server commands.)
     
  11. Dox

    Dox L8: Fancy Shmancy Member

    Messages:
    588
    Positive Ratings:
    62
    /me wonders if he should mention Teddy Ruxpin's servers, where pyros shotgun blasts shoot crit rockets...