Posted December 28, 2015 This script auto-deletes empty weapons and weapons that have reached maximum battery age. There are a few exceptions to what it will delete: Flags / Oddballs (any object that has the Must Be Readied flag set) Weapons that have no magazines and also do not have the "Cannot fire at max age" flag set such as Energy Swords Download (1.1; SAPP): remove_empty_weapons_1_1.lua Older versions: Spoiler Download (1.0; SAPP): remove_empty_weapons.lua Vuthakral, giraffe, stunt_man and 4 others like this Share this post Link to post Share on other sites
Posted February 4, 2016 FYI: the original Xbox version of the game despawned empty weapons, just like this script. Great work 002 NeX likes this Share this post Link to post Share on other sites
Posted August 13, 2017 I've updated the script. Rather than destroying the weapon instantly, the despawn timer gets decremented by 60 ticks every tick. According to reports, instantly destroying weapons has caused client crashes, and I think this may be due to the weapon being destroyed as clients are holding/dropping them on their screen, and this is likely due to unstable connections, though I can't reproduce this for myself. To be safe, deapons despawn after somewhat less than a second now. The older version is still available to download, however. Takka likes this Share this post Link to post Share on other sites