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

[TF2] Red-Tape Disabler


Post New Thread Reply   
 
Thread Tools Display Modes
lyric
Veteran Member
Join Date: Sep 2012
Old 01-09-2013 , 13:47   Re: [TF2] Red-Tape Disabler
Reply With Quote #11

Quote:
Originally Posted by spumer View Post
I don't like imba weapons, and I wrote this plugin for support those who think the same.
I can add config support for block other weapons for other classes. It really needed?
As i said earlier — i don't use TF2Items extension.
If you could add a config that would be awesome because we would like to have the option to remove other awful grodbort weapons in this game since we don't feel they really fit well in this game.
lyric is offline
spumer
Senior Member
Join Date: Aug 2011
Old 01-10-2013 , 02:48   Re: [TF2] Red-Tape Disabler
Reply With Quote #12

Install:
put bwd.cfg into sourcemod/configs directory before loading the plugin.
I don't test it, but should work fine.
Attached Files
File Type: cfg bwd.cfg (556 Bytes, 126 views)

Last edited by spumer; 02-13-2013 at 14:12. Reason: Remove not worked .sp source.
spumer is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 01-10-2013 , 07:55   Re: [TF2] Red-Tape Disabler
Reply With Quote #13

Quote:
Originally Posted by spumer View Post
Install:
put bwd.cfg into sourcemod/configs directory before loading the plugin.
I don't test it, but should work fine.
thank you, i tested just now and noticed it wasn't working. Getting this in error logs

Code:
[SM] Native "GetEntPropString" reported: SendProp m_iItemDefinitionIndex is not a string (0 != 4)
L 01/10/2013 - 07:50:00: [SM] Displaying call stack trace for plugin "basic_weapon_disabler.smx":
L 01/10/2013 - 07:50:00: [SM]   [0]  Line 43, /home/groups/alliedmodders/forums/files/1/5/1/3/8/7/114338.attach::Event_Inventory()
lyric is offline
spumer
Senior Member
Join Date: Aug 2011
Old 01-10-2013 , 10:44   Re: [TF2] Red-Tape Disabler
Reply With Quote #14

Oh wow, sorry.
I fix it. Now it work be fine.
Attached Files
File Type: sp Get Plugin or Get Source (basic_weapon_disabler.sp - 230 views - 2.1 KB)
spumer is offline
dstoler
Member
Join Date: Nov 2012
Old 02-12-2013 , 10:47   Re: [TF2] Red-Tape Disabler
Reply With Quote #15

You may want to put the .cfg file on the first post. I tried the tNoUnlocks plugin on my server and not every weapon was in its config thus automatically disabling them by default. Can this be used to eliminate the gunslinger and dead ringer as well? It seems these 3 weapons cause a lot of heart ache in my servers and it may be best to just get rid of them.
dstoler is offline
spumer
Senior Member
Join Date: Aug 2011
Old 02-13-2013 , 05:12   Re: [TF2] Red-Tape Disabler
Reply With Quote #16

Quote:
You may want to put the .cfg file on the first post.
Ok, i add information about basic_weapon_disabler on the first post.
Quote:
Can this be used to eliminate the gunslinger and dead ringer as well?
Yes. Your .cfg should be look like this:
Code:
    "8" //Spy
    {
        "4" // slot
        {
            "59"    { "desc"    "The Dead Ringer" } // weapon index
        }
    }
    "9" // Engineer
    {
        "2"
        {
            "142"    { "desc"    "The Gunslinger" }
        }
    }
spumer is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-08-2013 , 15:31   Re: [TF2] Red-Tape Disabler
Reply With Quote #17

It forces people to respawn but not to change weapon. Some people would just leave instead. Also this doesnt work with items like razorback.
__________________
luki1412 is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-09-2013 , 03:50   Re: [TF2] Red-Tape Disabler
Reply With Quote #18

Easiest solution here is to just use the tf2items manager, and remove attributes from the item indexes of the red tapes and done.

If you do not use tf2items, you have to ise something like tf2attributes and removeall for that index. Any other solution will result in missing items... Or disabled functinality (force switching away from said item slot)

Honestly its silly not to use tf2items.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
spumer
Senior Member
Join Date: Aug 2011
Old 09-09-2013 , 14:51   Re: [TF2] Red-Tape Disabler
Reply With Quote #19

Quote:
Also this doesnt work with items like razorback.
Some errors in logs? Because all works fine for me.

friagram, may be. But this is solution without extensions and pretty easy for understanding.
__________________
spumer is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-09-2013 , 15:50   Re: [TF2] Red-Tape Disabler
Reply With Quote #20

I tried both plugins with index 57 for razorback and it does nothing for me, no errors just doesnt work
__________________
luki1412 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 06:54.


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