[TF2] Jarate Teammates
2 Attachment(s)
Description
Ever wanted to jarate your own teammates? Maybe to troll or just get attention? Now you can do that. Note that minicrits are NOT given from the opposite team when your teammate is jarated. Cvars tf_jar_teammates_version - Current plugin version tf_jar_teammates_enabled - Enabled/Disable the plugin (bool) Def: 1 tf_jar_teammates_distance - Max distance a player can be from jarate to be covered in piss (float) Def: 750.0 tf_jar_teammates_time - Time in seconds to cover player in piss (float) Def: 7.0 Update History v1.0 - Initial release v1.01 - Fixed a bug where no mini-crits are taken (when using jarate on other team) v1.02 - * Added admin functionality * New CVARs * Fixed a bug allowing jarated teammates to take minicrits v1.03 - Removed minicrit damage on teammates v1.04 - Optimized plugin v1.05 - * Fixed CVAR resetting bug * Added spy jarated sound effects Requirements * Sourcemod 1.3.3 or Greater * SDKHooks extension, get it here: http://code.google.com/p/tsunami-pro...downloads/list * Note that the plugin will not compile without sdkhooks.inc, so please download the .smx instead SCREENS [IMG]http://img208.**************/img208/8155/hl22010070111215745.png[/IMG] |
Re: [TF2] Jarate Teammates
Lol sweet plugin! Thanks!
|
Re: [TF2] Jarate Teammates
Suggestions for source code improvement:
Not required, but good practice to put semicolons at the end of each statement. Instead of making the array size 40, set it to MAXPLAYERS PHP Code:
PHP Code:
Possibly make a global variable for enabled: PHP Code:
|
Re: [TF2] Jarate Teammates
Quote:
|
Re: [TF2] Jarate Teammates
Are you supposed to be able to see jarate on your teammate when you throw it at them? Also does friendlyfire need to be on for this to work? I can't seem to get this to work. :/
|
Re: [TF2] Jarate Teammates
Yes you are supposed to see it, also friendly fire does not need to be on. However, the plugin does not work well when you throw jarate from long distances or if you directly hit a teammate. You could also try increasing the tf_jar_teammates_distance cvar to 900.0 or so to help this. It also could be that the plugin is not detecting you as an admin. Are you sure that you have it configured correctly?
|
Re: [TF2] Jarate Teammates
Actually I just placed the smx in the plugins folder. It just plainly doesn't seem to be working for me. :/ I haven't changed anything on the plugin either.
|
Re: [TF2] Jarate Teammates
What exactly are you testing the plugin on? Bots? Other players?
|
Re: [TF2] Jarate Teammates
Other players in game. Just threw the plugin in, changed levels tried it. Nothing happens. Restarted the server for an unrelated matter, tried it, nothing happened.
|
Re: [TF2] Jarate Teammates
Quote:
Remember, events are simply notifications to say what happened. A pre hook means that you can change what is reported, but even in a pre hook, the damage has already been dealt; you can't change what actually happened. |
All times are GMT -4. The time now is 11:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.