Posts
164
Respect
39Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |


check_for_change()player maps\_zombiemode_score::add_to_player_score( 30 );![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
//chris_p - added dogs to the scoring
player_add_points( event, mod, hit_location ,is_dog)
{
if( level.intermission )
{
return;
}
if( !is_player_valid( self ) )
{
return;
}
points = 0;
switch( event )
{
case "death":
points = level.zombie_vars["zombie_score_kill"];
points += player_add_points_kill_bonus( mod, hit_location );
if(IsDefined(self.kill_tracker))
{
self.kill_tracker++;
}
else
{
self.kill_tracker = 1;
}
//stats tracking
self.stats["kills"] = self.kill_tracker;
if( mod == "MOD_MELEE" && self hasperk( "specialty_altmelee" ) )
{
self achievement_notify( "DLC3_ZOMBIE_BOWIE_KILLS" );
}
if( level.zombie_vars["zombie_powerup_insta_kill_on"] == 1 && mod == "MOD_UNKNOWN" )
{
points = points * 2;
}
break;
case "damage":
points = level.zombie_vars["zombie_score_damage"];
break;
case "damage_ads":
points = Int( level.zombie_vars["zombie_score_damage"] * 1.25 );
break;
default:
assertex( 0, "Unknown point event" );
break;
}
points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];
self.score += points;
self.score_total += points;
//stat tracking
self.stats["score"] = self.score_total;
self set_player_score_hud();
// self thread play_killstreak_vo();
}
Note: Code SnippetPlaintext//chris_p - added dogs to the scoring
player_add_points( event, mod, hit_location ,is_dog)
{
if( level.intermission )
{
return;
}
if( !is_player_valid( self ) )
{
return;
}
points = 0;
switch( event )
{
case "death":
points = level.zombie_vars["zombie_score_kill"];
points += player_add_points_kill_bonus( mod, hit_location );
if(IsDefined(self.kill_tracker))
{
self.kill_tracker++;
}
else
{
self.kill_tracker = 1;
}
//stats tracking
self.stats["kills"] = self.kill_tracker;
if( mod == "MOD_MELEE" && self hasperk( "specialty_altmelee" ) )
{
self achievement_notify( "DLC3_ZOMBIE_BOWIE_KILLS" );
}
if( level.zombie_vars["zombie_powerup_insta_kill_on"] == 1 && mod == "MOD_UNKNOWN" )
{
points = points * 2;
}
break;
case "damage":
points = level.zombie_vars["zombie_score_damage"];
break;
case "damage_ads":
points = Int( level.zombie_vars["zombie_score_damage"] * 1.25 );
break;
default:
assertex( 0, "Unknown point event" );
break;
}
points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];
self.score += points;
self.score_total += points;
//stat tracking
self.stats["score"] = self.score_total;
self set_player_score_hud();
// self thread play_killstreak_vo();
}
Edit: So it looks like my theory was correct that the HUD ownerdraw is rounded up automatically.
(Image removed from quote.)

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
yea, so the hud would "say" 950, but your actual score would be 945, right?
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Looks that way yup.
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |


![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |