Thread: bot pausing
View Single Post
Re: bot pausing
Old
  (#11)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: bot pausing - 05-10-2006

Quote:
Originally Posted by Ancient
hmmm that demo exaplains alot about lifts; maybe put it in doc files?
Here You have another one. It's really hard to write something about it, that's why there are these demos. The same thing is concerning to buttons. I'll probably upload some demos with cs_iraq and cs_arbstreets. This way You will be able to see how it should be done. I even found some part in Advanced Waypointing section of docs which needs to be rewritten (I disagree).

Quote:
Originally Posted by pb mm docs
If you have a door that stays open once it is opened by using a button, you won't need a button flag. The first bot to approch the door will detect that it's closed and push the button. All it takes is a connection setup that will force the bot to pass by near the button before going through the door. Once the door is open, the next bot will know that there is no obstacle, ignore the button and just walk through.
If you had a button flag at such a door, the second bot would push the button again (thus closing the door again) and run into the closing door, so only add button flags at auto-closing doors.
Since the new implementation of button code in V3 that's not the problem anymore if You place the button flag near a button with such kind of door. What will happen? The door is closed. The first bot presses the button and go back to the previous WP and is waiting until the door is open. Then it goes. This guy is so smart and sometimes (randomly) is thinking so - "maybe I close the door if I'm at the other side already - the enemy will need more time to hunt me". So - sometimes - after passing such door - if there is a button flagged WP at the other side of the door - the bot pushes it and goes away. The next bot what - will do - if the door is closed - it will look for the button to open it, then it passes that door. There is no problem the bot stay bumping on the door because presssed unnecessary button (the door was already open for example) - if it bump into the door - it will open it anyway. No problem at all.
  
Reply With Quote