How to let AIs avoid extra roads

A.I. went the wrong way

User avatar
Doof4294967296
MM2X Occasional User
MM2X Occasional User
Posts: 296
Registered for: 11 years 5 months

How to let AIs avoid extra roads

Postby Doof4294967296 » Mon Dec 22, 2014 1:52 pm

I was programming a new circuit race and I finished the checkpoints and the ai route is almost done, but it keeps pissing me off when I saw him going to the road away from the start/finish checkpoint. :x

Here's the Image:
Image

The question is: How can I make him go straight to the checkpoint?

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 9 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Mon Dec 22, 2014 3:57 pm

This should fix the problem :P

Image
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
sajmon14
MM2X VIP Member
MM2X VIP Member
Posts: 5321
Registered for: 16 years 1 month
Location: Poland
Contact:
Poland

Postby sajmon14 » Mon Dec 22, 2014 8:53 pm

Opponents aren't following Checkpoints but opp waypoints ;)

User avatar
Doof4294967296
MM2X Occasional User
MM2X Occasional User
Posts: 296
Registered for: 11 years 5 months

Postby Doof4294967296 » Tue Dec 23, 2014 6:39 am

Yeah I know, but I want them to go straight ahead to finish it correctly. Should I Reverse the race checkpoints and the A.I. routes?

Edit: Yes! It worked! He went straight to the checkpoint. I'm sorry for the interruption I didn't expect the I can make it. :lol:

User avatar
Storm_Sullivan
MM2X Active User
MM2X Active User
Posts: 522
Registered for: 10 years 6 months
Location: Ohio

Postby Storm_Sullivan » Wed Dec 24, 2014 4:07 am

Wasn't aware there was a "right" way :) . I don't even go in reverse order...I go all over every-which way :lol:
[color=red]Religion: Man going to God
Christianity: God coming to man

SSMC Studio, offering emergency vehicle conversion from GTA SA, GTA IV, ETS2, & DSF to MM2. See what I do [url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5566]here[/url][/color]

America faces a threat worse than ever before. Yesterday, George taxed our tea. Today, Obama taxes our freedom. Tomorrow, someone may tax our mortal lives. We must act now, to stop this threat. The Rebel Alliance begins here.