climb is expensive

This commit is contained in:
INeedBots 2020-11-22 23:40:51 -06:00
parent 37ac438d57
commit 1e443f5826
2 changed files with 2 additions and 7 deletions

View File

@ -1668,7 +1668,7 @@ AStarSearch(start, goal, team, greedy_path)
// have certain types of nodes more expensive // have certain types of nodes more expensive
if (childtype == "climb" || childtype == "prone") if (childtype == "climb" || childtype == "prone")
penalty++; penalty += 4;
//calc the total path we have took //calc the total path we have took
newg = bestNode.g + DistanceSquared(nodeorg, childorg)*penalty;//bots on same team's path are more expensive newg = bestNode.g + DistanceSquared(nodeorg, childorg)*penalty;//bots on same team's path are more expensive

View File

@ -4,14 +4,9 @@ tube, grenade equipment waypoints use
follow, camp follow, camp
redo goal (use mw2s) redo goal (use mw2s)
_internal:
climb? (how)
_utility: _utility:
host assignment
http http
_other: _other:
menu menu
code comments documentation and tutorials
documentation and tutorials