Page 1 of 1

Reload after lvl up

PostPosted: Wed Sep 23, 2009 11:45 pm
by Gallitin
I have this option set to :

//=========================================================
// RELOAD
//=========================================================
// When a player makes a kill the ammo in their clip is replenished.
//
// Options: 0 = Disabled
// 1 = Enabled

gg_reload 1

in my gg_default_addons.cfg

However, this is not working in my server. Do I need to change this option somewhere else as well?

PostPosted: Sat Sep 26, 2009 4:56 am
by satoon101
If you are wondering if it will refill clip of the previous level weapon when you level up, it is not designed to do this. Once you have leveled up, it will only reload the weapon for that next level. So say you are on USP, and Glock is the next weapon. If you get the kill to level up to the Glock, but you do not have Turbo on, since you still have the USP, it will not be reloaded. If you want to change this so it will reload any weapon on kill, just remove:
   # We will only reload weapons that the attacker is on the level for
    if weapon != gungamelib.getPlayer(attacker).getWeapon():
        return
from your ..addons/eventscripts/gungame/included_addons/gg_reload/gg_reload.py

Satoon