mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-13 08:38:01 -05:00
Grief: grief point award changes
Increase stun award from 10 to 100 Change downed award from 5% of their points to 500 Change bleedout award from 10% of your points to 1000
This commit is contained in:
@ -303,9 +303,9 @@
|
|||||||
* Meleeing enemy players that are already stunned will push them
|
* Meleeing enemy players that are already stunned will push them
|
||||||
* Stun fx is linked to the player
|
* Stun fx is linked to the player
|
||||||
* Stun fx shows in the correct position for projectiles
|
* Stun fx shows in the correct position for projectiles
|
||||||
* Stunning enemy players steals 10 points from them
|
* Stunning enemy players steals 100 points from them
|
||||||
* Downing enemy players awards 5% of their current points
|
* Downing enemy players awards 500 points
|
||||||
* Bleeding out enemy players awards 10% of your current points to all teammates
|
* Bleeding out enemy players awards 1000 points to all teammates
|
||||||
* Landing on top of an enemy player downs only the bottom player
|
* Landing on top of an enemy player downs only the bottom player
|
||||||
* Landing on top of an enemy player can be done at any stance
|
* Landing on top of an enemy player can be done at any stance
|
||||||
* Increased max radius for landing on top of an enemy player by 33%
|
* Increased max radius for landing on top of an enemy player by 33%
|
||||||
|
@ -215,6 +215,9 @@ set_grief_vars()
|
|||||||
level.grief_score["B"] = 0;
|
level.grief_score["B"] = 0;
|
||||||
level.game_mode_griefed_time = 2.5;
|
level.game_mode_griefed_time = 2.5;
|
||||||
level.stun_fx_amount = 3;
|
level.stun_fx_amount = 3;
|
||||||
|
level.stun_award_points = 100;
|
||||||
|
level.downed_award_points = 500;
|
||||||
|
level.bleedout_award_points = 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
player_spawn_override()
|
player_spawn_override()
|
||||||
@ -497,9 +500,9 @@ revive_feed(reviver)
|
|||||||
|
|
||||||
add_grief_downed_score()
|
add_grief_downed_score()
|
||||||
{
|
{
|
||||||
if(isDefined(self.score_lost_when_downed) && isDefined(self.last_griefed_by) && is_player_valid(self.last_griefed_by.attacker))
|
if(isDefined(self.last_griefed_by) && is_player_valid(self.last_griefed_by.attacker))
|
||||||
{
|
{
|
||||||
self.last_griefed_by.attacker maps/mp/zombies/_zm_score::add_to_player_score(self.score_lost_when_downed);
|
self.last_griefed_by.attacker maps/mp/zombies/_zm_score::add_to_player_score(level.downed_award_points);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -510,8 +513,7 @@ add_grief_bleedout_score()
|
|||||||
{
|
{
|
||||||
if(is_player_valid(player) && player.team != self.team)
|
if(is_player_valid(player) && player.team != self.team)
|
||||||
{
|
{
|
||||||
points = round_up_to_ten(int(player.score * level.zombie_vars["penalty_no_revive"]));
|
player maps/mp/zombies/_zm_score::add_to_player_score(level.bleedout_award_points);
|
||||||
player maps/mp/zombies/_zm_score::add_to_player_score(points);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1170,7 +1172,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
|||||||
self thread do_game_mode_shellshock(is_melee, maps/mp/zombies/_zm_weapons::is_weapon_upgraded(sweapon));
|
self thread do_game_mode_shellshock(is_melee, maps/mp/zombies/_zm_weapons::is_weapon_upgraded(sweapon));
|
||||||
self playsound( "zmb_player_hit_ding" );
|
self playsound( "zmb_player_hit_ding" );
|
||||||
|
|
||||||
self stun_score_steal(eattacker, 10);
|
self stun_score_steal(eattacker, level.stun_award_points);
|
||||||
|
|
||||||
if(!is_melee)
|
if(!is_melee)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user