[L4D/L4D2]Weapon Cleaner (2.2.5)
52 Attachment(s)
Intro
The idea of this plugin arises from the fact of avoiding the excess of weapons. This usually happens when players abuse weapons spawn. In addition to other plugins that generate weapons which several of these are abandoned. Since also the excess of these weapons on the map can cause the server to warp or even crash due to excess entities. This plugin consists of an independent timer countdown for each weapon, and this is activated when the weapon is left on the ground, similar to KF2. Feature list:
Cvars: PHP Code:
PHP Code:
Changelog
Notes: -if you wish to compile a version yourself, l4dstocks is required. -for to use the WhiteList cfg, you must set the value to "1" for exclude your weapon -for now the cvar:weapon_cleaner_physics can't detect gascans, you can exclude in Whitelist credits zipcore Mr. Zero AtomicStryker berni Bacardi KissLick
Special Thanks
pd: sorry for my bad English :/ |
Re: [L4D/L4D2]Weapon Cleaner
Thanks. Nice idea.
Quote:
Quote:
|
Re: [L4D/L4D2]Weapon Cleaner
1 Attachment(s)
I uploaded the l4dstocks repo-archive in case others are having download problems.
|
Re: [L4D/L4D2]Weapon Cleaner
Lux, thanks.
xZk, can I ask you something about your code. In OnEntityCreated you are using: PHP Code:
Is it roughly speaking almost identical events in time for _weapon class to safe check its props? PHP Code:
What kind of error that case prevents? And a recommendation: Use EntIndexToEntRef when you pass entity index to a timer function. Like: PHP Code:
PHP Code:
PHP Code:
Quote:
Maybe, add ConVar to track only the case when weapon dropped (do not track all spawned entities). To increase CPU performance. |
Re: [L4D/L4D2]Weapon Cleaner
Gun does not work
"weapon_rifle_ak47,rifle_ak47" |
Re: [L4D/L4D2]Weapon Cleaner
Quote:
Quote:
Quote:
Quote:
In the next version i will try to add a cvar to optionally detect the weapon spawned(do not track all spawned entities), the time did not give me to add it in this version :/, thanks for the suggestions Dragokas ☺ |
Re: [L4D/L4D2]Weapon Cleaner
Quote:
PHP Code:
weapon_cleaner_exclude "shotgun_spas, sniper_military, rifle_ak47" |
Re: [L4D/L4D2]Weapon Cleaner
xZk, thank you for explanation.
Quote:
|
Re: [L4D/L4D2]Weapon Cleaner
Sorry I misunderstood Features
thank you for the explanation normal work [L4D2] Infected Loot Drops (2.3d) https://forums.alliedmods.net/showthread.php?p=1099583 Generated item Must discard items in order to work |
Re: [L4D/L4D2]Weapon Cleaner
Quote:
PHP Code:
|
All times are GMT -4. The time now is 01:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.