At last!
The bot is working.
They navigate the button-activated doors perfectly, they can attack enemies while climbing ladders, they press buttons when you tell them to, they don't go slow-motion anymore, they eventually ride elevators if you waypoint them correctly...
And the caviar on top of the toast : they come with a lllovely waypoint editor.
All the bug fixes that have been posted on this forum have been committed inside the source code. And all the mentioned bugs from the previous version have been fixed. I would like to thank all of you who contributed because without this I wouldn't even have bothered updating the bot again
It's up to you third party coders now to make this bot what you want it to be
gee, I almost forgot the usual changelog.
Quote:
+ All the bugfixes submitted by the people on the Bots United forum have been
incorporated/committed into the bot code.
+ Completely rewritten the menu display code to make it readable and easily
understandable by any third-party source code hackers.
+ Added the ability to point the gun at a waypoint and create/delete incoming
and outcoming paths to this waypoint by a single keypress in editing mode
+ Fixed creation of pathwaypoints to the same waypoint bug when jumping
+ Added yes/no confirmation questions to important editing events in the
waypoint editor such as save nocheck, or waypoint/pathwaypoint deletion
+ Teleporting player automatically to the faulty waypoint when doing a check
on the waypoints and the check fails
+ Rewritten the editor's waypoint beam display code to be more reactive to
player movement (now updates every 1/10th second)
+ Added the ability to remember a waypoint and use it later for pathwaypoint
creation/deletion. Helps a lot for lifts.
+ Added basic code for elevator/lift usage (see demos on the BU filebase)
+ Added the ability to toggle on/off individually each single waypoint flag
+ Bots don't press buttons randomly now but only where a button flag is set
+ Bots navigate button-controlled doors perfectly, even in groups.
+ Rewritten waypoint stats command to make it display much more information
about the waypoints, now displaying each waypoint flag.
+ Rewritten large parts of the memory allocation code. Static memory is used
more often and the slow-motion bug has vanished in the process (the problem
was that all the bot memory was not correctly freed/was freed twice).
+ Fixed bug where bots would reload way too often, such as after 2 shots.
+ All of the bot config files are now re-read at each start of a new map, so
you don't need to restart your server if you make changes in the bot config.
+ The danger directions that the bots learn for each waypoint are now shown
using a large red line when waypoints are on (but not when editing them)
+ Bots climbing ladders aim correctly at the top or the bottom of the ladder
+ Bots can now shoot at enemies while navigating ladders. Watch out.
+ Bots navigate elevators quite well, but not easily in groups. The code is
here just to show that lifts can work. Feel free to make it work better
+ Rewritten parts of the BotDoWaypointNav() and BotHeadTowardWaypoint() funcs
so as to integrate the new door code, the button code, ladder and lift code.
+ Bots now draw out the knife when necessary when they do a long jump
+ Simplified a lot of things in the config file parsing code and the chat code
to use static arrays instead of dynamically-allocated linked lists whose main
purpose seemed to be only to clutter up the code. It's just readable now.
+ Added a "peace mode" feature where bots ignore their enemies. Useful when
testing paths with debuggoal in waypoint editing mode.
+ You'll simply love that waypoint editor, lads.
+ ...
|
It's available at
http://racc.bots-united.com/releases/podbot.zip
...or you can get it through the
filebase, too.