AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2]How do I remove weapons, melee weapons, first aid items on all maps? (https://forums.alliedmods.net/showthread.php?t=318114)

Darkwob 08-14-2019 15:54

[L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
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?

Marttt 08-14-2019 20:30

Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
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

Darkwob 08-17-2019 06:39

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

Originally Posted by Marttt (Post 2663298)
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?

Marttt 08-18-2019 10:47

Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
1 Attachment(s)
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"
}


Darkwob 08-20-2019 09:06

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

Originally Posted by Marttt (Post 2663691)
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 08-20-2019 09:08

Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
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

Marttt 08-20-2019 13:50

Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
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.

Darkwob 08-20-2019 16:25

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

Originally Posted by Marttt (Post 2663983)
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
https://i.ibb.co/n8jC0bq/2019-08-20-231942.png

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 ?

Marttt 08-20-2019 17:41

Re: [L4D2]How do I remove weapons, melee weapons, first aid items on all maps?
 
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

Darkwob 08-20-2019 19:58

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

Originally Posted by Marttt (Post 2664023)
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


All times are GMT -4. The time now is 11:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.