View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 08-09-2021 , 14:20   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #29

With Stripper, this kind of specific setting won't work on 100% of the scenarios.

You can do the same config to the weapon_pistol_magnum_spawn classname.

But it won't work for the weapon_spawn when the "weapon_selection" is "any" (would apply to all weapons) or "any_pistol" (would be for both pistol and de).

You can try the config below (didn't test)

PHP Code:
modify:
{
    
match:
    {
        
"classname" "weapon_pistol_magnum_spawn"
    
}
    
replace:
    {
        
"count" "1"
    
}
}

modify:
{
    
match:
    {
        
"classname" "weapon_spawn"
        "weapon_selection" "weapon_pistol_magnum"
    
}
    
replace:
    {
        
"count" "1"
    
}
}

modify:
{
    
match:
    {
        
"classname" "weapon_spawn"
        "weapon_selection" "any_pistol"
    
}
    
replace:
    {
        
"count" "1"
    
}

Better would be to use a plugin for that. (if there isn't one already)
__________________

Last edited by Marttt; 08-09-2021 at 14:26.
Marttt is offline