Introuduction:
I know many people use Vscript in nut to modify the default weapon which is spawn by map. I just make it in plugin. Now you can use this plugin to modify which weapon should spawn on map, which will not.
Feature:
1. If you want to ban a weapon in map, just make the "enable" count to 0.
2. This plugin only prevent the entity which spawn by map. You could use the ban weapon by "give" command or any other way you want.
KV File:
Code:
"weapon"
{
"weapon_pistol_spawn"
{
"enable" "1"
}
"weapon_pistol_magnum_spawn"
{
"enable" "1"
}
"weapon_smg_spawn"
{
"enable" "1"
}
"weapon_smg_silenced_spawn"
{
"enable" "1"
}
"weapon_smg_mp5_spawn"
{
"enable" "1"
}
"weapon_pumpshotgun_spawn"
{
"enable" "1"
}
"weapon_shotgun_chrome_spawn"
{
"enable" "1"
}
"weapon_autoshotgun_spawn"
{
"enable" "1"
}
"weapon_shotgun_spas_spawn"
{
"enable" "1"
}
"weapon_rifle_spawn"
{
"enable" "1"
}
"weapon_rifle_ak47_spawn"
{
"enable" "1"
}
"weapon_rifle_desert_spawn"
{
"enable" "1"
}
"weapon_rifle_sg552_spawn"
{
"enable" "1"
}
"weapon_hunting_rifle_spawn"
{
"enable" "1"
}
"weapon_sniper_military_spawn"
{
"enable" "1"
}
"weapon_sniper_awp_spawn"
{
"enable" "1"
}
"weapon_sniper_scout_spawn"
{
"enable" "1"
}
"weapon_rifle_m60_spawn"
{
"enable" "1"
}
"weapon_grenade_launcher_spawn"
{
"enable" "1"
}
}
Update:
Code:
[2023-4-16]
1, delete the cvar, using kv file instead.
Known Issue:- If the plugin start work, it makes the map spawn weapon in random, and you could see the tier2 weapon in the first chapter. I have no idea to solve that because it seems diffcult to get the KeyValue "weapon_selection" of the entity "weapon_spawn". So i simply use random.