There are two methods of changing trains in the scenery. The first one is mainly for new people and the change is not permanently stored. When the
Rainsted.exe Launcher is restarted, the original trains are restored.
Here's it's description.
Thanks to the
RAINSTED.exe program, made by Ra, we can create train consists from the Launcher. Here's s short instruction (based on the description by Ra):
To edit the train consist in the scenery, after starting the Launcher we must:
- set the >User mode to normal or higher (in the Settings tab),
- go to the Choose scenery tab and make sure that the Save to temporary file is selected.
- Choose the scenery from the list on the left,
- go to the Trainsets tab,
- choose train set from the list in the Trainsets on scenery tab,
- The selected trainset can be copied to the clipboard, stored or have all of it's vehicles removed; right-click the mouse button and select the desired option,
- If the last option wasn't used, a vehicle can be selected from the displayed train set (mini pictures - left click on them),
- For the selected vehicle, the texture and the connections can be changed,as well as deleting it.
- To add a new vehicle, select the Vehicles available for trainset editing,
- Select the vehicle category ("EZT" is EMU), vehicle type and the texture.
- Press and hold left mouse button on the mini image of the vehicle (on the extreme right side[ a hand will appear])
- Drag the handle over to the desired space in the train set (In the middle of the window) and then let go of the left button.
- It's important to remember that, for locomotives that have multiple sections (ET40,41,42 etc) and when running locos "in multiple", to set the Occupancy as Headdriver in the first loco and set the connections to 63 (from the check-boxes on the right select Mechanical, Brakes, Double control, High voltage, Corridor and [the first] Heating / Air 8 atm (When hovering over the checkbox, make sure it says "Yellow brake pipe", simple error in translation ) [WARNING: by default only the first two are selected!]). In the second loco/unit/section the connections are to be left on 3 (default values), however we change the Occupancy to Nobody. In case of EMUs same method is to be used (also when joining two or three units together), however in every vehicle, except the last one, we use the number 63 connections.
Second method, demonstrated below, is intended for advanced users only. This is how we permanently change train sets in the scenarios.
Firstly, open the notepad software. From the menu choose File -> Open and a window opens where we can choose a file to edit. The filetype list is by default set to "txt", change it to "All Files". Navigate to the folder with The Simulator and then to
Scenery folder. There are many files there, but we are only interested in ones that end with
.scn. We open, for example "krzyzowa2.scn". After opening, we should see the following code:
//$n Krzyżowa - Drawowo Główne v2.0
//$d Trasa z Krzyżowej do Drawowa Głównego.
//$d
//$d
//$d
//$d Po uruchomieniu naciskamy Shift + 1!!!
//$i krzyzowa2.jpg
sky cgskj_blueclouded020.t3d endsky
atmo 0 0 0 2000 3000 0.486 0.51 0.612 endatmo
light 100 300 -200 0.357 0.357 0.357 0.902 0.902 0.902 0.498 0.498 0.498 endlight
include krzyzowa2/sc2.scm end
include krzyzowa2/sc2_tr.scm end
include krzyzowa2/sc2_pods_rozkrz.scm end
include krzyzowa2/sc2_teren.scm end
include krzyzowa2/sc2_jez.scm end
include krzyzowa2/sc2_bud.scm end
include krzyzowa2/sc2_plant.scm end
include krzyzowa2/sc2_events.inc end
include rozi/krzyzowa2-posers.inc end
FirstInit
trainset ex6435 krzyzowa_tor6end 1.0 0.0
//$o Pociąg ekspresowy z Krzyżowej do Chełminowa przez Markowo Górne i Drawowo Głowne. Zatrzymuje się tylko w Drawowie Głównym. Po uruchomieniu naciskamy Shift + 1!!!
//$w type=p,lmax=309,vmin=80,vmax=160,d=1.435
node -1 0 ep09-047 dynamic pkp\ep09_v1 104e-047.tga 104e_2 0.0 headdriver 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_ademnu_160.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_c4.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_c4.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_c3.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_gw_1-n.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_b.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_gw_1-n.tga z1 0.0 nobody 35 0 enddynamic
node -1 0 505120-00351-4 dynamic pkp\z1_v1 z1_gw_1-n.tga z1 0.0 nobody 0 0 enddynamic
endtrainset
trainset pe9742 klonowo_tor2end 1.0 0.0
//$o Wakacyjny pociąg pospieszny Bursztyn z Klonowa do Markowa Górnego przez Krzyżową, Chełminów i Drawowo Główne. Zatrzymuje się w Krzyżowej i Drawowie. UWAGA!!! Na haku 14 wagonów czyli ponad 340m, podciągać skład pod sam wskaźnik W4. Po uruchomieniu naciskamy Shift + 1!!!
//$w type=p,lmax=433,vmin=70,vmax=120,d=1.435
node -1 0 eu07-150 dynamic pkp\4e_v1 4e-150.tga 4e 0.0 headdriver 35 0 enddynamic
node -1 0 575100-48296-8 dynamic pkp\1xxa_v1 pdn_296-8.tga 101c 0.0 nobody 35 0 enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 wlabo_118-3.tga g77 0.0 nobody 35 15 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 wlabo_118-3.tga g77 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_2.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 adu_160_tlk.tga 111a 0.0 nobody 35 10 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 15 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_2.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 112a11.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdu_120.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 111a17.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_090-7.tga 111a 0.0 nobody 0 75 passengers enddynamic
endtrainset
and so on...
Always, after the FirstInit command, you have the individual trainset entries. One trainset is located between the
trainset... and the
endtrainset commands. In the above example there are two trainsets (there are much more train sets in the whole scenery, however only an extract from the krzyzowa2.scn file is shown).
The third step is to change the entry.
In the second trainset, we will replace the EU07-150 loco with the ET22-094. We delete the line
node -1 0 eu07-150 dynamic pkp\4e_v1 4e-150.tga 4e 0.0 headdriver 35 0 enddynamic
and in it's place we insert this one:
node -1 0 ET22-094 dynamic PKP\ET22_v1 201E-094.tga 201E 0.0 headdriver 35 0 enddynamic
To learn how to write vehicle entries, go this page: Entries for every vehicle.
If you would like for the previous vehicle (in this case EU07-150) to be "restorable" (without making a backup of the entry) we simply comment out the desired entry using
//
as a prefix to the specific entry. So it will look like this:
//node -1 0 eu07-150 dynamic pkp\4e_v1 4e-150.tga 4e 0.0 headdriver 35 0 enddynamic
node -1 0 ET22-094 dynamic PKP\ET22_v1 201E-094.tga 201E 0.0 headdriver 35 0 enddynamic
node -1 0 575100-48296-8 dynamic pkp\1xxa_v1 pdn_296-8.tga 101c 0.0 nobody 35 0 enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 wlabo_118-3.tga g77 0.0 nobody 35 15 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 wlabo_118-3.tga g77 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_2.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 adu_160_tlk.tga 111a 0.0 nobody 35 10 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 15 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_2.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 112a11.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdu_120.tga 111a 0.0 nobody 35 50 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_160_1.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 111a17.tga 111a 0.0 nobody 35 75 passengers enddynamic
node -1 0 5051-304510-1 dynamic pkp\1xxa_v1 bdnu_090-7.tga 111a 0.0 nobody 0 75 passengers enddynamic
When we get bored of driving the ET22, we can simply restore the trainset entry to default, we simply delete the
// prefix (from the EU07 entry) and we add the
// prefix to the ET22 entry (in case we would like to return to the ET22).
When we finally have a trainset that we want, we save the krzyzowa2.scn file, turn off the Rainsted.exe Launcher (if it was running durning the .SCN edition) and we start it again, run the Simulator adn enjoy the manually changed trainset :)
For the curious:The entry structure is as follows:
trainset HEADCODE_NUMBER STARTING_TRACK_NAME DISTANCE_FROM_STARTING_TRACK INITIAL_VELOCITY(KM/H)
so in the following entry:
trainset ex6435 krzyzowa_tor6end 1.0 0.0
The train headcode is
ex6435, it starts on the
krzyzowa_tor6end track,
1.0 m from it's beginning, moving with iniitia velocity of
0.0 km/h.
Authors: Patrykos, mechatronik.
Updates: libertyn89, Maciej
Fixes: Quark-t
English translation: kolejarz2009