Jump to content

Low ammo weapons/perk list


baltostar

Recommended Posts

Posted

looking at the _zombie mode.gsc file, I found this line to exclude all perks from displaying low ammo. Just more of an interesting find but doesn't provide much incite.

if(!isDefined(weap) || weap == "none" || weap == "zombie_perk_bottle_doubletap" || weap == "zombie_perk_bottle_jugg" || weap == "zombie_perk_bottle_revive" || weap == "zombie_perk_bottle_sleight" || weap == "mine_bouncing_betty" || weap == "claymore_zm" || weap == "syrette_sp" || weap == "zombie_knuckle_crack" || weap == "zombie_bowie_flourish" || issubstr( weap, "knife_ballistic_" ) || ( GetSubStr( weap, 0, 3) == "gl_" ) )

Source:

track_players_ammo_count()
{
self endon("disconnect");
self endon("death");

wait(5);

while(1)
{
players = get_players();
for(i=0;i {
if(!IsDefined (players[i].player_ammo_low))
{
players[i].player_ammo_low = 0;
}
if(!IsDefined(players[i].player_ammo_out))
{
players[i].player_ammo_out = 0;
}

weap = players[i] getcurrentweapon();
//iprintln("current weapon: " + weap);
//iprintlnbold(weap);
//Excludes all Perk based 'weapons' so that you don't get low ammo spam.
if(!isDefined(weap) || weap == "none" || weap == "zombie_perk_bottle_doubletap" || weap == "zombie_perk_bottle_jugg" || weap == "zombie_perk_bottle_revive" || weap == "zombie_perk_bottle_sleight" || weap == "mine_bouncing_betty" || weap == "claymore_zm" || weap == "syrette_sp" || weap == "zombie_knuckle_crack" || weap == "zombie_bowie_flourish" || issubstr( weap, "knife_ballistic_" ) || ( GetSubStr( weap, 0, 3) == "gl_" ) )
{
continue;
}
//iprintln("checking ammo for " + weap);
if ( players[i] GetAmmoCount( weap ) > 5)
{
continue;
}
if ( players[i] maps\_laststand::player_is_in_laststand() )
{
continue;
}
else if (players[i] GetAmmoCount( weap ) 0)
{
if (players[i].player_ammo_low != 1 )
{
players[i].player_ammo_low = 1;
players[i] maps\_zombiemode_audio::create_and_play_dialog( "general", "ammo_low" );
players[i] thread ammo_dialog_timer();
}

}
else if (players[i] GetAmmoCount( weap ) == 0)
{
if(!isDefined(weap) || weap == "none")
{
continue;
}
wait(2);
if( players[i].player_ammo_out != 1 )
{
players[i].player_ammo_out = 1;
players[i] maps\_zombiemode_audio::create_and_play_dialog( "general", "ammo_out" );
players[i] thread ammoout_dialog_timer();
}
}
else
{
continue;
}
}
wait(.5);
}
}

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

bouncing betties? Knuckle crack?

edit: actually I think "knuckle crack" is what happens when you use the pack a punch, the "bowie flourish" (when you look at it right after picking it up) counts as a weapon in and of itself

Which means that you might have 3 weapon slots, with the last being the "knuckle crack", "bowie flourish", or the revive needle

I wonder if you're able to revive someone immediately after picking up the bowie knife, during the flourish.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, Code of Conduct, We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. .