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

[TF2] Removing Sandman stun effect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkimmortal
Senior Member
Join Date: Aug 2008
Old 02-28-2009 , 13:32   [TF2] Removing Sandman stun effect
Reply With Quote #1

Basically, I want to be able to remove the stun effect when a player is hit by a ball from the Sandman, giving me more freedom to do what I want when a ball hits a player.

So far I've tried:
  • Returning Plugin_Stop to "player_stunned" and "scout_slamdoll_landed".
  • Removing the ball in the frame directly following when it hits the player (same frame = crash).
  • Parenting the ball to the player it hits.
  • Setting the hit player's move type to "MOVETYPE_WALK" approximately 0.5 seconds after the impact.
Any ideas?

Last edited by Darkimmortal; 02-28-2009 at 13:41.
Darkimmortal is offline
MikeJS
Senior Member
Join Date: Nov 2008
Old 02-28-2009 , 14:19   Re: [TF2] Removing Sandman stun effect
Reply With Quote #2

sm_cvar tf_player_movement_stun_time 0?
http://forums.alliedmods.net/showthread.php?t=86443
MikeJS is offline
Darkimmortal
Senior Member
Join Date: Aug 2008
Old 02-28-2009 , 19:48   Re: [TF2] Removing Sandman stun effect
Reply With Quote #3

Nope, any setting for that below the default (which I think is 4) still lasts for the same amount of time - only higher settings make a difference
Darkimmortal is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 02-28-2009 , 22:50   Re: [TF2] Removing Sandman stun effect
Reply With Quote #4

-4
Chris-_- is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 03-01-2009 , 04:13   Re: [TF2] Removing Sandman stun effect
Reply With Quote #5

Probably need an extention then to actually block the stun effect.
__________________
CrimsonGT is offline
voogru
Inspector Javert
Join Date: Oct 2004
Old 03-01-2009 , 19:20   Re: [TF2] Removing Sandman stun effect
Reply With Quote #6

try hooking touch on the ball.
voogru is offline
HL-SDK
Member
Join Date: Jan 2009
Old 03-02-2009 , 10:58   Re: [TF2] Removing Sandman stun effect
Reply With Quote #7

I like that you are trying to do, but for the moment, the server I lpay on is considering just taking the weapon away if a player equips it. (I haven't looked at how to do that yet, smells like looking at someone's melee plugin.

Good luck!
HL-SDK is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 03-02-2009 , 11:09   Re: [TF2] Removing Sandman stun effect
Reply With Quote #8

I am considering writing a small MMS plugin that changes the stun to a daze effect if theres enough interest in it.
__________________
CrimsonGT is offline
Zmathue
Junior Member
Join Date: Dec 2008
Old 03-02-2009 , 16:06   Re: [TF2] Removing Sandman stun effect
Reply With Quote #9

Quote:
Originally Posted by HL-SDK View Post
I like that you are trying to do, but for the moment, the server I lpay on is considering just taking the weapon away if a player equips it. (I haven't looked at how to do that yet, smells like looking at someone's melee plugin.

Good luck!
Quote:
Originally Posted by Zmathue View Post
Well he can check if there holding the weapon "tf_weapon_bat_wood" and if so strip it then he either has to alert them to change there loadout from the sandman, or use givenameditem ( http://forums.alliedmods.net/showthread.php?t=75822 ) to give them "tf_weapon_bat". Only problem with the givenamedweapon is he has to keep it up to date with the newest offsets.
Zmathue is offline
Quimbo
Member
Join Date: May 2008
Old 03-04-2009 , 11:05   Re: [TF2] Removing Sandman stun effect
Reply With Quote #10

Quote:
Originally Posted by CrimsonGT View Post
I am considering writing a small MMS plugin that changes the stun to a daze effect if theres enough interest in it.
Definitely.
Quimbo 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 11:19.


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