Raised This Month: $ Target: $400
 0% 

[TF2] Anti rocket-spam plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaxOldPanda
SourceMod Donor
Join Date: Sep 2012
Location: Shambhala
Old 01-19-2013 , 16:40   [TF2] Anti rocket-spam plugin
Reply With Quote #1

So, what i need is a plugin that will prevent rocket spam that is often on certain maps (dm_duel...)

Example; player is standing next to ressuply locker and shoot continuously (spam).
So I am wondering if someone is able to do this.
Cvars; maybe if player shoot (some number) of rockets/grenades while standing next to locker he is
a) slayed,
b) kicked...

Edit: With flag immunity, if possible...
__________________

Last edited by MaxOldPanda; 03-12-2013 at 09:14. Reason: im old
MaxOldPanda is offline
MaxOldPanda
SourceMod Donor
Join Date: Sep 2012
Location: Shambhala
Old 08-26-2013 , 13:36   Re: [TF2] Anti rocket-spam plugin
Reply With Quote #2

After few desperate attempts to make it on my own, i failed, so i need your help once again. Even few guidelines would be useful...
__________________
MaxOldPanda is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-27-2013 , 11:40   Re: [TF2] Anti rocket-spam plugin
Reply With Quote #3

What you can do, is hook post inventory application, find the soldiers primary weapon and set the primary nextattack netprop to gametime+ some delay.. Like 15, and they wont be able to fire for 15s after touching locker or spawning.

I think i got the basic code for the offsets and whatnot in my freezetag plugin, though been ages since i looked at it.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 08-27-2013 at 11:42.
friagram is offline
MaxOldPanda
SourceMod Donor
Join Date: Sep 2012
Location: Shambhala
Old 08-29-2013 , 09:25   Re: [TF2] Anti rocket-spam plugin
Reply With Quote #4

Damn, your freezetag is one mighty big code... I'll take a look, thanks...
__________________
MaxOldPanda is offline
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 12:06.


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