change: increase defend node search radius
change: more fixes to aiming table
This commit is contained in:
parent
e5ae2ac3f8
commit
e0f3317b1a
2 changed files with 3 additions and 3 deletions
|
|
@ -548,8 +548,8 @@ float Bot::getEnemyBodyOffsetCorrection (float distance) {
|
|||
{ 0.0f, 0.0f, 0.0f }, // melee
|
||||
{ 2.5f, 1.5f, 0.2f }, // pistol
|
||||
{ 6.5f, 2.0f, -9.9f }, // shotgun
|
||||
{ 0.5f, -3.5f, -8.0f }, // zoomrifle
|
||||
{ 0.5f, -3.5f, -8.5f }, // rifle
|
||||
{ 0.5f, -3.5f, -9.0f }, // zoomrifle
|
||||
{ 0.5f, -3.5f, -9.5f }, // rifle
|
||||
{ 2.5f, 0.5f, -4.5f }, // smg
|
||||
{ 0.5f, 0.5f, 1.5f }, // sniper
|
||||
{ 1.5f, -2.0f, -9.0f } // heavy
|
||||
|
|
|
|||
|
|
@ -1841,7 +1841,7 @@ int Bot::findDefendNode (const Vector &origin) {
|
|||
int distance = graph.getPathDist (srcIndex, i);
|
||||
|
||||
// skip wayponts with distance more than 512 units
|
||||
if (distance > 512) {
|
||||
if (distance > 1024) {
|
||||
continue;
|
||||
}
|
||||
game.testLine (graph[i].origin, graph[posIndex].origin, TraceIgnore::Everything, ent (), &tr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue