Raised This Month: $12 Target: $400
 3% 

[REQ] [TF2] Airblasting block (Solved by asherkin)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 05-08-2012 , 18:56   [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #1

Is it possible for someone to whip up a plugin that blocks the ability to airblast the opposite team, but still have the ability to airblast. This is of course for dodgeball. Thanks and I will love you long time. nohomo (maybe a little)
ozgaming is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-08-2012 , 20:42   Re: [REQ] [TF2] Airblasting block
Reply With Quote #2

Quote:
Originally Posted by yellowblood View Post
Hey guys, if anyone wants to block pushing and don't know how, it's actually really simple now.

1. Install TF2Items - http://forums.alliedmods.net/showthread.php?t=115100
2. Edit tf/addons/sourcemod/configs/tf2items.weapons.txt to be like this:
Code:
"custom_weapons_v3"
{
	"*"
	{
		"*"
		{
			"1"	"254 ; 4.0"
		}
	}
}
This will disable the pushing ability from ALL weapons, for ALL players. If you want more advanced functionality (like activating it only when the dodgeball plugin is enabled), it shouldn't be too difficult.

(credit goes to asherkin for this awesome idea, and the brilliant tf2items extension)
__________________

Last edited by asherkin; 05-08-2012 at 20:42.
asherkin is offline
ozgaming
SourceMod Donor
Join Date: Aug 2011
Old 05-08-2012 , 22:26   Re: [REQ] [TF2] Airblasting block
Reply With Quote #3

damn my search abilities. Thanks asherkin
ozgaming is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 05-20-2012 , 19:55   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #4

This seems to block others things including sandman balls and viewing enemy health using Solemn Vow. Is there a fix which doesn't have side-effects?
__________________

Last edited by 11530; 05-20-2012 at 20:05.
11530 is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 05-21-2012 , 00:42   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #5

Quote:
Originally Posted by 11530 View Post
This seems to block others things including sandman balls and viewing enemy health using Solemn Vow. Is there a fix which doesn't have side-effects?
OnPlayerRunCmd?
__________________
napalm00 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 05-21-2012 , 05:43   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #6

Quote:
Originally Posted by 11530 View Post
This seems to block others things including sandman balls and viewing enemy health using Solemn Vow. Is there a fix which doesn't have side-effects?
switch the second "*" with the flamethrowers's index.
Mitchell is offline
Asde
New Member
Join Date: Jun 2012
Old 06-08-2012 , 06:21   Re: [REQ] [TF2] Airblasting block
Reply With Quote #7

"custom_weapons_v3"
{
"*"
{
"*"
{
"1" "254 ; 4.0"
}
}
}


counters do not work strange and strange part

Last edited by Asde; 06-08-2012 at 06:23.
Asde is offline
Asde
New Member
Join Date: Jun 2012
Old 06-09-2012 , 03:04   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #8

Hello,
Tell me, what we need to add attributes to work counters stranges weapons and strange part
when the standard parameters counters do not work.

Code:
"custom_weapons_v3"
{
 "*"
    {
     "21" // Flame Thrower
       {
        "1"    "254 ; 4"
       }
     "40" // Backburner
       {
        "1"    "254 ; 4"
       }
     "208" // Upgradeable Flame Thrower
       {
        "1"    "254 ; 4"
       }
     "215" // The Degreaser
       {
        "1"    "254 ; 4"
       }
     "659" // Festive Flamethrower 2011
       {
        "1"    "254 ; 4"
       }
    }
}
Asde is offline
Pythong
SourceMod Donor
Join Date: Dec 2008
Old 11-02-2014 , 09:43   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #9

Since the last Halloween update blocking airblasts stopped working:

Quote:
"custom_weapons_v3"
{
"*"
{
"*"
{
"1" "254 ; 4.0"
}
}
}
I updated TF2Items too. Anyone else having a similar problem ?
Pythong is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 08-17-2018 , 20:15   Re: [REQ] [TF2] Airblasting block (Solved by asherkin)
Reply With Quote #10

It is now 824.

Use:
"custom_weapons_v3"
{
"*"
{
"*"
{
"1" "824 ; 4.0"
}
}
}
lugui is offline
Reply


Thread Tools
Display Modes

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 11:59.


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