UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - UltimateZenith

So basically, I've been trying to figure out how to get Max Ammos in Black Ops 3 to work how they do in Black Ops 4, by filling both the stock and the clip of your weapons. The most common way I've seen to try and do this is to copy the "_zm_powerup_full_ammo.gsc" script from root/share/raw/scripts/zm over to root/usermaps/[zm_map]/scripts/zm and then changing the lines:
Code Snippet
Plaintext
if ( players[i] HasWeapon( primary_weapons[x] ) )
    players[i] GiveMaxAmmo( primary_weapons[x] );
to
Code Snippet
Plaintext
if ( players[i] HasWeapon( primary_weapons[x] ) )
{
    players[i] GiveMaxAmmo( primary_weapons[x] );
    players[i] SetWeaponammoClip( primary_weapons[x], primary_weapons[x].clipSize );
}
Supposedly doing this overrides the existing _zm_powerup_full_ammo.gsc file, but after many attempts of linking and compiling and shifting files around, I've had no such luck in getting it to work in my map. Does anyone know what I'm missing?
 
Edit: I figured it out, it turns out that everywhere I went omitted the fact that for this to work you need to add the following line to the zone file along with having the new script file:
Code Snippet
Plaintext
scriptparsetree,scripts/zm/_zm_powerup_full_ammo.gsc

2 years ago
Loading ...