Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

The JKA elevators and Bot Routing

Page: 1 of 1
 razorace
10-16-2003, 2:24 AM
#1
Anyone know the best way on how to handle the bot routing for the default elevators? Getting the bots to go up the elevators pretty easy, but it's very hard to get them (the bots) to go down.



You can try to have the bots attempt to go down by dropping off a nearby ledge, but the current AI stupidly tries to move in their target's direction while falling/jumping. This means suicide heaven on maps where the ledges are small.

I talked to Rich Whitehouse at Raven and he said that it's unlikely that he'll get a fix into a patch due to stingy Q&A requirements for the patches). Once the SDK is out, I'll fix the problem personally and add the results to OJP.



Any suggestions on how to get the bots to go down elevators would be great.
 Emon
10-16-2003, 3:09 AM
#2
I'm not sure how without additional routing, or relying on the routes. You could have the bot waypoint be inside the trigger that brings the elevator up, and just check for its existence there. Then wait until the elevator is up, and have it move to a waypoint over the elevator. Or if there isn't one, force it in a direction which you can derive from the waypoint/current position and position of the elevator.
 razorace
10-16-2003, 6:47 AM
#3
Well, the problem is that elevators snap back up once they touch the bottom of the shaft. It looks like we might be able to do some precise bot waypointing and get them to dive out as the elevator touches down but it's not the ideal solution.

Could we maybe just alter the elevator behavior once the SDK comes out?
 Darth Kaan
10-16-2003, 1:24 PM
#4
I had success getting bots to take elevators down by doing this;

Use No clip then lay down a bot_wp_addflagged f right in the middle of where the lift will be when at the top and bottom of its travel.
 razorace
10-16-2003, 5:59 PM
#5
hmmm, I'll try being more careful with my f flags and will see what happens.
Page: 1 of 1