mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-20 17:55:42 +00:00
climb is expensive
This commit is contained in:
parent
37ac438d57
commit
1e443f5826
@ -1668,7 +1668,7 @@ AStarSearch(start, goal, team, greedy_path)
|
||||
|
||||
// have certain types of nodes more expensive
|
||||
if (childtype == "climb" || childtype == "prone")
|
||||
penalty++;
|
||||
penalty += 4;
|
||||
|
||||
//calc the total path we have took
|
||||
newg = bestNode.g + DistanceSquared(nodeorg, childorg)*penalty;//bots on same team's path are more expensive
|
||||
|
@ -4,14 +4,9 @@ tube, grenade equipment waypoints use
|
||||
follow, camp
|
||||
redo goal (use mw2s)
|
||||
|
||||
_internal:
|
||||
climb? (how)
|
||||
|
||||
_utility:
|
||||
host assignment
|
||||
http
|
||||
|
||||
_other:
|
||||
menu
|
||||
code comments
|
||||
documentation and tutorials
|
||||
documentation and tutorials
|
||||
|
Loading…
x
Reference in New Issue
Block a user