Garry's Mod

Garry's Mod

1,247 ratings
[Entropy: Zero 2] Xen Grenade
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
6.744 MB
Aug 24, 2022 @ 7:42am
Aug 31, 2022 @ 5:14am
6 Change Notes ( view )

Subscribe to download
[Entropy: Zero 2] Xen Grenade

Description
Xen Grenade from Entropy: Zero 2.

Cvars:
xengrenade_radius - vortex radius. Default: 500
xengrenade_maxitems - max items can be spawned. Default:6. More items - more lags and crashes. You have been warned!
xengrenade_maxmass - max consuming mass per one item. Default^ 400

Commands:
xengrenade_itemlist - show itemlist.
xengrenade_itemlist_add <item> - Add item to item list. It can be item, npc, weapon.
xengrenade_itemlist_remove <item> - Remove item from itemlist.
xengrenade_itemlist_clear - Clear itemlist.
xengrenade_itemlist_reload - Reload itemlist.
Default itemlist: npc_headcrab npc_headcrab_fast npc_headcrab_black npc_antlion item_healthkit item_healthvial item_battery

Known issues:
NPC can stuck. It's unfixable.

Credits:
Breadmen - models and assets
122 Comments
Cherrie_The_Shifter ΘΔ Apr 22 @ 11:11pm 
fix this please
Headcrab Dec 20, 2024 @ 4:03am 
PM?
Winn Nov 28, 2024 @ 5:26pm 
i'd highly suggest adding a debounce to this line as it causes crashes from infinite loops. as stated on the gmod wiki


Server
0. TakeDamageInfo - [C]:-1
1. (null) - addons/xengrenadebutnotshit/lua/entities/ent_xengrenade/shared.lua:208
NextKurome76TheSoldier Nov 20, 2024 @ 1:17pm 
[[Entropy: Zero 2] Xen Grenade] lua/weapons/weapon_xengrenade/shared.lua:233: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/weapon_xengrenade/shared.lua:233

Timer Failed! [Simple][@lua/weapons/weapon_xengrenade/shared.lua (line 223)]

[[Entropy: Zero 2] Xen Grenade] lua/entities/ent_xengrenade/shared.lua:219: Tried to use a NULL entity!
1. SetAttacker - [C]:-1
2. unknown - lua/entities/ent_xengrenade/shared.lua:219
Gurt Nov 11, 2024 @ 8:00pm 
[[Entropy: Zero 2] Xen Grenade] lua/weapons/weapon_xengrenade/shared.lua:233: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/weapon_xengrenade/shared.lua:233
idiot Oct 25, 2024 @ 2:14pm 
they also become allied to hl:s NPCs like the vortigaunt and alien grunt
idiot Oct 25, 2024 @ 2:13pm 
VJ Base NPCs become allied to the player when they come out of the portal for some reason

they start attacking you when you shoot them or when an antlion spawns
Cam Man Sep 19, 2024 @ 11:28am 
Extra points if you paint it yellow.
Gamer Awesome Jul 28, 2024 @ 3:03pm 
well yeah its getting entities not models
Dullster Jul 28, 2024 @ 3:00pm 
i can never make the xen grenade spawn in props when i do it it just says [prop name] not found in game