Two engines?

Talk about all things related to Railroads! here
User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Two engines?

Post by Rodea2007 » Mon Apr 13, 2009 11:38 pm

dwax wrote:I can't get that code for the duals to work. put it in the files like you said. get a single Milwaukee Road just fine in both of Quad City Lake In Winter and The Island Of Sodor Map. Did you try it Jancsika?
You must be missing something dwax, that code is correct, just I think you did an mistake when write it
see to the picture below

Note: please post here your RRT_Trains_yourmap.xml and RRT_TrainCars_yourmap.xml, I will rewrite them with those codes
Attachments
MR2805.jpg
Last edited by Rodea2007 on Mon Apr 13, 2009 11:49 pm, edited 1 time in total.
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
dwax
Posts: 618
Joined: Sat Nov 18, 2006 3:40 pm
Location: So. Dak.

Re: Two engines?

Post by dwax » Mon Apr 13, 2009 11:47 pm

Yep, I made a mistake in the Train cars XML Got it working now. Thank you Rodea! :)
Attachments
MW_DUALS.JPG
Image

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Two engines?

Post by Rodea2007 » Tue Apr 14, 2009 12:12 am

Please Notice, that very important to you know how to rewrite your XML files
For examples we want to add tender car to RRT_TrainsCars.xml

<RRTTenderCars>
<TenderCar>
<szName>MR2035 Tender Car</szName>
<szModel>Milwaukee_Road_2035.kfm</szModel>
<szDummyModel>EMD_GP38_2_Dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TenderCar>

</RRTTenderCars>


If in your RRT_TrainCars.yourmap.xml not have yet Tender Car list you must add all lines above to RRT_TrainCars_Yourmap.xml under line "</RRTGoodCars>"
but if your RRT_TrainCars_Yourmap was have other Tender Car list so only lines with blue color you must add to RRT_TrainCars_Yourmap.xml.
I guess dwax problem is he put all lines into RRT_TrainCars_xxx.xml, meanwhile he was have other tender car list in his RRT_TrainCars_xxx.xml.......... :D
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Lowell
Posts: 653
Joined: Sat Mar 24, 2007 2:14 am
Location: Georgia
Contact:

Re: Two engines?

Post by Lowell » Tue Apr 14, 2009 3:55 am

Yup we had some strong winds and a medium sized tornado ripped three huge pine trees apart. Lifted one that was 100ft high, tore it in half at the 50ft mark...then carried the top half of that huge pine tree fifty feet and then dropped it on my deck and back roof. Pine trees make a huge mess let alone a giant one. Plus all the pollen went everywhere. No broken glass fortunately. Only a broken back right now. I went outside after I heard the explosion and the house shaking like an earthquake and nuke bomb going off together. The roaring sound was still going so I knew it was close, while on the back deck trying to clear off some of the large branches, the trees in the woods behind me were going nuts, moving in circles and bending over at 45' angles...they were cracking as they were swaying. Dry trees, we have had little rain in the past five years. I would say the three biggies today must have weighed five tons or more each. One is 18" in diameter.

Did you get them to show up in your map? I have a full list for each engine from the game made as duals...even the grasshoppers LoL.

Here is the default layout for the dual mikado...

