Welcome, Guest. Please login or register.

Author Topic: Melee section of TF2 map  (Read 1780 times)

Offline pndemc

  • Newbie
  • *
  • Posts: 1
    • View Profile
Melee section of TF2 map
« on: June 27, 2012, 05:36:53 PM »
I'm working on a surf map for tf2, and part of it I would like to be melee only, is there some sort of trigger I can use to strip player weapons?

I'd even be willing to setup specific entity for a SourceMod plugin maybe? does anyone have any experience with this?

Offline Kompile

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Melee section of TF2 map
« Reply #1 on: June 27, 2012, 08:35:57 PM »
Apparently you can send a Kill command to specific entities in a map, including weapons. I couldn't get it to work but here's the link I used http://forums.tf2maps.net/showthread.php?t=1805 maybe you'll have better luck than me.

Offline Egan

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • My Portfolio/Project Hub
Re: Melee section of TF2 map
« Reply #2 on: July 02, 2012, 01:14:59 AM »
Odang, hope you're not too stuck.

Panzer made a plugin for my surf_torrent map that includes a weapon stripper. It works on intox, lowlagfrag, and omega arcade (as much as Ive checked)

Here's the actual plugin: http://www.mediafire.com/?lvfdp71m2stbotk

To create this specific effect:
Make a trigger with the name: addcond 41 99999
(Filters work as they should, so it can be team specific)
And it will make anyone who walks through there forced melee for 99999 seconds.

Here is the list of addcond commands: http://wiki.teamfortress.com/wiki/Cheats
Use whatever number is situated next to it for that effect. The first 8 or so commands don't seem to work, and the first 5 seem to crash the server.

If you do decide to use it, say thanks to panzer in the credits somewhere cause it's a really useful plugin.