Raised This Month: $32 Target: $400
 8% 

[TF2] Smarter Spawns - Spawn Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Grot
Member
Join Date: May 2012
Old 06-09-2012 , 07:59   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #11

This is why you are amazing and I am the dumbs.

<3 Thank you
Grot is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 06-09-2012 , 23:25   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #12

Anyway to hook ontouch func_respawnroon to:
Code:
PrintToChat(client, "[SM] Godmode enabled while in spawn.")
And return
Code:
PrintToChat(client, "[SM] Godmode disabled.")
When leaving the func_respawnroon?

I saw it used sdkhooks and don't know if hooking the PrintToChat function on the during touch function would spam that chat or only post it once.

Last edited by ReFlexPoison; 06-09-2012 at 23:26.
ReFlexPoison is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 06-10-2012 , 04:02   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #13

It's only called once, so the message would only print when their state changes.
__________________
DarthNinja is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-30-2012 , 20:48   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #14

Just started using this and it seems to be working relatively well. Thanks!
Mr. Man is offline
Grot
Member
Join Date: May 2012
Old 08-24-2012 , 14:31   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #15

Did MvM break this? It's refusing to work on my server!
Grot is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-24-2012 , 21:20   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #16

If SDKHooks works, the plugin works.
__________________
DarthNinja is offline
Grot
Member
Join Date: May 2012
Old 08-24-2012 , 22:27   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #17

yeah. my bad. It was the Building Hacks extention.
Grot is offline
MaxOldPanda
SourceMod Donor
Join Date: Sep 2012
Location: Shambhala
Old 09-16-2012 , 11:48   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #18

Works great, thank you.
__________________
MaxOldPanda is offline
sir
Junior Member
Join Date: Aug 2011
Old 01-03-2013 , 15:30   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #19

Would there be a way to adjust this plugin so it behaves differently depending on the map type or class?

For example, pl_goldrush has a great spot for a sniper to stand to pick people off from base. Having them have decreased damage sucks.

Also on pl_goldrush, it would probably make more sense for the red team to have spawn protection over the blu team so blu couldn't spawn camp them down while the cart is being pushed.

Just a thought.
sir is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-12-2013 , 13:28   Re: [TF2] Smarter Spawns - Spawn Protection
Reply With Quote #20

a couple questions, would this work for custom maps? and would I set a cvar to 0 or 1 for regular damage?
island55 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 17:18.


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