Raised This Month: $89 Target: $400
 22% 

[L4D2]How do I remove weapons, melee weapons, first aid items on all maps?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkwob
Member
Join Date: Oct 2018
Old 08-14-2019 , 15:54   [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #1

Hi guys, I'm already using an add-on in my game that automatically gives you Weapons, Melee weapons and all the other stuff. But I see molotov, gun, metkit, pills, adranalin in all the saferooms and in the main parts of the maps ,and I don't want them, because it seems ridiculous to me to see them because they have the ability to buy in the game. As for the real issue, How do I make sure that these items are only in the sections of the maps that I want, but in other maps, and no safe room at all?
Darkwob is offline
Marttt
Senior Member
Join Date: Jan 2019
Old 08-14-2019 , 20:30   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #2

You can also use stripper to do this

This links may give you some direction:

https://forums.alliedmods.net/showthread.php?t=283355

https://forums.alliedmods.net/showthread.php?t=305557

You would put something like that on global_filters.cfg file

HTML Code:
filter:
{
	"classname" "weapon_adrenaline_spawn"
}
EDIT: For custom maps i don't recommend it since a lot of then use items like "gascan" or "axe" or "pipebomb" to break some walls, etc
__________________

Last edited by Marttt; 08-14-2019 at 21:39.
Marttt is offline
Darkwob
Member
Join Date: Oct 2018
Old 08-17-2019 , 06:39   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
You can also use stripper to do this

This links may give you some direction:

https://forums.alliedmods.net/showthread.php?t=283355

https://forums.alliedmods.net/showthread.php?t=305557

You would put something like that on global_filters.cfg file

HTML Code:
filter:
{
	"classname" "weapon_adrenaline_spawn"
}

EDIT: For custom maps i don't recommend it since a lot of then use items like "gascan" or "axe" or "pipebomb" to break some walls, etc
okay ,thank you, but would you make it for me?

Last edited by Darkwob; 08-17-2019 at 06:48.
Darkwob is offline
Marttt
Senior Member
Join Date: Jan 2019
Old Yesterday , 10:47   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #4

Try this global CFG, paste it on "left4dead2\addons\stripper" folder.

If you want to remove some line remove from "{" to the next "}"
Or If you want to comment just use ";" from "{" to the next "}"

Code:
filter:
;Primary Weapons Slot 1
{
"classname" "weapon_spawn"
}
{
"classname" "weapon_smg_spawn"
}
{
"classname" "weapon_smg_silenced_spawn"
}
{
"classname" "weapon_pumpshotgun_spawn"
}
{
"classname" "weapon_shotgun_chrome_spawn"
}
{
"classname" "weapon_autoshotgun_spawn"
}
{
"classname" "weapon_shotgun_spas_spawn"
}
{
"classname" "weapon_rifle_desert_spawn"
}
{
"classname" "weapon_rifle_spawn"
}
{
"classname" "weapon_rifle_ak47_spawn"
}
{
"classname" "weapon_rifle_m60_spawn"
}
{
"classname" "weapon_sniper_military_spawn"
}
{
"classname" "weapon_hunting_rifle_spawn"
}
{
"classname" "weapon_grenade_launcher_spawn"
}
;Weapons Melee Slot 2
{
"classname" "weapon_melee_spawn"
}
{
"classname" "weapon_chainsaw_spawn"
}
{
"classname" "weapon_pistol_magnum_spawn"
}
{
"classname" "weapon_pistol_spawn"
}
;Throwables Items Slot 3
{
"classname" "weapon_molotov_spawn"
}
{
"classname" "weapon_pipe_bomb_spawn"
}
{
"classname" "weapon_vomitjar_spawn"
}
;Health Items Slot 4
{
"classname" "weapon_first_aid_kit_spawn"
}
{
"classname" "weapon_defibrillator_spawn"
}
;Health Items Slot 5
{
"classname" "weapon_pain_pills_spawn"
}
{
"classname" "weapon_adrenaline_spawn"
}
;Health Cabinet
{
"classname" "prop_health_cabinet"
}
;Upgrades
{
"classname" "upgrade_spawn"
}
{
"classname" "upgrade_laser_sight"
}
{
"classname" "weapon_upgradepack_incendiary_spawn"
}
{
"classname" "weapon_upgradepack_explosive_spawn"
}
;Ammo Pile
;{
;"classname" "weapon_ammo_spawn"
;}
;Should not remove gascan since pouring gas maps will not be able to finish
;{
;"classname" "weapon_gascan_spawn"
;}
;Items in General
{
"classname" "weapon_item_spawn"
}
Attached Files
File Type: cfg global_filters.cfg (1.6 KB, 0 views)
__________________

Last edited by Marttt; Yesterday at 10:55.
Marttt is offline
Reply


Thread Tools
Display Modes

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 14:43.


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