jump.tf Forums
Welcome B)

Simple question

plep · 6 · 1677

plep

  • Advanced
  • *****
    • Posts: 639
    • Frags: +0/-0
  • hi
    • View Profile


At 2:10, he's not able to use his Rocket Launcher until the next jump. I decompiled the map but I did not found any trigger or entity in thoses stairs to understand how it's done.

Any explanation ? I really want to know how you make a player unable to use any primary weapon in a defined area.  8)


Steve-nC-

  • Newbie
  • *
    • Posts: 28
    • Frags: +0/-0
  • Recovering Sports Fan
    • View Profile
Simple question. Simple answer. There is no such trigger.

All he did was switch weapons. Load up the map for yourself, and you will find you can use any weapon slot in the transition from jump 10 to 11.

There are some HL2/CS triggers in hammer to strip a player of all their weapons, but I recall they do not work in TF2.
Crappy Maps -- King, Adventure, Speed2, Excavation, Excavation2, Mario, Ancient


Shunix

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


At 2:10, he's not able to use his Rocket Launcher until the next jump. I decompiled the map but I did not found any trigger or entity in thoses stairs to understand how it's done.

Any explanation ? I really want to know how you make a player unable to use any primary weapon in a defined area.  8)

he switched because didnt have enough hp to keep using rockets in the tunnel and the escape plan makes you run faster


not like you can trust raiins runs anyway


plep

  • Advanced
  • *****
    • Posts: 639
    • Frags: +0/-0
  • hi
    • View Profile
So there is actually no way to do this ? Desactivating primary wep for players ? :(


RNC1839

  • Proficient
  • ****
    • Posts: 499
    • Frags: +0/-0
    • View Profile
You can deactivate a weapon perfectly easy.



Do that but have it as a trigger_multiple and OnStartTouch or OnTouching. And change the tf_weapon_parachute to whatever weapon you want blocked, using this. If the player hits a regen brush after leaving the weapon remover brush they will get the weapon back. A quick warning though, this may completely disable the weapon for everyone on the server.

I haven't tested this at all. Also I can't think of a reason to temporarily disable a weapon on a map, but whatever.


plep

  • Advanced
  • *****
    • Posts: 639
    • Frags: +0/-0
  • hi
    • View Profile