Raised This Month: $ Target: $400
 0% 

[TF2] Spy No Disguise No Cloak


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
7106
Senior Member
Join Date: Jun 2013
Old 05-04-2014 , 23:48   [TF2] Spy No Disguise No Cloak
Reply With Quote #1

https://forums.alliedmods.net/showthread.php?p=1761871
I tried to use weapon limiter plugin but I installed that plugin, and server crashed...
Is there any way to block disguise and cloaking?
Please, help me!
7106 is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-05-2014 , 14:06   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #2

Remove their pda and watch
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
7106
Senior Member
Join Date: Jun 2013
Old 05-05-2014 , 23:25   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #3

I mean I don't know how to remove those...
Please help me!
7106 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 05-05-2014 , 23:48   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #4

Friagram sometimes gets the Scripting and Plugin/Gameplay Ideas and Requests boards confused.
__________________
ddhoward is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-06-2014 , 00:31   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #5

Not really confused, I just encourage people to Learn By Doing.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-08-2014 , 11:37   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #6

This is totally untested, but you can use my Weapon Restrictions Plugin with this configuration file... put it in addons/sourcemod/configs/tf2-weapon-restrictions and then run it by adding this to server.cfg:

Code:
weaponrestrict spyrestrictions
Note: This doesn't block backstabs.

(Side note: I haven't tested blacklists yet, only whitelists... and this config is a blacklist.)

I know you messaged me about that plugin a while back and I had forgotten about it... whoops.

Edit: In case you're wondering, this plugin does what friagram suggested: uses TF2Items to block the player from ever being given the spy cloaking devices or disguise kit.
Attached Files
File Type: cfg spyrestrictions.cfg (257 Bytes, 173 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-08-2014 at 11:55.
Powerlord is offline
7106
Senior Member
Join Date: Jun 2013
Old 05-09-2014 , 04:55   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #7

Quote:
Originally Posted by Powerlord View Post
This is totally untested, but you can use my Weapon Restrictions Plugin with this configuration file... put it in addons/sourcemod/configs/tf2-weapon-restrictions and then run it by adding this to server.cfg:

Code:
weaponrestrict spyrestrictions
Note: This doesn't block backstabs.

(Side note: I haven't tested blacklists yet, only whitelists... and this config is a blacklist.)

I know you messaged me about that plugin a while back and I had forgotten about it... whoops.

Edit: In case you're wondering, this plugin does what friagram suggested: uses TF2Items to block the player from ever being given the spy cloaking devices or disguise kit.
thx but this plugin block engineer's buildings, too
is there anyway allow buildings and block disguise and cloak and backstab

Last edited by 7106; 05-09-2014 at 08:23.
7106 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-09-2014 , 11:35   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #8

Quote:
Originally Posted by 7106 View Post
thx but this plugin block engineer's buildings, too
is there anyway allow buildings and block disguise and cloak and backstab
I can't tell if you actually tried that or just assumed it'd block buildings because it has the ability to.

It only blocks buildings if allow_buildings is set to 0. Any other value should allow them.

(Of course, you'd still need a separate plugin for backstabs.)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-09-2014 , 11:46   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #9

Quote:
Originally Posted by Powerlord View Post
I can't tell if you actually tried that or just assumed it'd block buildings because it has the ability to.

It only blocks buildings if allow_buildings is set to 0. Any other value should allow them.

(Of course, you'd still need a separate plugin for backstabs.)
the plugin I wrote up for the guy does this:
If the condition for cloaking comes up, it's immediately removed.
If the condition for being disguised comes up, it's immediately removed.
And the plugin also makes backstabs do 0 damage(via skdHooks and checking if damage is TF_CUSTOM_BACKSTAB and returning Plugin_Changed)
WildCard65 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-09-2014 , 11:57   Re: [TF2] Spy No Disguise No Cloak
Reply With Quote #10

Quote:
Originally Posted by WildCard65 View Post
the plugin I wrote up for the guy does this:
If the condition for cloaking comes up, it's immediately removed.
If the condition for being disguised comes up, it's immediately removed.
And the plugin also makes backstabs do 0 damage(via skdHooks and checking if damage is TF_CUSTOM_BACKSTAB and returning Plugin_Changed)
I know what your plugin does as I actually checked the code for it. I just think removing the disguise kit and cloaking devices is a better solution to those.

Incidentally, blocking the backstab damage and/or modifying it *should* work as we already do stuff like that in Vs. Saxton Hale / Freak Fortress 2.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 04:58.


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