Raised This Month: $12 Target: $400
 3% 

L4D2 how do I remove chainsaw or object on all maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 10-03-2020 , 03:03   L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #1

I would like to eliminate the chainsaw and adrenaline in all the maps of the left 4 dead 2 totally, who helps me? :llorar: :llorar:
gamer_kanelita is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-03-2020 , 05:26   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #2

stripper dump.

Code:
{
"origin" "-2538 2786 4.33493"
"targetname" "chainsaw"
"spawnflags" "0"
"item9" "0"
"item8" "0"
"item7" "0"
"item6" "0"
"item5" "0"
"item4" "0"
"item3" "0"
"item2" "0"
"item17" "1"
"item16" "1"
"item15" "0"
"item14" "0"
"item13" "0"
"item12" "0"
"item11" "0"
"item10" "0"
"item1" "0"
"angles" "0 60 0"
"classname" "weapon_item_spawn"
"hammerid" "1637094"
}
Valve wiki dev (or Hammer editor) weapon_item_spawn

I made this screenshot

So, in Stripper global config.

global_filters.cfg
Code:
modify:
{
	match:
	{	
	"classname" "weapon_item_spawn"
	}
	replace:
	{
	"item11" "0"
	"item16" "0"
	}
	delete:
	{
	}
	insert:
	{
	}
}

filter:
{
	"classname"	"weapon_adrenaline_spawn"
}
{
	"classname"	"weapon_chainsaw_spawn"
}
*edit
If specific item still exist, it have been created by own classname than with weapon_item_spawn. Need add that in config also.
__________________
Do not Private Message @me

Last edited by Bacardi; 10-03-2020 at 05:45.
Bacardi is offline
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 10-03-2020 , 09:44   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #3

Hello, I still have adrenaline pumping in the second chapter of the parish on the train , but thank you very much anyway
gamer_kanelita is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-03-2020 , 14:14   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #4

...not sure why. But I didn't find it. Look configure again, I updated second time.
Bacardi is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 11-10-2020 , 04:21   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #5

Do you know what it could be for removing incendiary and explosive ammo upgrade box ?

Last edited by JLmelenchon; 11-10-2020 at 04:25.
JLmelenchon is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-10-2020 , 07:05   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #6

You can always check the entities list here (https://developer.valvesoftware.com/..._L4D2_Entities)

Didn't test but these are the entities related to the upgrades:

weapon_upgradepack_explosive_spawn
https://developer.valvesoftware.com/...xplosive_spawn

weapon_upgradepack_incendiary_spawn
https://developer.valvesoftware.com/...cendiary_spawn

upgrade_spawn
https://developer.valvesoftware.com/wiki/Upgrade_spawn

-----------------------------

then maybe try this:

Code:
filter:
{
	"classname"	"weapon_upgradepack_explosive_spawn"
}
{
	"classname"	"weapon_upgradepack_incendiary_spawn"
}
Code:
modify:
{
	match:
	{
		"classname" "upgrade_spawn"
	}
	replace:
	{
		"upgradepack_incendiary" "0"
		"upgradepack_explosive" "0"
	}
}
__________________

Last edited by Marttt; 11-10-2020 at 07:08.
Marttt is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-11-2020 , 06:13   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #7

It's best to get rid of the upgrade_spawn entities that spawn incendiary and/or explosive ammo packs while keeping the ones that spawn laser sights instead intact. Doing the above will just either turn them all into laser sights or waste entity space.

Last edited by cravenge; 11-11-2020 at 06:14.
cravenge is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 11-11-2020 , 12:21   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
then maybe try this:

Code:
filter:
{
	"classname"	"weapon_upgradepack_explosive_spawn"
}
{
	"classname"	"weapon_upgradepack_incendiary_spawn"
}
Code:
modify:
{
	match:
	{
		"classname" "upgrade_spawn"
	}
	replace:
	{
		"upgradepack_incendiary" "0"
		"upgradepack_explosive" "0"
	}
}
Thanks it seems to work.
JLmelenchon is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 11-14-2020 , 03:24   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #9

Is it possible to do the same with some T2 weapons ? Still "classname" "weapon_item_spawn" or something else ?

Last edited by JLmelenchon; 11-14-2020 at 03:25.
JLmelenchon is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-14-2020 , 06:16   Re: L4D2 how do I remove chainsaw or object on all maps
Reply With Quote #10

For T2 you have to check 3 classesnames:
  • weapon_<name>_spawn (e.g. weapon_rifle_ak47_spawn)
  • weapon_<name> (e.g. weapon_spawn)
  • weapon_spawn

Also can check here some other weapon_spawn attributes.
Which is a bit complex cause they have many variants:

Code:
Value                   | Description
any                     | Any primary or secondary weapon
any_pistol              | Any Pistol
weapon_pistol           | Pistol
weapon_pistol_magnum    | Magnum Pistol
any_primary             | Any Primary Weapon
tier1_any               | Any tier 1 primary
tier2_any               | Any tier 2 primary
any_smg                 | Any tier 1 SMG
any_rifle               | Any tier 2 Rifle
any_sniper_rifle        | Any tier 2 Sniper Rifle
any_shotgun             | Any Shotgun
tier1_shotgun           | Any tier 1 Shotgun
tier2_shotgun           | Any tier 2 Shotgun
weapon_smg              | SMG
weapon_smg_silenced     | Silenced SMG
weapon_pumpshotgun      | Pump Shotgun
weapon_shotgun_chrome   | Chrome Shotgun
weapon_autoshotgun      | Auto Shotgun
weapon_shotgun_spas     | SPAS Shotgun
weapon_rifle            | M4 Rifle
weapon_rifle_desert     | Desert Rifle
weapon_rifle_ak47       | AK47
weapon_hunting_rifle    | Hunting Rifle
weapon_sniper_military  | Sniper Military
weapon_smg_mp5          | MP5
weapon_rifle_sg552      | SG552
weapon_sniper_awp       | Sniper AWP
weapon_sniper_scout     | Sniper Scout
Then on Stripper you have to do something like this:

Spoiler
__________________

Last edited by Marttt; 11-14-2020 at 06:37.
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 06:58.


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