[TF2] Weapon Restrictions
2 Attachment(s)
Description
[TF2] Weapon Restrictions is a plugin to restrict weapons to only specific weapons and disallow all others. Weapon lists are loaded from configuration files in the sourcemod/configs/tf2-weapon-restrictions directory. Weapons can be specified either by class or by item definition index. Dependencies SourceMod 1.5.0 or newer TF2Items 1.6.0 or newer Features
CVars/Commands CVars
Commands
Future Plans
|
Re: [TF2] Weapon Restrictions
Reserved for configs and things.
Sample Whitelist Here's a configuration that allows everything except the Spy's cloaking devices and disguise kit: Code:
"weapon_restrictions" |
Re: [TF2] Weapon Restrictions
wow i've been wanting a working weapon restriction plugin for the longest.. excellent
edit: you've got a typo in the phrases file; Quote:
|
Re: [TF2] Weapon Restrictions
I'm going to be trying some things to fix Spies having disguise weapons that aren't allowed. I think I can duplicate what Valve does using SDKHooks, but I'll have to check if it actually works.
|
Re: [TF2] Weapon Restrictions
can u make simple plugin?
spy no cloak & disguise please help me! |
Re: [TF2] Weapon Restrictions
What is the difference between tNoUnlocksPls, WeaponBlocker with this plugin.?
May unlock only reskins here or i cant? i only need stock weapons and reskins. Have a nice day sorry to bother you |
Re: [TF2] Weapon Restrictions
Quote:
Unlike the other plugins, this plugin can block weapons both by classname and by Item Definition index. It can block cosmetic items by their item definition index. It can block cosmetic action items (but Valve prevents you from blocking the actual item). It can also block Engineer buildings (all of them or just specific ones, including sappers). In a blacklist (the default mode), you can choose to blacklist all tf_weapon_minigun, then whitelist just the stock minigun by its item definition indexes if you so choose. It's actually a convergence of two plugins I was working on... the first was a plugin to let me switch between Medieval Mode and regular mode without a map change. The second was a replacement for the Melee Only plugin after I started having random crashes with it. Unfortunately, I haven't yet ported the weapon replacement logic from PropHunt Redux to this plugin yet, so it only supports blocking at the moment. Class-specific blocking and replacements will eventually be coming (for example, PropHunt Redux replaces the Pyro's Reserve Shooter with the Shotgun, but leaves the Soldier's Reserve Shooter alone). |
Re: [TF2] Weapon Restrictions
Sorry to bother you again, but i couldn't make the plugin work i'm doing something wrong when i set the configs for some reason doesn't work. I also have some problems with the configs the file don't load automatically and i need use the console and type weaponrestrict file name.
Could you provide me a example how you block some fists except the reskins and stock fists. You don't need need block all the fists only two fists blocked and one fist unlocked for the example. Have a nice day. |
Re: [TF2] Weapon Restrictions
I guess i'm so close to finish config this plugin,but i have one more question
How you use the option to default to blacklist (allow nothing except listed items)? This is my example how i have the config file Quote:
|
Re: [TF2] Weapon Restrictions
Quote:
|
All times are GMT -4. The time now is 02:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.