improved sniping
fixed bots never choice camping tactic, due to agression level oveflow cosmetic changes
This commit is contained in:
parent
363b430c41
commit
9e5c1540f9
13 changed files with 336 additions and 310 deletions
|
|
@ -536,7 +536,7 @@ float Bot::GetZOffset (float distance)
|
|||
|
||||
if (distance < 2800.0f && distance > DoubleBurstDistance)
|
||||
{
|
||||
if (sniper) result = 3.5f;
|
||||
if (sniper) result = 1.5f;
|
||||
else if (zoomableRifle) result = 4.5f;
|
||||
else if (pistol) result = 6.5f;
|
||||
else if (submachine) result = 5.5f;
|
||||
|
|
@ -546,7 +546,7 @@ float Bot::GetZOffset (float distance)
|
|||
}
|
||||
else if (distance > BurstDistance && distance <= DoubleBurstDistance)
|
||||
{
|
||||
if (sniper) result = 3.5f;
|
||||
if (sniper) result = 2.5f;
|
||||
else if (zoomableRifle) result = 3.5f;
|
||||
else if (pistol) result = 6.5f;
|
||||
else if (submachine) result = 3.5f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue