How to add teleport spots to the AIW

Discussion in 'Track Modding' started by lagg, Oct 29, 2021.

  1. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Hi all.
    I'm increasing the number of cars allowed in a circuit and i've realised that there are less teleports than, grid and garage spots.
    I can't find how to add teleport spots.
    How can i do it?

    Thanks
     
  2. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,779
    Likes Received:
    2,241
    There is only one teleport spot(for quick rolling start), unless you mean something else.
     
  3. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Thanks @Coutie
    I'm going to try to explain it better.
    I'm checking a circuit for a race of our web.
    The race is for 36 cars
    In the AIW, the [GRID] section has 40 GridIndex (so it's ok)
    There are 18 TeamIndex in the [PITS] section of 2 cars each (2*18=36 -> ok)
    But in the AIW there is a section called [TELEPORT] and in this section there are 34 GridIndex (from 0 to 33)
    I suposse that we need 36. No?
    How do i add the two GridIndex of the [TELEPORT] section that we need?

    Thanks
     
  4. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,779
    Likes Received:
    2,241
    I don't know about manually editing the file, but it seems like it bases it off where you've set the teleport spot, then offsets each position from that. Have you tried doing a fast rolling start with your edits?
     
    Corti likes this.
  5. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,354
    Likes Received:
    2,495
    Maybe I'm not the most appropriate person, but I'll try to help. As Coutie says, the teleport point is the point where the race began (Fast Rolling Start).
    In the case of not adding that option when a new AIW is created, the teleport lines will be empty. An example:

    Quizas no soy la persona mas adecuada, pero intentare ayudar. Como dice Coutie el punto de teletransporte es el punto donde se incia la carrera (fast rolling start) .
    En el caso de no añadir esa opcion cuando se crea un nuevo AIW las lineas en Teleport quedaran vacias. Un ejemplo:

    Sin título.png
     
  6. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    @lagg I would suggest to simply set the Teleport Point again.
    That normally should create a new Set of AIW Entries.
     
    Corti likes this.
  7. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    Sorry for the lat replay. and thank you very much.
    I haven't edited manually the teleports of the AIW.
    I've tried to create again the last points of the grid but the teleport points haven't changedin the AIW.
    @redapg , my problem is that i don't know how to create the teleport points again.

    Thanks
     
  8. Raintyre

    Raintyre Registered

    Joined:
    Jul 28, 2013
    Messages:
    226
    Likes Received:
    187
    Select one waypoint, go to menu and press 'Mark as Teleport Spot". Save AIW.
    I think it should create the number of positions you set at 'startinggrid=' parameter, which is on AIW file header.
    Also, 'Max Vehicles =' parameter on GDB file limits some of the current AIW features, but i think not Teleport positions....
     
  9. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,959
    Likes Received:
    2,809
    Select a Waypoint of the main Waypoint Path, that is ~ 50 - 100 Meters before the Start/Finish Line.
    Select/mark that Waypoint with a left Click with the Mouse and then move the Mouse, that the Waypoint gets "covered".
    If it's done correctly, the Waypoint gets red and the "Mark as Teleport Spot" Option appears in the AIW Editor Menu.
    Click on that and then click "unselect all" and then click "save Waypoints", leave the Track to the main Menu, load the Track again and click "save Waypoints" again.
    The Entries should be created and saved now.
    You normally get 104 Entries, where you can delete the ones that you don't need.
     
    Emery and Corti like this.
  10. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,958
    @redapg, that worked.
    Thank you (all) very much.
     
    Corti and redapg like this.

Share This Page