SOLVED how can i make AI path?

Discussion in 'Tracks' started by Ghostnasty1, Apr 15, 2015.

  1. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    This was for the circuit types road.
    In your case, just stop after the finish line (you'll see that as soon as you cross the finish line, the AI path will show. Magic :) ).
     
  2. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    I have some problem with the path.. my path have was cut in multiple section... if i lower the sample dm.. more section appear...
    someone have this issue?
     
  3. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Does this happen visually only ?
    Or you've tried it in-game and it doesn't work ?

    Sent from my GT-I9100 using Tapatalk
     
  4. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    have some issue with camera but after rework my ai spline.. all sound to be okay.. :)
     
    luchian likes this.
  5. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    just for camera... (drift track)
    have another question... if my track need to cross the spline..
    its possible to have no **** with the camera when you passe this spline..

    im probably not clear.. im french.. :p
     
  6. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Exceptionally, small explanations in French (but remember forum language is English).

    Vas-y (exceptionellement) en Francais :).
    Mais si tu parles des croisements des spline.. a ce que je sache, il n'y a pas une solution miracle. Moi je l'ai jamais fait, mais j'avais lu un p'tit peu et c'est pas garanti; faut s'attendre a des problemes. Le systeme que AC utilise n'est pas fait pour ca. Malheuresement.
     
  7. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    haha
    bah en sois sa change de camera 1 ou 2 coup rapidement lorsque que la voiture passe sur le croisement... rien de majeur mais si il y avait eux une solution miracle.. :p
    sinon comment faire un .spl... :lol: peut-etre avec cela j'aurais moins de probleme qu'avec les ai splines..
    merci encore
     
  8. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    but big thanks to this forums .... found many solution and now im able too converte many track for now..
    but not finish to learn :p
     
  9. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    The only way I created AI or camera splines was using the AC ingame app.
    I don't know it there are other ways. I'm not saying it's not possible, just that I'm not aware :).
     
  10. Pier-Luc Boiteau

    Pier-Luc Boiteau New Member

    Joined:
    Feb 14, 2016
    Messages:
    6
    Likes Received:
    1
    yes but camera spline is .spl file.. how do you convert them ?
    but for now they probably left them like that.. :p
    im in big rework of the modeling of this track because it not perfectly like in real..
    :p
     
  11. MLE

    MLE New Member

    Joined:
    Apr 20, 2016
    Messages:
    10
    Likes Received:
    2
    I have issue wit AI. I have created AI path and during the race AI is always going out of the track on one of the corners. Car should brake and turn left but it is going stright with full speed. Anybody has an idea what is wrong?
     
  12. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Make sure the track surface is well defined in that area. Because racing line is used for the direction, but the entire racing surface is valid for use as far as AI is concerned. The best to see this is in SDK editor, when you load the recorded path, see what the track surface limits are (vertical yellow or blue lines, iirc).
     
  13. MLE

    MLE New Member

    Joined:
    Apr 20, 2016
    Messages:
    10
    Likes Received:
    2
    I have fixed issue with AI driving stright instead of taking turn on one of corners (not very hard) but I have brand new one with pit lane. I have created fast_lane.ai and pit_lane.ai for my track. It looks ok, but now AI always is entering pit lane at first lap. I manage to make *.ai files for earlier version of my track and they were working fine.
     
  14. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Don't make a complete lap for the pit_lane.ai
    Just start at the last turn before pit entry, and end it after pit exit once you've joined the racing line.
     
  15. MLE

    MLE New Member

    Joined:
    Apr 20, 2016
    Messages:
    10
    Likes Received:
    2
    I did like this. Pit lane is only form entrance to exit + some buffer and fast lane is around the track but AI is entering pit at first lap. As soon as it restart from pit lane next lap is ok.
     
  16. MLE

    MLE New Member

    Joined:
    Apr 20, 2016
    Messages:
    10
    Likes Received:
    2
    When I remove pit lane AI is working fine. It looks like AI is using pit lane as shortcut on track.
     
  17. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Is the pit surface identified as pit surface ?

    ..sent from my phone.
     
  18. drmaboul

    drmaboul Member

    Joined:
    Apr 13, 2015
    Messages:
    33
    Likes Received:
    20
    i m a prob with ai ,,,,, the car stop after the jump ?but some continues, then for the other stops
     
  19. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Hmm.. I did not experienced that until now.
    Will have to do some testing (in case you didn't figure it out already).

    But a quick idea:
    When recording the AI path, did you DO or NOT the jump ? :)
     
  20. QuadCoreMax

    QuadCoreMax Member

    Joined:
    Aug 29, 2015
    Messages:
    34
    Likes Received:
    19
    Hey all,

    I was wondering why when entering my pits, the car doesn't reduce velocity to 80km/h ?
    I have a 1PIT_ road object + the pit line is also there.

    Also, strangely enough, my track map (map.png) when I'm in the pits, is somehow shaking / flickering / reflecting... to the other side of the screen. Any ideas or anyone had some similar issue ?
     
: #AI path
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice