Restrict Accessories on Server BO2 !Help...
-
Someone to help me how to configure my server to restrict accessories in classes, such as:
Muffler
Fast fire
Dual weapons
Thermal look
There is a section in the server configuration file, but I can't make it work. Something like this:// restrict_attachment "reflex" // Reflex
// restrict_attachment "steadyaim" // Laser sight
// restrict_attachment "silencer" // Suppressor / Silencer
// restrict_attachment "dualclip // Fast MagI tried removing the signs "//" but it doesn't work.
-
i think it has something to do with the restricted.cfg
-
Yes, in the restricted.cfg I assign the weapons that I don't want on my server, but from there I can't block the accessories, those are defined in the server configuration file but I can't make them work.
-
Kalitos Make sure you enabled use restriction config in the dedi cfg.
-
Drgn If you could help me with an example, I would appreciate it, since I have my saying cfg like this:
sv_restrictionList "restrictedsd.cfg" // Sets the file name for our restriction system.
sv_enableItemRestriction 1 // Enables our custom restriction system.
restrict_attachment "silencer"But silencer is not restricted.
and the cfg restriction like this:
// SCORE STREAKS //replacement none
spyplane_mp
rcbomb_mp
missile_drone_mp
supply_drop_mp
counteruav_mp
microwave_turret_mp
remote_missile_mp
planemortar_mp
auto_turret_mp
minigun_mp
m32_mp
qrdrone_mp
ai_tank_drop_mp
comlink_mp
spyplane_direction_mp
helicopter_guard_mp
emp_mp
straferun_mp
remote_mortar_mp
player_gunner_mp
dogs_mp
missile_swarm_mpand still the streak restriction does not work, since the uav can use it.
-
Kalitos Is that the name of your cfg?
restrictedsd.cfg
-
Drgn yes. This is what my restriction file is called. Shouldn't I rename it? Weapons restrictions if it works. only streak restrictions don't work and accessory restrictions don't work either
-
I had the same problem, I wanted to restrict some weapons, lethals, tacticals, scorestreaks, accesories and perks.
I realized that weapons, lethals and tacticals work fine in restricted.cfg. I suggest you to to ban weapons with
"replacement knife_held_mp
weapon1
weapon2
..."
and lethals and tacticals with
"replacement none
1
2
..."
We have scorestreaks, accesories and perks left. They all have to be restricted in the gamemode cfg, in sd.cfg(for example) as shown in the screenshot https://cdn.discordapp.com/attachments/719636366970978336/719636377607602216/unknown.png -