Raised This Month: $68 Target: $400
 17% 

[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 08-18-2019 , 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, 4 views)
__________________

Last edited by Marttt; 08-18-2019 at 10:55.
Marttt is offline
Darkwob
Member
Join Date: Oct 2018
Old 08-20-2019 , 09:06   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #5

Quote:
Originally Posted by Marttt View Post
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"
}
Bro didn't work, I saw guns all over again.
Darkwob is offline
Darkwob
Member
Join Date: Oct 2018
Old 08-20-2019 , 09:08   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #6

Code:
;;EXAMPLE - remove all physics props
;remove:
;{
;"classname" "/prop_physics.*/"
;}

;;EXAMPLE - replace all garbage cans with a hostage
;modify:
;{
;	match:
;	{	
;	"model" "models/props_junk/garbage_metalcan002a.mdl"
;	"classname" "prop_physics_multiplayer"
;	}
;	replace:
;	{
;	"classname" "hostage_entity"
;	}
;	delete:
;	{
;	"model" "models/props_junk/garbage_metalcan002a.mdl"
;	}
;	insert:
;	{
;	"scale" "0.99"
;	}
;}

filter:
{
	"classname" "func_playerinfected_clip"
}

filter:
{
	"classname" "trigger_hurt_ghost"
}
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"
}
this my global_filtres file
Darkwob is offline
Marttt
Senior Member
Join Date: Jan 2019
Old 08-20-2019 , 13:50   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #7

For me it worked, is your stripper installed correctly? I unziped mine on the addons folder
So I can se "stripper" "metamod" and "sourcemod" folders into "addon" folder.
__________________
Marttt is offline
Darkwob
Member
Join Date: Oct 2018
Old 08-20-2019 , 16:25   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
For me it worked, is your stripper installed correctly? I unziped mine on the addons folder
So I can se "stripper" "metamod" and "sourcemod" folders into "addon" folder.
bro, look at the this image


isn't "stripper" in the right place ?


stripper line
C:\Program Files (x86)\Left 4 Dead 2\left4dead2\addons

can you help me with teamviewer ?
Darkwob is offline
Marttt
Senior Member
Join Date: Jan 2019
Old 08-20-2019 , 17:41   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #9

Yeah it's alright, kindly strange to not work. Currently i'm travelling but we can try, just PM me and let's hope that I see xDD
__________________
Marttt is offline
Darkwob
Member
Join Date: Oct 2018
Old 08-20-2019 , 19:58   Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
Reply With Quote #10

Quote:
Originally Posted by Marttt View Post
Yeah it's alright, kindly strange to not work. Currently i'm travelling but we can try, just PM me and let's hope that I see xDD
ok man, I'm send teamviwer id and password you.you're look at the pm. where are you traviling ? xD

Last edited by Darkwob; 08-20-2019 at 20:00.
Darkwob 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 20:23.


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