ehem. OMSI - Forum
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.
ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  Neueste BilderNeueste Bilder  SuchenSuchen  AnmeldenAnmelden  LoginLogin  

 

 AI Group depot types

Nach unten 
4 verfasser
AutorNachricht
dazza1980




Anzahl der Beiträge : 27
Anmeldedatum : 06.03.11

AI Group depot types Empty
BeitragThema: AI Group depot types   AI Group depot types Icon_minitimeDi 3 Mai - 17:30

Hi,

Im trying to get certain buses onto certain routes using particular branding.

Although I've looked through the SDK manual and looked at other maps ailist, every time I try to add the ai group depot types, the editor fails to load up.

This is the coding im using, I cant see anything wrong with it?

What mistake have I made?

Code:
[ailist]
0
-1
15
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
vehicles\MB_814\AI_MB_814.bus
vehicles\MB_1520\AI_MB_1520.bus

[aigroup]
Busses
1
0
Thornley

[aigroup_depot]
Thornley Depot
Thornley

[aigroup_depot_typgroup]
1
3928
First
3929
First
3930
First
3931
First
3932
First
3933
First
3934
First
3935
First
3936
First
3937
First
3938
First
3939
First
3940
First
3941
First
3942
First
3943
First
3945
First
[end]

Thanks in advance
Nach oben Nach unten
Thiago

Thiago


Anzahl der Beiträge : 252
Anmeldedatum : 18.02.11
Ort : Brazil

AI Group depot types Empty
BeitragThema: Re: AI Group depot types   AI Group depot types Icon_minitimeDo 5 Mai - 6:33

Good morning, Dazza.
I can't see anything wrong in your file. Shocked That's odd.
Did you already create any timetable (*.ttl file) for your map? If yes, could you post the code of it here? I don't know if it will help, but maybe has something related to the depot used in the timetables.


I was working on my map right now and I ran onto a situation where I needed to add a new depot. And after that, the editor also didn't want to load the map.
In my case, I added the new specific depot in the end of the file (after the others), just like you. After the crash, I decided to put it first, before the ones I already had, and it worked.
Try adding the Thornley depot group before the "Busses" depot.
Sorry for my bad english. Smile
Nach oben Nach unten
http://www.tooo.com.br/omsi
dazza1980




Anzahl der Beiträge : 27
Anmeldedatum : 06.03.11

AI Group depot types Empty
BeitragThema: Perfect!!   AI Group depot types Icon_minitimeDo 5 Mai - 16:05

Afternoon Thiago

Your English is perfect! As is your suggestion, this worked great. I did as you said and all is working fine now. cheers

I tried every other option, but not the one you suggested!

Many thanks for your help, I can now carry on creating my map! Smile
Nach oben Nach unten
DavidHC

DavidHC


Anzahl der Beiträge : 44
Anmeldedatum : 14.04.11
Alter : 45
Ort : München

AI Group depot types Empty
BeitragThema: Re: AI Group depot types   AI Group depot types Icon_minitimeDo 5 Mai - 18:26

dazza1980 schrieb:
I did as you said and all is working fine now. cheers

Hello. Can you put the new code here and let others to see the differences between them? We want to know how is good and how is bad. Thank's!
Nach oben Nach unten
http://www.hconline.eu
Thiago

Thiago


Anzahl der Beiträge : 252
Anmeldedatum : 18.02.11
Ort : Brazil

AI Group depot types Empty
BeitragThema: Re: AI Group depot types   AI Group depot types Icon_minitimeFr 6 Mai - 6:03

dazza1980 schrieb:
Afternoon Thiago

Your English is perfect! As is your suggestion, this worked great. I did as you said and all is working fine now. cheers

I tried every other option, but not the one you suggested!

Many thanks for your help, I can now carry on creating my map! Smile

Nice! I'm glad it worked! Smile Smile

DavidHC schrieb:
dazza1980 schrieb:
I did as you said and all is working fine now. cheers

Hello. Can you put the new code here and let others to see the differences between them? We want to know how is good and how is bad. Thank's!

The new code has the following structure: (the only change was the order of the Depots (Thornley Depot now comes before "Busses" depot)

Code:
[ailist]
0
-1
15
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
vehicles\MB_814\AI_MB_814.bus
vehicles\MB_1520\AI_MB_1520.bus

[aigroup_depot]
Thornley Depot
Thornley

[aigroup_depot_typgroup]
1
3928
First
3929
First
3930
First
3931
First
3932
First
3933
First
3934
First
3935
First
3936
First
3937
First
3938
First
3939
First
3940
First
3941
First
3942
First
3943
First
3945
First
[end]

[aigroup]
Busses
1
0
Thornley

Smile
Nach oben Nach unten
http://www.tooo.com.br/omsi
jswallow




Anzahl der Beiträge : 57
Anmeldedatum : 24.02.11

AI Group depot types Empty
BeitragThema: Re: AI Group depot types   AI Group depot types Icon_minitimeFr 6 Mai - 7:43

I can't thank you enough for solving this problem. It was driving me mad as well. Smile
Nach oben Nach unten
Gesponserte Inhalte





AI Group depot types Empty
BeitragThema: Re: AI Group depot types   AI Group depot types Icon_minitime

Nach oben Nach unten
 
AI Group depot types
Nach oben 
Seite 1 von 1
 Ähnliche Themen
-
» AI-Vehicles-Group
» Frage zur AI GROUP
» AI Group mit FBW oder anderem Bus
» Bus Depot?
» GOOD NEWS

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
ehem. OMSI - Forum :: OMSI-Design (english) :: Script programming-
Gehe zu: