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

[L4D2]Stripper


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-03-2018 , 01:39   [L4D2]Stripper
Reply With Quote #1

How to use Stripper to delete all firearms in the map?
I saw the description of Stripper, but I won't find the mdl and the item coordinates.
I only learned to add firearms weapons.
PHP Code:
add:
{
        
"classname" "weapon_smg"
        "origin" "352 5920 2657"
        "angles" "0 268 -90"

Who can give me an example of removing a firearm weapon?
Delete these 2 gun weapons.




Is the plugin easy to remove weapons?
If I can, I would like to ask for help with such a plugin.

rifle_m60
sniper_awp
sniper_scout
rifle_sg552
smg_mp5
grenade_launcher
sniper_military
rifle
rifle_ak47
rifle_desert
autoshotgun
shotgun_spas
hunting_rifle
pumpshotgun
shotgun_chrome
smg
smg_silenced


I didn't expect to use stripper to remove weapons would be so complicated.
I thought that as long as the classname weapon_smg_spawn is found, the weapon can be deleted in batches.
After this time.
I found that the same place is sometimes a weapon, sometimes something else, and the items are random.
This resulted in the use of stripper It is impossible to remove weapons completely.
The most important thing is that I don't know how to delete random items.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 08-06-2018 at 10:30. Reason: Request plugin support
phoenix0001 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-03-2018 , 09:51   Re: [L4D2]Stripper:Source
Reply With Quote #2

I used the delete code. Why are some of the firearm weapons in the map not deleted, just deleted a part?

PHP Code:
filter:
{
    
"classname" "weapon_hunting_rifle_spawn"
}

{
    
"classname" "weapon_smg_spawn"
}

{
    
"classname" "weapon_smg_silenced_spawn"
}

{
    
"classname" "weapon_smg_mp5_spawn"
}

{
    
"classname" "weapon_pumpshotgun_spawn"
}

{
    
"classname" "weapon_shotgun_chrome_spawn"
}

{
    
"classname" "weapon_rifle_m60_spawn"
}

{
    
"classname" "weapon_sniper_awp_spawn"
}

{
    
"classname" "weapon_sniper_scout_spawn"
}

{
    
"classname" "weapon_rifle_sg552_spawn"
}

{
    
"classname" "weapon_grenade_launcher_spawn"
}

{
    
"classname" "weapon_sniper_military_spawn"
}

{
    
"classname" "weapon_rifle_spawn"
}

{
    
"classname" "weapon_rifle_ak47_spawn"
}

{
    
"classname" "weapon_rifle_desert_spawn"
}

{
    
"classname" "weapon_autoshotgun_spawn"
}

{
    
"classname" "weapon_shotgun_spas_spawn"

__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 08-03-2018 at 09:53.
phoenix0001 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-03-2018 , 13:38   Re: [L4D2]Stripper
Reply With Quote #3

I think you're just missing weapon_spawn altho i'v not checked all of them
PHP Code:
{
    
"classname" "weapon_spawn"

__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-04-2018 , 03:27   Re: [L4D2]Stripper
Reply With Quote #4

Quote:
Originally Posted by Lux View Post
I think you're just missing weapon_spawn altho i'v not checked all of them
PHP Code:
{
    
"classname" "weapon_spawn"

The same gun weapon in the map.
For example, there are 3 M60s in the map, only 2 M60s can be deleted by deleting the code, and one M60 cannot be deleted.
The weapon code is all correct. How can the same weapon not be deleted?
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-04-2018 , 03:45   Re: [L4D2]Stripper
Reply With Quote #5

Use this to decompile the maps https://github.com/ata4/bspsrc/releases/tag/v1.3.24
then
open up the vmf file it created in hammer and find the entity that is not being deleted check it's classname
or something else that could spawn it
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-05-2018 , 01:40   Re: [L4D2]Stripper
Reply With Quote #6

Quote:
Originally Posted by Lux View Post
Use this to decompile the maps https://github.com/ata4/bspsrc/releases/tag/v1.3.24
then
open up the vmf file it created in hammer and find the entity that is not being deleted check it's classname
or something else that could spawn it
What should I do, I will not use it.

Attached Images
File Type: jpg 20180804220909.jpg (12.7 KB, 1079 views)
__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 08-05-2018 at 01:41.
phoenix0001 is offline
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 08-05-2018 , 17:08   Re: [L4D2]Stripper
Reply With Quote #7

Use VIDE to find hammerid entity, if you do not want to decompile maps and use hammer.
Find your entity (weapon_rifle_spawn) and delete like this
Code:
filter:
{
	"hammerid" "1719782"
}

Last edited by Uncle Jessie; 08-05-2018 at 20:41.
Uncle Jessie is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-06-2018 , 01:41   Re: [L4D2]Stripper
Reply With Quote #8

Quote:
Originally Posted by Uncle Jessie View Post
Use VIDE to find hammerid entity, if you do not want to decompile maps and use hammer.
Find your entity (weapon_rifle_spawn) and delete like this
Code:
filter:
{
	"hammerid" "1719782"
}
Wow!!! Thank you very much!!! I tested the C1M1 map and have successfully removed the gun weapon.
I am going to test the C1M2 map to see how it works.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 08-06-2018 , 03:56   Re: [L4D2]Stripper
Reply With Quote #9

Quote:
Originally Posted by Uncle Jessie View Post
Use VIDE to find hammerid entity, if you do not want to decompile maps and use hammer.
Find your entity (weapon_rifle_spawn) and delete like this
Code:
filter:
{
	"hammerid" "1719782"
}


I added all the " hammer id" but some weapons have not been deleted. why is that?
I have added all the weapons " hammer id" in the C1 m2 map.







PHP Code:
pumpshotgun+shotgun_chrome+autoshotgun+shotgun_spas
filter
:
{
    
"hammerid" "640458"
}
filter:
{
    
"hammerid" "1206643"
}
filter:
{
    
"hammerid" "1738953"
}
filter:
{
    
"hammerid" "1845920"
}
filter:
{
    
"hammerid" "1846223"
}
filter:
{
    
"hammerid" "1846225"
}
filter:
{
    
"hammerid" "1865080"
}
filter:
{
    
"hammerid" "1865082"
}
filter:
{
    
"hammerid" "1865178"
}
filter:
{
    
"hammerid" "1865225"
}
filter:
{
    
"hammerid" "1865227"
}
filter:
{
    
"hammerid" "1865229"
}
filter:
{
    
"hammerid" "1845995"
}
filter:
{
    
"hammerid" "1866905"
}
filter:
{
    
"hammerid" "1866907"
}
filter:
{
    
"hammerid" "1866947"
}
filter:
{
    
"hammerid" "1867169"
}
filter:
{
    
"hammerid" "1867171"
}
filter:
{
    
"hammerid" "1867173"
}
filter:
{
    
"hammerid" "1871133"
}

smg+smg_silenced
filter
:
{
    
"hammerid" "1206645"
}
filter:
{
    
"hammerid" "1206647"
}
filter:
{
    
"hammerid" "1738949"
}
filter:
{
    
"hammerid" "1846227"
}
filter:
{
    
"hammerid" "1846229"
}
filter:
{
    
"hammerid" "1866718"
}
filter:
{
    
"hammerid" "1866756"
}
filter:
{
    
"hammerid" "1866758"
}

M60+M16+AK47+desert+hunting
filter
:
{
    
"hammerid" "1206645"
}
filter:
{
    
"hammerid" "1206647"
}
filter:
{
    
"hammerid" "1845963"
}
filter:
{
    
"hammerid" "1845971"
}
filter:
{
    
"hammerid" "1845975"
}
filter:
{
    
"hammerid" "1846131"
}
filter:
{
    
"hammerid" "1864633"
}
filter:
{
    
"hammerid" "1864659"
}
filter:
{
    
"hammerid" "1864661"
}
filter:
{
    
"hammerid" "1864756"
}
filter:
{
    
"hammerid" "1864870"
}
filter:
{
    
"hammerid" "1864884"
}
filter:
{
    
"hammerid" "1864926"
}
filter:
{
    
"hammerid" "1864928"
}
filter:
{
    
"hammerid" "1864938"
}
filter:
{
    
"hammerid" "1864974"
}
filter:
{
    
"hammerid" "1864976"
}
filter:
{
    
"hammerid" "1864980"
}
filter:
{
    
"hammerid" "1865872"
}
filter:
{
    
"hammerid" "1865874"
}
filter:
{
    
"hammerid" "1865876"
}

sniper_military
filter
:
{
    
"hammerid" "1206647"
}
filter:
{
    
"hammerid" "1845975"
}
filter:
{
    
"hammerid" "1845981"
}
filter:
{
    
"hammerid" "1846223"
}
filter:
{
    
"hammerid" "1846225"
}
filter:
{
    
"hammerid" "1846227"
}
filter:
{
    
"hammerid" "1846229"
}
filter:
{
    
"hammerid" "1865762"
}
filter:
{
    
"hammerid" "1865872"
}
filter:
{
    
"hammerid" "1865874"
}
filter:
{
    
"hammerid" "1865876"
}
filter:
{
    
"hammerid" "1866718"
}
filter:
{
    
"hammerid" "1866756"
}
filter:
{
    
"hammerid" "1866758"
}
filter:
{
    
"hammerid" "1866905"
}
filter:
{
    
"hammerid" "1866907"
}
filter:
{
    
"hammerid" "1866947"
}
filter:
{
    
"hammerid" "1871133"

__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 08-06-2018 , 14:28   Re: [L4D2]Stripper
Reply With Quote #10

Probably you found something wrong)
Try using coordinates, btw i just use the hammer.
Weapon ids from your screenshots.

Code:
filter:
{
	"hammerid" "677092"
}
{
	"hammerid" "240383"
}
{
	"hammerid" "240367"
}
{
	"hammerid" "677115"
}
{
	"hammerid" "677135"
}
{
	"hammerid" "640560"
}
{
	"hammerid" "640650"
}
This is the weapon_spawn entities

Last edited by Uncle Jessie; 08-06-2018 at 22:05.
Uncle Jessie is offline
Reply



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 15:37.


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