Raised This Month: $183 Target: $400
 45% 

[TF2] Disable deflections of players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-24-2013 , 18:08   [TF2] Disable deflections of players
Reply With Quote #1

Hey there, I'm trying to create a TF2 Dodgeball gamemode server and my beta testers are pushing each other using the Pyro flamethrower's deflection.

I need a plugin to block it, thanks
I tried "No Force" and it haven't worked.
__________________
retired
shavit is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 06-24-2013 , 18:20   Re: [TF2] Disable deflections of players
Reply With Quote #2

I think if you and in the FL_NOTARGET bit to their entity flags they wont be able to be hit by airblast... Just dont do it when they get resupplied or they will ge civilian.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 06-24-2013 at 18:20.
friagram is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-24-2013 , 18:25   Re: [TF2] Disable deflections of players
Reply With Quote #3

Quote:
Originally Posted by friagram View Post
I think if you and in the FL_NOTARGET bit to their entity flags they wont be able to be hit by airblast... Just dont do it when they get resupplied or they will ge civilian.
Worked, thanks
__________________
retired
shavit is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 06-24-2013 , 18:36   Re: [TF2] Disable deflections of players
Reply With Quote #4

Make sure you get their old flags first, and not jsut overwrite their curent flags with the new.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-24-2013 , 18:48   Re: [TF2] Disable deflections of players
Reply With Quote #5

Quote:
Originally Posted by friagram View Post
Make sure you get their old flags first, and not jsut overwrite their curent flags with the new.
I'm not stupid
PHP Code:
public Action:OnPlayerRunCmd(client)
{
    if(
IsValidClient(clienttrue))
    {
        if(!(
GetEntityFlags(client) & FL_NOTARGET))
        {
            
SetEntityFlags(clientGetEntityFlags(client)|FL_NOTARGET);
        }
    }
    
    return 
Plugin_Continue;

__________________
retired
shavit is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 06-24-2013 , 19:20   Re: [TF2] Disable deflections of players
Reply With Quote #6

That bug was in ff2 and vsh for like over a year :/
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Blackglade
Senior Member
Join Date: Jul 2012
Location: NYC
Old 06-24-2013 , 22:31   Re: [TF2] Disable deflections of players
Reply With Quote #7

Quote:
Originally Posted by shavit View Post
Hey there, I'm trying to create a TF2 Dodgeball gamemode server and my beta testers are pushing each other using the Pyro flamethrower's deflection.

I need a plugin to block it, thanks
I tried "No Force" and it haven't worked.
Just a question, but why would you want to block players from airblasting each other. Usually it adds more fun to the game mode...?
Blackglade is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 06-25-2013 , 01:49   Re: [TF2] Disable deflections of players
Reply With Quote #8

Quote:
Originally Posted by Blackglade View Post
Just a question, but why would you want to block players from airblasting each other. Usually it adds more fun to the game mode...?
You obviously don't play dodgeball.
__________________
ReFlexPoison 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 15:11.


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