Reload after lvl up

Ask questions and share info about GunGame 5

Reload after lvl up

Postby Gallitin » Wed Sep 23, 2009 11:45 pm

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?
Gallitin

Recruit
Recruit
 
Posts: 2
Joined: Thu May 21, 2009 11:24 pm
Steam Friends Name: gallitin

Postby satoon101 » Sat Sep 26, 2009 4:56 am

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron