View Single Post
Re: About the button flags and Lifts/elevators
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: About the button flags and Lifts/elevators - 27-04-2004

Basically, you have to force the passage in front of the button.

For example in cs_siege, you put one waypoint in front of the button, one waypoint in front of the lift, one waypoint inside it.

The paths must be then arranged as follows (one-way).
corridor->BUTTON->outside of lift->inside of lift
for getting the bots inside the elevator
inside of lift->outside of lift->corridor
for getting the bots out.

understand that when the button is not visible from inside the elevator, the bot MUST pass in front of the button before getting in the elevator.

This elevator code is merely a proof of concept, to show that it works. Coders need to improve upon.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote