Raised This Month: $ Target: $400
 0% 

[TF2] Block airblasting of Relaxo taunt


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 06-19-2014 , 11:29   [TF2] Block airblasting of Relaxo taunt
Reply With Quote #1

Not sure if this is possible but since all the new taunts and so on I figured I'd throw it up and let others brain storm.

I find it fun to use the taunt in god mode just to sit in the middle of the server and do nothing... you have a enemy pyro come along and they can basically blow you right out of the taunt.

Possible to prevent this?
Horsedick is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 06-19-2014 , 12:45   Re: [TF2] Block airblasting of Relaxo taunt
Reply With Quote #2

Code:
SetEntityMoveType(client, MOVETYPE_NONE);
should block airblast on the player
__________________
pheadxdll is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-19-2014 , 12:46   Re: [TF2] Block airblasting of Relaxo taunt
Reply With Quote #3

Set FL_NOTARGET on yourself when the taunt is activated, and remove the flag when the taunt ends. I use a similar method in Friendly Mode.

The FL_NOTARGET flag causes a player to be invisible to sentries and immune to airblasts, among other things.

Until someone actually creates a plugin that auto-applies the flag when that specific taunt is used, this plugin may help you: https://forums.alliedmods.net/showthread.php?p=1422495


EDIT: MOVETYPE_NONE will probably have less side effects. Probably.
__________________

Last edited by ddhoward; 06-19-2014 at 12:47.
ddhoward 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 16:18.


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