One more question - how to add the container train..

Discuss maps, trains and other modding topics
Post Reply
etime
Posts: 15
Joined: Tue Oct 02, 2007 4:52 pm

One more question - how to add the container train..

Post by etime » Mon Oct 08, 2007 9:59 pm

I've figured out my previous couple of questions but I have one final one.

How do I add the double stack container train to the USA map or any other for that matter.? I have tried following one of the tutorials but the game crashes while loading the scenario. Unfortunatly I know about enough to make a mess of the mod but not enough to make it work. I'm hoping there is a way that it can be there growable or that I can purchase the industry in a city. Thanks for the help

choobacca
Posts: 190
Joined: Wed Jan 24, 2007 7:46 pm

Re: One more question - how to add the container train..

Post by choobacca » Mon Oct 15, 2007 3:06 am

etime wrote:I've figured out my previous couple of questions but I have one final one.

How do I add the double stack container train to the USA map or any other for that matter.? I have tried following one of the tutorials but the game crashes while loading the scenario. Unfortunatly I know about enough to make a mess of the mod but not enough to make it work. I'm hoping there is a way that it can be there growable or that I can purchase the industry in a city. Thanks for the help
etime,

Assuming you have the Basin & Range map installed, you would have to do the following:
1) add the car for hauling Double Stack Containers to the map's RRT_TrainCars_mapname.xml file:

<TrainCar>
<szName>Double Stack Container Car</szName>
</TrainCar>

This will add the container cars to be used when Double Stack Containers are shipped.

2) add industries that use the containers to the map's RRT_Industries_mapname.xml file. Here are snippets for adding the Port and Distribution Center to the map, but you could set up any industry to input/output Double Stack Containers.

<RRTIndustry>
<szName>Port</szName>
<Production>
<Resource>
<Input>None</Input>
<Output>Double Stack Containers</Output>
<InputOutputRatio>1.0</InputOutputRatio>
</Resource>
<Resource>
<Input>Double Stack Containers</Input>
<Output>None</Output>
<InputOutputRatio>0.0</InputOutputRatio>
</Resource>
</Production>
</RRTIndustry>
<RRTIndustry>
<szName>Distribution Center</szName>
<Production>
<Resource>
<Input>Double Stack Containers</Input>
<Output>Manufactured Goods</Output>
<InputOutputRatio>2.0</InputOutputRatio>
</Resource>
<Resource>
<Input>Manufactured Goods</Input>
<Output>Double Stack Containers</Output>
<InputOutputRatio>0.5</InputOutputRatio>
</Resource>
</Production>
</RRTIndustry>

If you want to add the Port and Distribution Center industries, you would have to go into the map editor and place these industries first. If you already have industries in mind for producing and receiving containers, just set Double Stack Containers as the Input and Output of your desired industries.

3) Finally you need to add the Double Stack Containers as a good in the map's RRT_Goods_mapname.xml file:

<Good>
<szName>Double Stack Containers</szName>
<MinPrice>24000</MinPrice>
<MaxPrice>48000</MaxPrice>
</Good>

If I haven't forgotten anything, your industry in the game should be producing Double Stack Containers. When you try to ship DSCs, the train should load DSC train cars and off they go!

Let me know how this works for you.
choobacca

User avatar
Warll
Posts: 928
Joined: Fri Oct 27, 2006 10:31 pm
Location: Tokyo, Japan
Contact:

Post by Warll » Mon Oct 15, 2007 3:29 am

choobacca made a post
He is alive!
Image

etime
Posts: 15
Joined: Tue Oct 02, 2007 4:52 pm

Post by etime » Tue Oct 16, 2007 1:47 am

Thanks for the help,

Now I see exactly what I was missing. All is fixed.. :D

choobacca
Posts: 190
Joined: Wed Jan 24, 2007 7:46 pm

Post by choobacca » Sat Oct 20, 2007 4:26 am

Warll wrote:
choobacca made a post
He is alive!
Alive and well.
The summer was busy, but I am getting back into Railroads again. I like all the recent activity with the new SMRI release and all. That creates new excitement for the game and motivates me to create more SMR content. Great job!

Post Reply