View Single Post
Re: Planned features
Old
  (#9)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Planned features - 01-07-2008

As for shooting through walls:

1. traceline from player A to B , get wall intersection X
2. traceline from player B to A , get wall intersection Y

"width" of wall is X - Y.

You can do some tricks with that. Basically it is cheating of course. SO add some 'noise' in the aiming to make the bots not super lethal.

Thats it?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote