• Welcome Guest, The new Modme forums are here! Please visit here for all recommended information.

Help Any way to disable drops?

ModmeBot

Modme hero
Thread By: h00dedsn1per
Does anyone know how to disable drops/ power ups such as; max ammo, insta-kill. double points etc. ?
 

ModmeBot

Modme hero
Reply By: The Black Death
h00dedsn1per
Does anyone know how to disable drops/ power ups such as; max ammo, insta-kill. double points etc. ?
I found this in zm_powerups.gsc:
PHP:
function powerup_remove_from_regular_drops( powerup_name )
From what I can tell, if as long as
PHP:
zm_powerups
is specified as a
PHP:
#using
in your gsc, you can do
PHP:
zm_powerups::powerup_remove_from_regular_drops( powerup_name )
.

These are the set that can spawn at random.
PHP:
nuke
,
PHP:
minigun
,
PHP:
insta_kill
,
PHP:
full_ammo
,
PHP:
fire_sale
,
PHP:
double_points
,
PHP:
carpenter
Beware of
PHP:
fire_sale
. Although I haven't checked to verify this, I would not be surprised if fire sale is removed like this and is triggered to start spawning once the box gives the teddy bear for the first time.
Possible with
PHP:
carpenter
too, but disabled/enabled based on whether 5+ barriers have been broken down.

I haven't investigated the csc side of this (if there is one).

Hope this helps.
<em>This won't help preventing powerups spawning from dig sites etc though most likely.</em>
 

ModmeBot

Modme hero
Reply By: h00dedsn1per
The Black Death
h00dedsn1per Does anyone know how to disable drops/ power ups such as; max ammo, insta-kill. double points etc. ? I found this in zm_powerups.gsc: function powerup_remove_from_regular_drops( powerup_name ) From what I can tell, if as long as zm_powerups is specified as a #using in your gsc, you can do zm_powerups::powerup_remove_from_regular_drops( powerup_name ). These are the set that can spawn at random. nuke, minigun, insta_kill, full_ammo, fire_sale, double_points, carpenter Beware of fire_sale. Although I haven't checked to verify this, I would not be surprised if fire sale is removed like this and is triggered to start spawning once the box gives the teddy bear for the first time. Possible with carpenter too, but disabled/enabled based on whether 5+ barriers have been broken down. I haven't investigated the csc side of this (if there is one). Hope this helps. This won't help preventing powerups spawning from dig sites etc though most likely.
Thankyou i'll check it out. Thanks for the reply, you get a win from me :)
 
Top