[TUT]Changing/Adjusting the AI-List/ailist

  • Finally I translated my tutorial about changing/adjusting the AI-List into english. Hope you are able to understand everything. If you find any grammar, word, etc. mistakes feel free to write me a comment so I can correct it. ;)



    -------------------------------------------------------------------------------


    This is a „step by step“ tutorial, with which you can customize the busses driving on a map.
    Fell free to post any questions or comments!
    I´ve also tried to choose a structured layout.


    -------------------------------------------------------------------------------


    1. Where do i find the AI-List of a map?


    The AI-List is located at Omsi/maps/[mapname]/ailist.cfg


    Open and edit the list with the Windows-Editor


    -------------------------------------------------------------------------------


    2. How is the structure of an AI-List?


    [ailist]
    0 ← always the same
    -1 ← always the same
    23 ← Number of vehicles listed in the AI-List - this includes ALL vehicles, not just the buses! (start to count with "1")
    vehicles\MAN_SD200\MAN_SD77.bus
    vehicles\MAN_SD200\MAN_SD80.bus
    vehicles\MAN_SD200\MAN_SD81.bus
    vehicles\MAN_SD200\MAN_SD82.bus
    vehicles\MAN_SD200\MAN_SD83.bus
    vehicles\MAN_SD200\MAN_SD83_RLB.bus
    vehicles\MAN_SD200\MAN_SD84.bus
    vehicles\MAN_SD200\MAN_SD85.bus
    vehicles\MAN_SD202\MAN_D86.bus
    vehicles\MAN_SD202\MAN_D87.bus
    vehicles\MAN_SD202\MAN_D88.bus
    vehicles\MAN_SD202\MAN_D89.bus
    vehicles\MAN_SD202\MAN_D92.bus
    vehicles\MAN_F90\AI_MAN_F90_Wechselbruecke.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e_cab.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\VW_T3\VW_T3_Van.ovh
    vehicles\Opel_Manta_B\ai_opel_manta_b.ovh
    vehicles\Citr_BX\BX.ovh


    [aigroup] ← describes a group of AI-vehicles
    Busses ← Displayed name of the AI-group in the editor
    13 ← Number of all vehicles listed in the AI-group
    0 ← busses are numbered in order - important: begin counting with "O", first vehicle in the list above is number "0" - not "1"
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    Spandau


    -------------------------------------------------------------------------------


    3. How do I change/adjust the AI-List?


    Now we only want to´ve certain busses as AI-busses. In this example we will only use SD77 and SD84 as AI-busses. You can change the number and the types of busses like you want it!
    Our AI-List above hast to be modiefied as follows:


    [ailist]
    0
    -1
    13 ← Adjust number of vehicles listed in AI-List
    vehicles\MAN_SD200\MAN_SD77.bus
    vehicles\MAN_SD200\MAN_SD80.bus
    vehicles\MAN_SD200\MAN_SD81.bus
    vehicles\MAN_SD200\MAN_SD82.bus
    vehicles\MAN_SD200\MAN_SD83.bus
    vehicles\MAN_SD200\MAN_SD83_RLB.bus

    vehicles\MAN_SD200\MAN_SD84.bus
    vehicles\MAN_SD200\MAN_SD85.bus
    vehicles\MAN_SD202\MAN_D86.bus
    vehicles\MAN_SD202\MAN_D87.bus
    vehicles\MAN_SD202\MAN_D88.bus
    vehicles\MAN_SD202\MAN_D89.bus
    vehicles\MAN_SD202\MAN_D92.bus

    vehicles\MAN_F90\AI_MAN_F90_Wechselbruecke.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e_cab.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\VW_Golf_2\AI_VW_Golf_2.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\MB_W123_230E\AI_mb_w123_230e.bus
    vehicles\VW_T3\VW_T3_Van.ovh
    vehicles\Opel_Manta_B\ai_opel_manta_b.ovh
    vehicles\Citr_BX\BX.ovh


    [aigroup] ← You can keep this group - Details below!
    Busses
    13
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    Spandau


    [aigroup]
    Beispiel
    2 ← number of vehicles in AI-group - here SD77 and SD84 -->2!
    0
    1

    Example


    The 1st AI-group must not be deleted , you can keep it. If you keep it, you´ve to choose the appropriate AI-group in the editor (Pictures below!), otherwise all vehicles that are listed in the first AI-group would drive as bus traffic - the first 13 vehicles (whether car, truck, bus, etc.) would be used for scheduled bus transport. [/ align]

    -------------------------------------------------------------------------------


    4. How do I assign busses certain repaints?


    After we have determined certain types of buses for the AI-traffic, wewill define certain advertisements/repaints. For this we´ll proceed as follows:
    hint: The vehicle numbers are taken from the Berlin Spandau map and are used as example!


    [aigroup_depot] ← "keyword" for a vehicle group
    Hof Spandau ← Name of the group and name of the group in the editor
    Spandau


    [aigroup_depot_typgroup] ←"Keyword" for a “sub” vehicle group
    0 ← number of busses – begin counting from „0“ – in this case number “0” is the SD77
    2814 ← vehicle number of the bus
    Schultheiss ←name oft he repaint, which will used fot the bus with this vehicle number – the repaint must exist in the repaint folder of the bus!
    2816
    Lotto Toto Spiel 77
    2820
    Cosy-Wasch (P, alt)
    2821
    Wodka Gorbatschow
    2828
    Schultheiss
    [end] ←end of „sub“ vehicle group


    Now it would be the same for the SD84.


    -------------------------------------------------------------------------------


    5. How do I assign vehicle groups to bus lines?


    Open the map in the Omsi-Editor. Klick on the buttons which are marked in the pictures.



    It´s important to choose the right line! After that we choose our AI-Group under "AI-Veh.-Group" and save the map. Now there should be your “wished” traffic on the map.


    -------------------------------------------------------------------------------


    small addition: How do I assaign repaints to certain lines (german only!)? --> Ailist: Repaints den einzelnen Linien zuordnen


    -------------------------------------------------------------------------------


    Extended explanation of the AI-groups



    An aigoup / AI-group describes a group of vehicles. AI-groups can be assigned to specific lines or other tracks & trips. If you want to use only certain vehicles on a track, you summarize these vehicles in an AI-group and assign the track this AI-group.
    On lines AI-groups are necessary! All lines need an AI-group (of course it doesn’t has to be the same on all lines – with that it is possible to choose certain busses for certain lines!)


    Example:
    Only the SD77 should drive on a certain line.


    For this we create a new AI-group:


    [aigroup]
    SD77 ← Name of aigroup / group appears with this name in the Omsi Editor – of course you can choose a different name
    1 ← in this AI-group is only one bus
    0 Bus is number „0“ , so in this example the SD77
    Grundorf


    Now open the map in the Omsi Editor, klick on "tracks and trips", "edit timetable" and choose your desired line, on which only this bus/your chosen busses should drive.After that choose under aigroups the group “SD77” (or your respective group), save and you are finished.


    -------------------------------------------------------------------------------


    known problems/errors


    [align=center]►► Loading screen stops at "Loading map and creating new situation"
    It may happen that after the allocation of repaints to vehicle numbers (step 4) the loading screen stops at “Loading map and creating new situation”.
    [align=center]Solution: (thanks to Setra S 416 ;) )


    Quote

    The reason for this is, that the AI-group has been changed in the Windows Editor. Therefore the Omsi Editor can´t find the group anymore.


    To solve the problem:
    Add new group in the Windows Editor (can be the same, but it needs to have a DIFFERENT NAME!)
    Choose new group in the Omsi Editor
    Delete old group in the Windows Editor


    [align=center]Otherwise you can create a repaint structure like Marc1972 it did in his “Rheinhausen repaint pack (autarke Installation)”.

    experience the world of OMSI on youtube.com/aboutOMSI

    Edited once, last by Fr3dorik ().

  • Do you have a tutorial for OMSI2 as well? The AI list does not look like this. And if I change the AI list in OMSI 2, it only changes the buses in 1986 - all the other years the game uses the standard buses.

    Windows 8.1 Pro x64 | OMSI 2 Steam edt | i7 3,4GHz | 12GB RAM | GTX 770M 3GB GDDR5 SDRAM | G25 steering wheel with stick


    "I've never ever seen as many different and weird installation guides as the modders in the OMSI-community are presenting."

  • When on the Delpest map, the AI busses show no destination, just the line number, and as a result they have 0 passengers boarding. I found out this happens because they have the wrong depot assigned, thus the default "ziel" is not correct for the map. (They have the Spandau depot selected).
    This is the ailist from the map. What do I need to do in order to change the depot they are using?



    [aigroup_2]
    Szemelyautok


    Vehicles\Fiat_Ducato\Fiat_Ducato.ovh 9
    Vehicles\Skoda_Octavia_I\Skoda_Octavia_I.ovh 8
    Vehicles\Skoda_Octavia_Combi\Skoda_Octavia_Combi.ovh 9
    Vehicles\Audi_A3\Audi_A3.ovh 9
    Vehicles\Opel_Vectra\Opel_Vectra.ovh 9
    Vehicles\Audi_A4\Audi_A4.ovh 8
    Vehicles\Opel_Astra_G\Opel_Astra_G.ovh 9
    Vehicles\Peugeot_206\Peugeot_206.ovh 9
    Vehicles\Peugeot_206\Peugeot_206_tuned.ovh 9
    vehicles\VW_Passat_CC\VW_Passat_CC.ovh 9
    Vehicles\BMW_M5\BMW_M5.ovh 9
    Vehicles\Suzuki_Swift_GLX_1996\Suzuki_Swift_GLX.ovh 9
    Vehicles\Suzuki_Swift_GLX_1996\Suzuki_Swift_GLX.ovh 10
    Vehicles\Honda_Civic\Honda_Civic.ovh 8
    Vehicles\Renault_Clio\Renault_Clio.ovh 9
    Vehicles\Mercedes_814 teherauto\AI_MB_814.ovh 8
    [end]



    [aigroup_depot]
    Busz_Alacsonypadlos
    Délpest


    [aigroup_depot_typgroup_2]
    1
    0
    Vehicles\MAN_NL_NG\MAN_EN92_main.bus
    8000 BPI-201 BKV
    8001 BPI-202 BKV
    8002 BPI-203 BKV
    8003 BPI-204 BKV
    8004 BPI-205 BKV
    8005 BPI-206 BKV
    8006 BPI-207 BKV
    8007 BPI-208 BKV
    8008 BPI-209 BKV
    8009 BPI-210 BKV
    8010 BPI-211 BKV
    8011 BPI-212 BKV
    8012 BPI-213 BKV
    8013 BPI-214 BKV
    8014 BPI-215 BKV
    8015 BPI-216 BKV
    8016 BPI-217 BKV
    8017 BPI-218 BKV
    8018 BPI-219 BKV
    8019 BPI-220 BKV
    [end]

  • Newly created posts will remain inaccessible for others until approved by a moderator.

    The last reply was more than 182 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.

    The maximum number of attachments: 10
    Maximum File Size: 100 kB
    Allowed extensions: pdf, txt