mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-07 04:18:49 -05:00
Encounter: headstomp only when prone
This commit is contained in:
@ -443,7 +443,7 @@
|
||||
* Unlimited powerups
|
||||
* Unlimited barrier rebuild points
|
||||
* Decreased stun time of unupgraded weapons from 0.75 seconds to 0.5 seconds
|
||||
* Decreased stun time of upgraded weapons rom 0.75 seconds to 0.625 seconds
|
||||
* Decreased stun time of upgraded weapons from 0.75 seconds to 0.625 seconds
|
||||
* Meleeing enemy players pushes 16.67% farther for every 500 damage that melee weapon deals
|
||||
* Meleeing enemy players that are crouched pushes 33.33% of the amount when standing
|
||||
* Meleeing enemy players that are prone pushes 16.67% of the amount when standing
|
||||
@ -456,10 +456,9 @@
|
||||
* Downing enemy players awards 500 points
|
||||
* 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 can be done at any stance
|
||||
* Landing on top of an enemy player only occurs if the bottom player is prone
|
||||
* Increased max radius for landing on top of an enemy player by 16.67%
|
||||
* Decreased max height for landing on top of an enemy player that is crouched by 8.33%
|
||||
* Decreased max height for landing on top of an enemy player that is prone by 50%
|
||||
* Decreased max height for landing on top of an enemy player by 50%
|
||||
* Max Ammo: decreased amount of ammo given from max stock to one clip
|
||||
* Max Ammo: unloads clip of all enemy players' weapons
|
||||
* Double Points: decreased duration from 30 seconds to 15 seconds
|
||||
|
@ -962,14 +962,10 @@ headstomp_watcher()
|
||||
|
||||
players = get_players();
|
||||
foreach(player in players)
|
||||
{
|
||||
player_top_origin = player getEye();
|
||||
if(player getStance() == "prone")
|
||||
{
|
||||
player_top_origin = player getCentroid();
|
||||
}
|
||||
|
||||
if(player != self && player.team != self.team && is_player_valid(player) && player isOnGround() && self.origin[2] > player_top_origin[2])
|
||||
if(player != self && player.team != self.team && is_player_valid(player) && player getStance() == "prone" && player isOnGround() && self.origin[2] > player_top_origin[2])
|
||||
{
|
||||
if(distance2d(self.origin, player.origin) <= 21 && (self.origin[2] - player_top_origin[2]) <= 15)
|
||||
{
|
||||
@ -2784,6 +2780,8 @@ spawn_bots()
|
||||
|
||||
level waittill( "connected", player );
|
||||
|
||||
wait 5;
|
||||
|
||||
level.bots = [];
|
||||
|
||||
for(i = 0; i < bot_amount; i++)
|
||||
@ -2801,4 +2799,31 @@ spawn_bots()
|
||||
|
||||
level.bots[i].pers["isBot"] = 1;
|
||||
}
|
||||
|
||||
while(1)
|
||||
{
|
||||
if (player useButtonPressed())
|
||||
{
|
||||
for (i = 0; i < level.bots.size; i++)
|
||||
{
|
||||
level.bots[i] setStance("prone");
|
||||
}
|
||||
}
|
||||
else if (player adsButtonPressed())
|
||||
{
|
||||
for (i = 0; i < level.bots.size; i++)
|
||||
{
|
||||
level.bots[i] setStance("crouch");
|
||||
}
|
||||
}
|
||||
else if (player attackButtonPressed())
|
||||
{
|
||||
for (i = 0; i < level.bots.size; i++)
|
||||
{
|
||||
level.bots[i] setStance("stand");
|
||||
}
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user