UPDATE: Hello everyone, We have released the v2.0 of our Ti Racing AI at assetstore. It includes the Cop Mode that makes the AI cars chase your car and crash into you! Adds quite a fun. Also the Genetic Algorithm tweaking tool is included, it optimizes the parameters of the cars automatically. The setup of the AI cars is now much easier and does not require any understanding of which parameter does what. Good news for exising customers, we have decided to release this package as an update to the old one, so you can get all of them by updating. Please accept this as a sign of gratitude. Good news for new customers too the price did not change so you can buy the Ti Racing AI with improved functionality at the same price as before. (Pleased note that this topic is now updated after one and a half year and most comments below are not applicable as the project has changed alot) Here are some videos (New videos will come soon) Cop Mode: Regular AI: GA tweaking:
Looks nice. Is it free? You should release an advanced one, a basic one and a simple one. Advanced (Paid): Everything is set up. Basic (Paid): Not everything is set up, some models included. Simple (Free): Nothing is set up, only scripts included. Good luck.
It's looks nice, but I assume you are using raycast for decision , and as I now raycasting are not good for optimization .
Thanks for comments everyone. Knight12ify it will not be free. Actually it would be a bit expensive, as it took a long time to develope. I was thinking of just releasing the scripts, but if a complete model would be more suitable I would consider that too. angel_m, the vehicles are real physics vehicles, they have proper wheel colliders etc. and are driven on those. I mean the AI does not cheat, it is subjetc to the same conditions as the players car. It drives by braking, steering, torque of the wheel collider. kiranmaya I may put a playable version of the script in action so people intersted can judge. itech Raycasts are not used, except for determining the car infront. First a human driver rides a car in the track, and a script collects data. Then the AI cars analyze that data to determine the way they drive. You can play with various variables to get the driving style you want. For instance you can set one car to push the limits to higher lateral G and drive more slidey, or you can make one drive faster in the straight, or one brake harder etc. just by changing one or two variables.
@2:15 they all bunch up... back to the drawling board if your looking for big money, anyone can do simple AI with waypoints that work better
Thanks for comments again. Adrenaline Crew they all bunch up because I allow them to do. It is very easy to avoid that with chaning 1-2 variables. No going back to board. And in the video you can see they begin to dissolve. I believe AI should make accidents for the games to be more enjoyable. Doing AI with waypoints can be easy, however a race AI is not all about directions, in order the cars to drive in a realistic and enjoyable way, you need a solid physics and racing knowledge. It would be very hard otherwise. ChrisPaulson I preferred to write it from scratch as I want to control the underlying physics better.
I agree with you TiG, AI has to make mistakes, otherwise there is no way to beat them. This looks like a very solid script pack, and if I were to make a racing game, and didn't like writing all my codes from scratch like you do, I would buy this, since it would save a lot of time.
Knight12ify and gamenut, thank you alot. You made my day. Writing a race AI from scratch would take a few months, If you say your time costs around 2000 USD per months (very conservative) the AI will cost some 4000-5000 USD worth of your time. So paying 1/10 of that makes sense for me. And it is not just software knowlegde that is needed as I said before, you need a solid understaning of physics and racing dynamics.
Adrenaline Crew please check http://forum.unity3d.com/threads/81059-race-AI-new-video-.exe-to-try?p=518533#post518533
Just a simple waypoints script ( you can find these for free) works so well that I don't want to spend $300 on an advanced AI script. In case anyone is wondering, I've spotted two AI scripts recently on the asset store. One was $200 - $300, the other $80, and they were both good enough for use in practically anyone's game.
Muzz5 if your game can work with a basic waypoint, than of course you do not need my AI. As you stated my script is quite a advanced one (physics control wise) and is intended for a rather realistic racing game.
looks like its worth about $50 to me at the most due to the poor quality of the demonstration video. I see some acid trip space snails moving slowly around and not power sliding, or reacting to the player in any great sense. I don't see them trying to overtake each other. You may be proud of the system but it resembles old people in slow cars trying to get to car boot sales.
hippocoder please check https://rapidshare.com/files/458489477/Ti_AI_racing.zip and see how the AI works. In real game they drive so fast that I had to slow them down considerably to be able to catch them. The video above was taken months ago, when the AI was being developed. Check this one for a better feel of the recent state: http://www.youtube.com/user/TiMuhendislik#p/a/u/0/BnbgP5cOfB0
ThomasQ thank you. The cars do drift, although not too much, but it is hard to recognize the drift as there is no skidmarks in my demo. It is possible to make AI cars more drifty, they apply more torque on corners and slide.
Game artificial intelligence assign the method which is used in computer video game. This is one if the best racing game available for single player including some enemies.