[Release] [ZM] Grenade Cluster Mod
-
GRENADE CLUSTER MOD
Developer: @ItsCahz
Github LinkI've had this ready to go for awhile. It originally started off as a meme, but I've decided to release it for the lolz. Pretty much all it does is spawn a cluster of grenades when a player throws a frag grenade
https://www.youtube.com/watch?v=cHTW-Ytdl1A&feature=youtu.be
#include maps/mp/_utility; #include common_scripts/utility; #include maps/mp/gametypes_zm/_hud_util; #include maps/mp/zombies/_zm; #include maps/mp/zombies/_zm_utility; init() { level thread onplayerconnected(); } onplayerconnected() { for ( ;; ) { level waittill( "connected", player ); player thread watch_for_grenade_throw(); } } watch_for_grenade_throw() { self endon ( "disconnect" ); level endon ( "end_game" ); for ( ;; ) { self waittill ("grenade_fire", grenade, weapname); if ( weapname == "frag_grenade_zm" ) { grenade thread multiply_grenades(); } wait 0.1; } } multiply_grenades() { self endon ( "death" ); wait 1.25; self magicgrenadetype( "frag_grenade_zm", self.origin + ( 20, 0, 0 ), ( 50, 0, 400 ), 2.5 ); wait 0.25; self magicgrenadetype( "frag_grenade_zm", self.origin + ( -20, 0, 0 ), ( -50, 0, 400 ), 2.5 ); wait 0.25; self magicgrenadetype( "frag_grenade_zm", self.origin + ( 0, 20, 0 ), ( 0, 50, 400 ), 2.5 ); wait 0.25; self magicgrenadetype( "frag_grenade_zm", self.origin + ( 0, -20, 0 ), ( 0, -50, 400 ), 2.5 ); wait 0.25; self magicgrenadetype( "frag_grenade_zm", self.origin, ( 0, 0, 400 ), 2.5 ); }HOW TO ADD WITH OTHER MODS
- Copy the functions watch_for_grenade_throw() and multiply_grenades()
- Thread watch_for_grenade_throw() under onPlayerConnected.
-
Cahz Thats cool, is really fun things

-
It gives a problem when I tried to launch Town map and doesn't let me play but I'm too lazy to write it here and this mod is probably abandoned so whatever
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login