]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Bot AI: implement goal locking for goals that require bot to stand on the goal's...
authorterencehill <piuntn@gmail.com>
Tue, 31 Oct 2017 18:09:24 +0000 (19:09 +0100)
committerterencehill <piuntn@gmail.com>
Wed, 1 Nov 2017 01:53:33 +0000 (02:53 +0100)
commit991afcbcdeaf904cd052ad7399d00d0ec6e619f8
tree8816798edbc7efec4eebd8a300ab99dc4e6ca0cc
parent4819cd87186846da4df5e276f2c3303c761530b2
Bot AI: implement goal locking for goals that require bot to stand on the goal's position, currently used in CTF when bot heads to his own base trying to capture flag; it fixes bot wasting a lot of CPU cycles trying to find a new goal every frame if it reaches his own base and his own flag is stolen
qcsrc/server/bot/default/havocbot/havocbot.qc
qcsrc/server/bot/default/navigation.qc
qcsrc/server/bot/default/navigation.qh
qcsrc/server/mutators/mutator/gamemode_ctf.qc