mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Encounter: add proper revive obituary icon
Encounter: add separate obituary icon for Ballistic Knife revive
This commit is contained in:
parent
e8068063b5
commit
7aac50ef02
BIN
images/hud_us_grenade.iwi
Normal file
BIN
images/hud_us_grenade.iwi
Normal file
Binary file not shown.
@ -28,6 +28,7 @@ on_spawn(watcher, player)
|
||||
|
||||
if (is_upgraded && isDefined(prey) && isplayer(prey) && prey.team == player.team && prey maps\mp\zombies\_zm_laststand::player_is_in_laststand())
|
||||
{
|
||||
prey.revived_by_weapon = watcher.weapon;
|
||||
prey notify( "remote_revive", player );
|
||||
return;
|
||||
}
|
||||
|
@ -811,7 +811,22 @@ revive_feed(reviver)
|
||||
{
|
||||
if (isDefined(reviver) && reviver != self)
|
||||
{
|
||||
obituary(self, reviver, level.revive_tool, "MOD_IMPACT");
|
||||
weapon = level.revive_tool;
|
||||
|
||||
if (isdefined(self.revived_by_weapon))
|
||||
{
|
||||
weapon = self.revived_by_weapon;
|
||||
self.revived_by_weapon = undefined;
|
||||
}
|
||||
|
||||
// have to put ballistic knife revive icon in a different weapon file
|
||||
// since ballistic knife kill icon already in use
|
||||
if (issubstr(weapon, "knife_ballistic"))
|
||||
{
|
||||
weapon = "zombie_fists_zm";
|
||||
}
|
||||
|
||||
obituary(self, reviver, weapon, "MOD_UNKNOWN");
|
||||
}
|
||||
}
|
||||
|
||||
|
1
weapons/zm/syrette_zm
Normal file
1
weapons/zm/syrette_zm
Normal file
File diff suppressed because one or more lines are too long
1
weapons/zm/zombie_fists_zm
Normal file
1
weapons/zm/zombie_fists_zm
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user