I don't know how to program in this scripting language, but I tried to remove the 2 first lines of each trigger and also the {if} statement. My final coding was:
And it worked! I think it would be more ellegant if I just dealed with the logic operators in the beginning of each trigger, but I couldn't figure out well about the structure. Now the doors can be opened even if the bus is cold dark. I hope I could help you a little.
Thiago
Anzahl der Beiträge : 252 Anmeldedatum : 18.02.11 Ort : Brazil
Thema: Re: Door Script Question? Do 5 Mai - 7:10
Hi again, I now tried to modify the script the minimum possible. I think it can suit better if you want this feature just in the D92.
I changed the following constant in the file door_constfile_D92.txt:
[const] door_needs_stopbrake 0
And the triggers I changed before are now (front doors):
Anzahl der Beiträge : 33 Anmeldedatum : 22.02.11 Ort : UK
Thema: Re: Door Script Question? Mi 11 Mai - 14:33
FYI, you can open a single door (if cold and dark) by clicking the right headlight in the external view without the need of ignition or station brake. Great touch!
poweredbycng
Anzahl der Beiträge : 151 Anmeldedatum : 20.02.11 Alter : 39 Ort : Perth, Australien
Thema: Re: Door Script Question? Fr 13 Mai - 16:15
G'day all,
In my opinion, it would be great if someone can script the automatic application of the bus stop brake upon opening the front (or rear) doors.
Once all doors are closed, the bus stop brake should then automatically release.
CristianSkytter
Anzahl der Beiträge : 533 Anmeldedatum : 02.03.11
Thema: Re: Door Script Question? Fr 13 Mai - 16:28
poweredbycng schrieb:
G'day all,
In my opinion, it would be great if someone can script the automatic application of the bus stop brake upon opening the front (or rear) doors.
Once all doors are closed, the bus stop brake should then automatically release.
Yes, it's good idea. In free time, I will take a look.
Regards.
nemeza
Anzahl der Beiträge : 204 Anmeldedatum : 27.04.09 Ort : Budapest
Thema: Re: Door Script Question? Fr 3 Jun - 20:17
poweredbycng schrieb:
G'day all,
In my opinion, it would be great if someone can script the automatic application of the bus stop brake upon opening the front (or rear) doors.
Once all doors are closed, the bus stop brake should then automatically release.
As far, as I know, there is an event when doors are closed. So using this as handler, function for releasing of bus stop brake could be called.
rzr09
Anzahl der Beiträge : 273 Anmeldedatum : 08.11.10
Thema: Re: Door Script Question? Mo 25 Jul - 14:25
i have a little question how can i script a fuction so the bustop brake wont go off till the front doors finish closing, its a safety feature here in the uk