<Train>
<szName>TAG_NAME_MIKADO</szName>
<Year>1910</Year>
<szManufacturerName>Lima</szManufacturerName>
<szModel>2_8_2_Mikado.kfm</szModel>
<szDummyModel>2_8_2_Mikado_dummies.nif</szDummyModel>
<szTenderCar>Mikado Tender Car</szTenderCar>
<szCar>_v2</szCar>
<szNewTrainImage>event_newtrain_2_8_2_mikado.dds</szNewTrainImage>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<MaxSpeed>6</MaxSpeed>
<Speed0>6</Speed0>
<Power>25</Power>
<Cost>100000</Cost>
<MaintenanceCost>4000</MaintenanceCost>
<Diesel>0</Diesel>
<RunLength>126</RunLength>
<HasEngineer>1</HasEngineer>
<rgbDefaultColor>200,150,0</rgbDefaultColor>
<BitmapIcon>
<szFile>Assets/Interface/TrainRouting/routing_Mikado.tga</szFile>
</BitmapIcon>
<fStartSoundCrossFade>2.0</fStartSoundCrossFade>
<szStartSound>AS3D_TR_STEAM_ENGINE_START_4</szStartSound>
<szStopSound>AS3D_TR_STEAM_ENGINE_STOP_4</szStopSound>
<fSpeedStartWait>0.25</fSpeedStartWait>
<fSpeedCrossFade>3.0</fSpeedCrossFade>
<iPitchChange>4000</iPitchChange>
<SpeedSounds>
<szSpeed>AS3D_TR_STEAM_ENGINE_SLOW_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_MID_SLOW_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_MID_FAST_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_FAST_LP_1</szSpeed>
</SpeedSounds>
<szSharpAngleSqueal>AS3D_CURVE_SQUEAL</szSharpAngleSqueal>
<szAverageAngleSqueal>AS3D_CURVE_SQUEAL_MEDIUM</szAverageAngleSqueal>
<szSlightAngleSqueal>AS3D_CURVE_SQUEAL_LIGHT</szSlightAngleSqueal>
</Train>
<Train>
<szName>TAG_NAME_MIKADO_DUAL</szName>
<Year>1910</Year>
<szManufacturerName>Lima</szManufacturerName>
<szModel>2_8_2_Mikado.kfm</szModel>
<szDummyModel>2_8_2_Mikado_dummies.nif</szDummyModel>
<szTenderCar>2_8_2_Mikado_dummy</szTenderCar>
<szCar>_v2</szCar>
<szNewTrainImage>event_newtrain_2_8_2_mikado.dds</szNewTrainImage>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<MaxSpeed>8</MaxSpeed>
<Speed0>7</Speed0>
<Power>29</Power>
<Cost>160000</Cost>
<MaintenanceCost>4000</MaintenanceCost>
<Diesel>0</Diesel>
<RunLength>126</RunLength>
<HasEngineer>1</HasEngineer>
<rgbDefaultColor>200,150,0</rgbDefaultColor>
<BitmapIcon>
<szFile>Assets/Interface/TrainRouting/routing_Mikado.tga</szFile>
</BitmapIcon>
<fStartSoundCrossFade>2.0</fStartSoundCrossFade>
<szStartSound>AS3D_TR_STEAM_ENGINE_START_4</szStartSound>
<szStopSound>AS3D_TR_STEAM_ENGINE_STOP_4</szStopSound>
<fSpeedStartWait>0.25</fSpeedStartWait>
<fSpeedCrossFade>3.0</fSpeedCrossFade>
<iPitchChange>4000</iPitchChange>
<SpeedSounds>
<szSpeed>AS3D_TR_STEAM_ENGINE_SLOW_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_MID_SLOW_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_MID_FAST_LP_1</szSpeed>
<szSpeed>AS3D_TR_STEAM_ENGINE_FAST_LP_1</szSpeed>
</SpeedSounds>
<szSharpAngleSqueal>AS3D_CURVE_SQUEAL</szSharpAngleSqueal>
<szAverageAngleSqueal>AS3D_CURVE_SQUEAL_MEDIUM</szAverageAngleSqueal>
<szSlightAngleSqueal>AS3D_CURVE_SQUEAL_LIGHT</szSlightAngleSqueal>
</Train>



Here is the tender car listing for the dual Slave engine...This goes into the train cars xml list for the map.

<TenderCar>
<szName>2_8_2_Mikado_dummy</szName>
<szModel>2_8_2_Mikado.kfm</szModel>
<szDummyModel>2_8_2_Mikado_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>25</RunLength>
</TenderCar>

Here is the info for the normal tender for the single engine...

<TenderCar>
<szName>Mikado Tender Car</szName>
<szModel>2_8_2_Mikado_Tender_Car.kfm</szModel>
<szDummyModel>2_8_2_Mikado_Tender_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>25</RunLength>
</TenderCar>


Now to use the second tender car listing you have to have the tender car models added to your maps list of car models. Remember the tender car mod from way back, those are the car models you need for a tendercar, but for the dual mikado it uses the same engine model as it's slave engine.

Tender cars get listed just beneath the traincars listing like so...

</RRTGoodCars> <--- list of Goods Cars ends here
<!-- Tender Cars -->
<RRTTenderCars> <---the start of the tender car list

<...whatever Tender Car listing goes here...>

</TenderCar> <--- this ends the single entry of a tender car
</RRTTenderCars> <--- this ends the whole tender cars list
</RRTTrainCars> <--- this closes out both tender cars and train cars on this xml list here

Then what goes here is the tendercar info from above. If your map has the tendercars added then you can use both of the tendercar lists above, if the tender cars are not provided, then only add the slave unit to the tendercars list.

User avatar
dwax
Posts: 618
Joined: Sat Nov 18, 2006 3:40 pm
Location: So. Dak.

Re: Two engines?

