View Single Post
Author Message
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-02-2011 , 23:57   [TF2] Jar of Ants (v1.1 11/18/2011)
Reply With Quote #1

Basic concept: Enable the jar of ants on a client, and when they throw jarate at people, it won't cover them in piss. It will make them BLEED. Because ants are biting them. Angry ants.

Commands:
sm_antjar <target> <0/1> (default CHEATS flag): sets a client to throw a jar of ants instead of jarate.

CVars:
antjar_duration (default 10.0): How long they bleed for.

Planned Features:
*sm_jarofants command or something to allow players to enable on self.
*A convar to allow it for milk, etc.

CHANGELOG
Code:
11/18/2011(v1.1)
*Updated to use SM 1.4 stuffs.
02/02/2011 (v1.0)
*First release
Credits:
psychonic - how to find the playerjarated event when it refuses to fire serverside

FOR THE RECORD: I didn't notice this until about four minutes after I posted this.
I made this as a feature for the Advanced Weaponiser mod by Mecha the Slag, I figured it would work well as its own plugin.

Also for those using Giveweapon/Randomizer, the Jar of Ants will be its own weapon, and won't require this plugin.
Attached Files
File Type: sp Get Plugin or Get Source (antjar.sp - 1438 views - 4.2 KB)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 11-19-2011 at 00:00.
FlaminSarge is offline