Doors
+3
Quork
graymac
SnowHill150001
7 posters
Page 1 of 1
Doors
Hi. Can you change who controls the doors on the Cl221 from Pioneer Trains? At the moment the conductor closes the doors after the buzzer but I want to be able to control when they will be shut as they are in real life. Is this possible? Thanks in advance!
SnowHill150001- Posts : 30
Join date : 2011-09-01
Re: Doors
You will need to edit the train.dat file to change the door mode.
If you are not confident of your ability to do this, then don't. And if you do, do back up the original first.
In the #DEVICE section of the train.dat file use the following value;
DoorOpenMode:-
0 = The doors are opened automaticallybut can also be prematurely opened manually (default)
1 = The doors are opened automatically, manual over-ride is not possible
2 = The doors can only be opened manually
DoorCloseMode:-
0 = The doors are closed automaticallybut can also be prematurely opened manually (default)
1 = The doors are closed automatically, manual over-ride is not possible
2 = The doors can only be closed manually
An example of #DEVICE section code is shown below, with the doors being set for manual operation by driver.
#DEVICE
-1 ; Ats
0 ; Atc
0 ; Eb
0 ; ConstSpeed
0 ; HoldBrake
2 ; ReAdhesionDevice
0 ; LoadCompensatingDevice (not used)
0 ; PassAlarm
2 ; DoorOpenMode
2 ; DoorCloseMode
As you will realise, you have the option for opening and closing modes to be set differently if you want to.
If you are not confident of your ability to do this, then don't. And if you do, do back up the original first.
In the #DEVICE section of the train.dat file use the following value;
DoorOpenMode:-
0 = The doors are opened automaticallybut can also be prematurely opened manually (default)
1 = The doors are opened automatically, manual over-ride is not possible
2 = The doors can only be opened manually
DoorCloseMode:-
0 = The doors are closed automaticallybut can also be prematurely opened manually (default)
1 = The doors are closed automatically, manual over-ride is not possible
2 = The doors can only be closed manually
An example of #DEVICE section code is shown below, with the doors being set for manual operation by driver.
#DEVICE
-1 ; Ats
0 ; Atc
0 ; Eb
0 ; ConstSpeed
0 ; HoldBrake
2 ; ReAdhesionDevice
0 ; LoadCompensatingDevice (not used)
0 ; PassAlarm
2 ; DoorOpenMode
2 ; DoorCloseMode
As you will realise, you have the option for opening and closing modes to be set differently if you want to.
Re: Doors
Pretty confident; I have managed to code in a exterior for the Class 321, which works with lights!
SnowHill150001- Posts : 30
Join date : 2011-09-01
Re: Doors
Great
(I always include the disclaimer with advice. A lot of folks are OK with altering stuff, but a few have the amazing talent to really **** it up, then moan because it hasn't worked, then it's all MY fault, . . . . . . . . . . So it's only fair to warn of the danger).
(I always include the disclaimer with advice. A lot of folks are OK with altering stuff, but a few have the amazing talent to really **** it up, then moan because it hasn't worked, then it's all MY fault, . . . . . . . . . . So it's only fair to warn of the danger).
Last edited by graymac on Thu Aug 23, 2012 2:46 pm; edited 2 times in total
Re: Doors
You wouldn't also know on how to make the 1972MKII stock with the exterior into a 4 car unit?
SnowHill150001- Posts : 30
Join date : 2011-09-01
Re: Doors
To add/remove cars you need to edit both the train.dat AND the extensions.cfg files. It's a tiny bit more complicated than the doors.
As it takes a lot longer to explain than it does to do I'm not going to show it here.
It is a question often asked, though. When I have time I will see if I can produce a downloadable/printable guide how to do it, there seems to be the need for one.
If you can't wait you might look at the differences in the train.dat and extensions.cfg between the 3-car and 6-car IE22000. It is possible you could work it out from that.
As it takes a lot longer to explain than it does to do I'm not going to show it here.
It is a question often asked, though. When I have time I will see if I can produce a downloadable/printable guide how to do it, there seems to be the need for one.
If you can't wait you might look at the differences in the train.dat and extensions.cfg between the 3-car and 6-car IE22000. It is possible you could work it out from that.
Re: Doors
I've fixed that too now! I looked at the extensions and train files for my four car 1992TS and worked out the same might work on the 1972TS. It has! I've just tried to fix up a 6 car class 323 and I've managed to get 6 cars, except the last car is actually that annoying grey object box. The current extension is :
[exterior]
0 = ext_view\LM_323_1.csv
1 = ext_view\LM_323_2.csv
2 = ext_view\LM_323_3.csv
3 = ext_view\LM_323_1.csv
4 = ext_view\LM_323_2.csv
5 = ext_view\LM_323.3.csv
and the train car data
#CAR
40
6
40
0
23.8
1
Whatever I try just doesn't seem to work; any ideas?
[exterior]
0 = ext_view\LM_323_1.csv
1 = ext_view\LM_323_2.csv
2 = ext_view\LM_323_3.csv
3 = ext_view\LM_323_1.csv
4 = ext_view\LM_323_2.csv
5 = ext_view\LM_323.3.csv
and the train car data
#CAR
40
6
40
0
23.8
1
Whatever I try just doesn't seem to work; any ideas?
SnowHill150001- Posts : 30
Join date : 2011-09-01
Re: Doors
You'll find you'll learn very soon to see coding errors instantly. Compare the lines for the third and for the sixth carriage carefully. I'm not telling the error on purpose, as you seem to be very quick at learning such stuff!
Quork- Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Doors
I would underscore that comment!
It's easy to make typing errors, sometimes harder to spot them.
It's easy to make typing errors, sometimes harder to spot them.
Re: Doors
Oh how very, very droll, Graham.....!
johnsinden- Posts : 210
Join date : 2011-09-19
Age : 72
Location : Southampton, UK
Re: Doors
I've tried changing the numbers round with 3rd and 6th but still no luck on ridding the blank object at the back....
SnowHill150001- Posts : 30
Join date : 2011-09-01
Re: Doors
Try this
[exterior]
0 = ext_view\LM_323_1.csv
1 = ext_view\LM_323_2.csv
2 = ext_view\LM_323_3.csv
3 = ext_view\LM_323_1.csv
4 = ext_view\LM_323_2.csv
5 = ext_view\LM_323_3.csv
You used a full point instead of an underscore for the last car. That means the program cannot load the file as LM_323.3.csv doesn't exist, hence the grey box by default.
That is a syntax error. Syntax does not forgive, it needs to be exact.
[exterior]
0 = ext_view\LM_323_1.csv
1 = ext_view\LM_323_2.csv
2 = ext_view\LM_323_3.csv
3 = ext_view\LM_323_1.csv
4 = ext_view\LM_323_2.csv
5 = ext_view\LM_323_3.csv
You used a full point instead of an underscore for the last car. That means the program cannot load the file as LM_323.3.csv doesn't exist, hence the grey box by default.
That is a syntax error. Syntax does not forgive, it needs to be exact.
Re: Doors
No reason to feel stupid, we all started with such errors, including Bill Gates
Quork- Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Doors
Quork wrote:No reason to feel stupid, we all started with such errors, including Bill Gates
We sure did, the difference is Bill Gates just keeps making them.
Re: Doors
*cough* latest errorDerryck wrote:Quork wrote:No reason to feel stupid, we all started with such errors, including Bill Gates
We sure did, the difference is Bill Gates just keeps making them.
Drag0nflamez- Posts : 210
Join date : 2012-05-11
Location : The Netherlands
Similar topics
» any way to only allow doors to open if its an accurate stop
» Doors open but not closed?
» Even though the AI train hasn't stop completely, the AI train is open the doors.
» Animating Folding Doors
» Automatic doors on Mk3 stock
» Doors open but not closed?
» Even though the AI train hasn't stop completely, the AI train is open the doors.
» Animating Folding Doors
» Automatic doors on Mk3 stock
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|