Raised This Month: $ Target: $400
 0% 

Trigger Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chase
Junior Member
Join Date: Oct 2009
Location: California
Old 10-23-2009 , 19:59   Trigger Commands
Reply With Quote #1

We were bored last night at 3 AM and someone had the idea to make Demoman pipebombs force an RTD on the victim instead of hurting them. So I slapped together a plugin real fast to do it, and today I refined it to work for various other things. If there's another plugin like this, tell me, I didn't really check.

Overview

All this plugin does is link console commands to various weapons and projectiles. When someone is hit, the command is activated. It's made to work with whatever other plugin you want, whether you want special audio playing when someone is whacked by a kukrai, or want to force them to roll the dice when hit by a sentry rocket.

Requirements

Latest version of Dukehacks. Personally, I don't see how people survive without it. Makes things so much simpler.

Installation
  • Copy TriggerCommands.smx to sourcemod/plugins
  • Copy TriggerCommands.cfg to sourcemod/configs
  • Edit TriggerCommands.cfg to your liking
CVARs

tcmd_enabled - Toggle plugin. 1=On, 0=Off (default: "1")
tcmd_debug - Toggle debug logging. 1=On, 0=Off (default: "1")
tcmd_allowmulti - Allow multiple triggers to activate at once. 1=On, 0=Off (default: "0")

Admin Commands

tcmd_reload - Reload plugin configuration


__________________

Last edited by Chase; 10-23-2009 at 20:04.
Chase is offline
Send a message via MSN to Chase
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode