Hi! I'm a really big fan of racing and I just love those games. I'm starting to program games now and I think a racing game is the easier kind (am I wrong?), since RTS and FPS requires more advanced AI and other stuffs. I was thinking about an AI cheater, every track would have a hidden map that would tell the AI agent what is the best way to go. I was looking for some pathfinding algorithm but it wouldn't be that efficient and would take a lot of CPU usage. So, it would be way better if I process the track before starting the race and generate this "cheat map", and this way my AI cars would try to move to the positions with better scores in the map. I really would like to know if any of you had ever did something like that and if it would work. Maybe a FSM would help me to process the track, but I have to consider curves, its tangency, max speed allowed, terrain height maps, terrain attrition, and of course it has to know how to move backward if it collides with a wall. - It is not as easy as I thought :) Thanks a lot, Dirso Atenciosamente, Edilson Vasconcelos de Melo Junior Diretor de Projetos - JR Softwares dirso@xxxxxxxxxxxxxxxxxx dirsow@xxxxxxxxx (19) 3243-4403 / 3213-7357 / 9213-5245 -----Mensagem original----- De: gameprogrammer-bounce@xxxxxxxxxxxxx [mailto:gameprogrammer-bounce@xxxxxxxxxxxxx] Em nome de Alan Wolfe Enviada em: sábado, 9 de dezembro de 2006 00:14 Para: gameprogrammer@xxxxxxxxxxxxx Assunto: [gameprogrammer] Re: AI for race games Hi Dirso, I think it depends alot on the dynamics of your game but for regular racing, i think it'd be way valuable to talk to a race car driver to get some tips on how to be a better racer (take inside lane etc). Another thing would be to watch some races and get a feel for how good drivers drive competitively. I'm not sure if there's any pre-built algorithms for a racing game or not though On 12/8/06, Edilson Vasconcelos de Melo Junior <dirso@xxxxxxxxxxxxxxxxxx> wrote: > > > > Hi, > > > > What is the best AI algorithm for race games? > > > > Thanks a lot, > > Dirso. > > > > Atenciosamente, > > > > Edilson Vasconcelos de Melo Junior > > Diretor de Projetos - JR Softwares > > dirso@xxxxxxxxxxxxxxxxxx > > dirsow@xxxxxxxxx > > (19) 3243-4403 / 3213-7357 / 9213-5245 > > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.15/580 - Release Date: 8/12/2006 --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html