ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  FAQFAQ  SuchenSuchen  MitgliederMitglieder  NutzergruppenNutzergruppen  AnmeldenAnmelden  LoginLogin  

Teilen | 
 

 Script editing

Nach unten 
AutorNachricht
GeraldBus



Anzahl der Beiträge : 6
Anmeldedatum : 11.04.11

BeitragThema: Script editing   Mo 11 Apr - 14:53

Hi every one,

is there any SDK for Script editing (Especially on performance of buses) in English? (In fact, I don't know Deutsch)
Thanks a lot Smile
Nach oben Nach unten
Benutzerprofil anzeigen
Emil



Anzahl der Beiträge : 596
Anmeldedatum : 14.02.11

BeitragThema: Re: Script editing   Mo 11 Apr - 14:57

GeraldBus schrieb:
Hi every one,

is there any SDK for Script editing (Especially on performance of buses) in English? (In fact, I don't know Deutsch)
Thanks a lot Smile

No sorry. Theres even no "official" SDK in German Wink The "in-official" german SDK is only about crossings, repaints and buildings.
Nach oben Nach unten
Benutzerprofil anzeigen
GeraldBus



Anzahl der Beiträge : 6
Anmeldedatum : 11.04.11

BeitragThema: Re: Script editing   Mo 11 Apr - 15:06

Emil schrieb:
GeraldBus schrieb:
Hi every one,

is there any SDK for Script editing (Especially on performance of buses) in English? (In fact, I don't know Deutsch)
Thanks a lot Smile

No sorry. Theres even no "official" SDK in German Wink The "in-official" german SDK is only about crossings, repaints and buildings.
No
Actually, I'm now studying the OSC files, but all of the variable are in Deutsch Sad
I hope Aerosoft can release a SDK (both English & Deutsch)
Nach oben Nach unten
Benutzerprofil anzeigen
Janniboy

avatar

Anzahl der Beiträge : 2837
Anmeldedatum : 09.02.10
Alter : 23
Ort : Koblenz

BeitragThema: Re: Script editing   Mo 11 Apr - 15:44

M&R will release one, but first they want to get their university degrees.
But I don't know if they will translate it into English... though it might be they said something like that.
Nach oben Nach unten
Benutzerprofil anzeigen http://www.jan-kiesewalter.de
GeraldBus



Anzahl der Beiträge : 6
Anmeldedatum : 11.04.11

BeitragThema: Re: Script editing   So 24 Apr - 11:09

Janniboy schrieb:
M&R will release one, but first they want to get their university degrees.
But I don't know if they will translate it into English... though it might be they said something like that.
It's not necessary to translate all the variable into English, they may juz release and guideline / create an editor (sth. like that)
Problem solved! Laughing
Nach oben Nach unten
Benutzerprofil anzeigen
krtz07



Anzahl der Beiträge : 413
Anmeldedatum : 10.09.09
Alter : 33
Ort : Philadelphia PA

BeitragThema: Re: Script editing   So 24 Apr - 12:40

GeraldBus schrieb:
Emil schrieb:
GeraldBus schrieb:
Hi every one,

is there any SDK for Script editing (Especially on performance of buses) in English? (In fact, I don't know Deutsch)
Thanks a lot Smile

No sorry. Theres even no "official" SDK in German Wink The "in-official" german SDK is only about crossings, repaints and buildings.
No
Actually, I'm now studying the OSC files, but all of the variable are in Deutsch Sad
I hope Aerosoft can release a SDK (both English & Deutsch)
They did mentioned in one of the other threads that the SDK will be in both languages.
Nach oben Nach unten
Benutzerprofil anzeigen http://www.philadelphiatransitvehicles.info
nik57



Anzahl der Beiträge : 15
Anmeldedatum : 09.05.11

BeitragThema: Re: Script editing   Mi 15 Jun - 6:11

Hello.
What do the symbols at the end line of the script, such as these: " ! & & & & " and " & & & & | | ".
Thank you for your help.
Nach oben Nach unten
Benutzerprofil anzeigen
EirikhO

avatar

Anzahl der Beiträge : 61
Anmeldedatum : 07.04.11
Alter : 24
Ort : Norway

BeitragThema: Re: Script editing   Mi 15 Jun - 6:46

nik57 schrieb:
Hello.
What do the symbols at the end line of the script, such as these: " ! & & & & " and " & & & & | | ".
Thank you for your help.

It means there are more conditions. For instance this line:

(L.L.cockpit_gangR_toggle) (L.L.cockpit_gang2_toggle) ! (L.L.cockpit_gang3_toggle) ! && &&
[taken from cockpit.osc]

means "if cockpit_gangR_toggle AND NOT cockpit_gang2_toggle AND NOT cockpit_gang3_toggle" (meaning cockpit_gangR_toggle must be present, while the other two can't). This line:

(L.L.cockpit_hupe) ! (L.L.elec_busbar_main) &&

means "if not cockpit_hupe AND elec_busbar_main" (meaning not cockpit_hupe but elec_busbar_main, and both conditions must be fulfilled).
Nach oben Nach unten
Benutzerprofil anzeigen
nik57



Anzahl der Beiträge : 15
Anmeldedatum : 09.05.11

BeitragThema: Re: Script editing   Mi 15 Jun - 7:44

EirikhO schrieb:
nik57 schrieb:
Hello.
What do the symbols at the end line of the script, such as these: " ! & & & & " and " & & & & | | ".
Thank you for your help.

It means there are more conditions. For instance this line:

(L.L.cockpit_gangR_toggle) (L.L.cockpit_gang2_toggle) ! (L.L.cockpit_gang3_toggle) ! && &&
[taken from cockpit.osc]

means "if cockpit_gangR_toggle AND NOT cockpit_gang2_toggle AND NOT cockpit_gang3_toggle" (meaning cockpit_gangR_toggle must be present, while the other two can't). This line:

(L.L.cockpit_hupe) ! (L.L.elec_busbar_main) &&

means "if not cockpit_hupe AND elec_busbar_main" (meaning not cockpit_hupe but elec_busbar_main, and both conditions must be fulfilled).

Thank you very much, EirikhO. I understand that it is logical operations:
! = Not
& & = and
| | = ?, What does this mean?

I'm just trying to understand the script and the SDK for the scripts do not and do not know when it is.
Sincerely, Nikolay.
Nach oben Nach unten
Benutzerprofil anzeigen
hkmtrhah

avatar

Anzahl der Beiträge : 12
Anmeldedatum : 24.04.11
Ort : Tseung Kwan O, Hong Kong

BeitragThema: Re: Script editing   Mi 15 Jun - 12:23

nik57 schrieb:
EirikhO schrieb:
nik57 schrieb:
Hello.
What do the symbols at the end line of the script, such as these: " ! & & & & " and " & & & & | | ".
Thank you for your help.

It means there are more conditions. For instance this line:

(L.L.cockpit_gangR_toggle) (L.L.cockpit_gang2_toggle) ! (L.L.cockpit_gang3_toggle) ! && &&
[taken from cockpit.osc]

means "if cockpit_gangR_toggle AND NOT cockpit_gang2_toggle AND NOT cockpit_gang3_toggle" (meaning cockpit_gangR_toggle must be present, while the other two can't). This line:

(L.L.cockpit_hupe) ! (L.L.elec_busbar_main) &&

means "if not cockpit_hupe AND elec_busbar_main" (meaning not cockpit_hupe but elec_busbar_main, and both conditions must be fulfilled).

Thank you very much, EirikhO. I understand that it is logical operations:
! = Not
& & = and
| | = ?, What does this mean?

I'm just trying to understand the script and the SDK for the scripts do not and do not know when it is.
Sincerely, Nikolay.

"||" means "or". Most of these operators are same use as AS, JS, PHP, C/C++/C# etc
So if you know programming in above languages, you can easily to know how OMSI's one works.
Nach oben Nach unten
Benutzerprofil anzeigen http://hkmtrhah.nets.hk
nik57



Anzahl der Beiträge : 15
Anmeldedatum : 09.05.11

BeitragThema: Re: Script editing   Mi 15 Jun - 13:02

hkmtrhah schrieb:

"||" means "or". Most of these operators are same use as AS, JS, PHP, C/C++/C# etc
So if you know programming in above languages, you can easily to know how OMSI's one works.

Thank you very much, hkmtrhah. Now I understand everything, but the above listed programming languages ​​I do not know, I only know Delphi (where this is not). Now I will deal with the work of script OMSI.
Sincerely, Nikolay.
Nach oben Nach unten
Benutzerprofil anzeigen
Gesponserte Inhalte




BeitragThema: Re: Script editing   

Nach oben Nach unten
 
Script editing
Nach oben 
Seite 1 von 1

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