Post by dwax » Tue Apr 14, 2009 9:43 pm

That works with the GP-73 too! :mrgreen:
Attachments
GP-73.jpg
Image

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Two engines?

Post by Rodea2007 » Tue Apr 14, 2009 11:38 pm

dwax wrote:That works with the GP-73 too! :mrgreen:
Yes....Now you can make all trains have Tender......... :lol: :lol:
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Two engines?

Post by Jancsika » Thu Apr 16, 2009 4:06 am

Hey! Look at the SodorSAM map. I have a dual Thomas Engine as an addition.
Jancsika :mrgreen:

badlogin
Posts: 10
Joined: Sat Apr 11, 2009 12:09 am

Re: Two engines?

Post by badlogin » Wed May 13, 2009 12:27 am

Wow thanks for the reply to my post but that's Greek to me. Could you dumb it down just a bit more for me? Are you saying that by putting that in one of the files it will allow me to use the second train on all maps? Also I see stacked shipping containers on flat cars and I haven't seen that either.

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Two engines?

Post by Jancsika » Wed May 13, 2009 1:50 pm

Double stack container cars are available at:
http://eric.bkbobby.com/forum/viewtopic ... 4&start=45

As for the dual engines:
The easiest way to make them is to steal them, and then just change it to the engine you want. :P :P
There are three XML files to handle:
RRT_Traincars_MAPNAME.xml
RRT_Names_MAPNAME.xml
RRT_Trains_MAPNAME.xml
Jancsika

badlogin
Posts: 10
Joined: Sat Apr 11, 2009 12:09 am

Re: Two engines?

Post by badlogin » Thu May 14, 2009 4:30 am

Jancsika wrote:As for the dual engines:
The easiest way to make them is to steal them, and then just change it to the engine you want. :P :P
There are three XML files to handle:
RRT_Traincars_MAPNAME.xml
RRT_Names_MAPNAME.xml
RRT_Trains_MAPNAME.xml
Jancsika

This is the problem, I don't understand where I have to put that stuff. Can I get some direction in depth?

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Two engines?

Post by Jancsika » Thu May 14, 2009 1:50 pm

I am new to the mod so sorry if this is a stupid question. I see two engines tied together in screen shots and videos. I have played the the mod but I don't see where the option is to use them. Can any one here point me in the right direction. Thanks for any help you can give me.

OK. Let's go back to your first post.
Apparently you are looking for a way to have two engines permanently in your game setup and have it ready for your use just with one click of command.
If that is the case: it is a big NO-NO. While it could be done it would require permanently revising the original Firaxis game setup, and that is not recommended. Experts of this game strongly advise against changing anything that is in the basic installation files.(C:\Program Files\2K Games\Firaxis Games\Sid Meier's Railroads!)

You have to do all your modifications in C:\Users\user\Documents\My Games\Sid Meier's Railroads!
Directory on a case by case basis. That is you have to have a scenario (new map) that you want to have and can have duals, but if you want have them in an other map you have to transfer them (copy and paste) manually to the other map.
I suggest that you download and play the Amerigona map by Dr.Frag:
http://www.hookedgamers.com/forums/view ... a&start=30
It has all the duals. That's where I have learned from how to make them.
Good Luck!

badlogin
Posts: 10
Joined: Sat Apr 11, 2009 12:09 am

Re: Two engines?

Post by badlogin » Tue May 19, 2009 4:14 pm

Wow am I confused. I don't know if I want every map to have them. I juust want at least one good map that has the stacked shipping containers and two engines and late model. I see moded maps that have them but I don't see where I have to install them or where to get um.

User avatar
dwax
Posts: 618
Joined: Sat Nov 18, 2006 3:40 pm
Location: So. Dak.

Re: Two engines?

Post by dwax » Tue May 19, 2009 7:46 pm

What maps, and doubles do you want?
Image

User avatar
Lowell
Posts: 653
Joined: Sat Mar 24, 2007 2:14 am
Location: Georgia
Contact:

Re: Two engines?

Post by Lowell » Wed May 20, 2009 1:44 am

I make duals inside my maps. To run those on other maps, you have to copy all the xml listing from maps that have them to the train and train cars lists on whatever maps you wish them to be on.

There is a large selection of dual engines from many maps. Again, you have to add them to your scenarios' lists first.

badlogin
Posts: 10
Joined: Sat Apr 11, 2009 12:09 am

Re: Two engines?

Post by badlogin » Wed May 20, 2009 3:17 am

Wife brought home dinner home so I will get back with you tomorrow. Thanks for the reply guys!

Post Reply