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

Black Ops 3 Make Max Ammo Fill Clip

broken avatar :(
Created 2 years ago
by UltimateZenith
0 Members and 1 Guest are viewing this topic.
236 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 25 July 2022
Last active: 2 years ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
UltimateZenith's Contact & Social Links
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

Last Edit: July 25, 2022, 07:59:14 pm by UltimateZenith

 
Loading ...