Maritimes Canada

Develop, collaborate, test and share new maps
snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Post by snoopy55 » Tue Mar 13, 2007 8:51 pm

Pete - I just downloaded the updated installer and added Beer to the Villages so I wouldn't have to run a full game (copied it from Metropolis) and it ran fine. Try your again. If it happens again, I'll upload the XML file w/the added Beer need and you can test that.
I'm correct 97% of the time..... who cares about the other 4%....

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Wed Mar 14, 2007 6:55 pm

Snoopy
I've tried it again with both your zip and the installer zip.
In both, I haul grain to a station that provides beer.
The grain empties and as soon as it trys to load beer, the game crashes.

Note.....I'm not using your global setup. I've been having good luck up to now with the installers.

Your talk about cities, metropolis, and conglomerates confuses me.
If a town says beer for grain........what else is required?

As he beats his head against the wall............ :cry:

Pete

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Post by snoopy55 » Wed Mar 14, 2007 8:22 pm

Pete - first, the bad news.... :cry: if you're running the installers, you are running GLOBALS (and they're not mine, they are a group creation) The installers create and modify the GLOBALS.

What I did was simply made a change in WHEN I could load Beer to test it without running the map for any length of time. I needed to check that the installer set the map up for the full Grain > Brewery > Beer Cask Car > Beer. It does.

What files do you have in CustomAssets\XML ? You have to have 6 XML files in there.
I'm correct 97% of the time..... who cares about the other 4%....

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Wed Mar 14, 2007 8:38 pm

I've got 5

Depots
goods
industries
Traincars
Trains

Pete

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Fri Mar 16, 2007 4:46 pm

So Snoopy.......What file am I missing?

Pete

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Post by snoopy55 » Sat Mar 17, 2007 1:56 am

Pete - you've got the 5 required GLOBALS. a sixth one, RRT_Characters.xml is needed for a couple of maps depending on how they were written. I've found the problem.

atani - for some reason the 'Beer Cask Car' is not being put into the GLOBALS. I can't see why it has been missed as it was originally in Chicago to the Rockies. I found the original coding from a set of GLOBALS I had on another drive. Here they are:

<TrainCar>
<szName>Beer Cask Car</szName>
<szGood>Beer</szGood>
<szModel>Cask_Car.kfm</szModel>
<szDummyModel>Cask_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TrainCar>


I don't know how to get them into the Setup, so I'll leave that up to you. The Cask Car for Wine is there, but not the Beer Car.
I'm correct 97% of the time..... who cares about the other 4%....

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 3:02 am

I can copy them from here.
Which xml do I put it into? One in the globals, or the scenerio?

Pete

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

Post by Warll » Sat Mar 17, 2007 3:05 am

You should put it in the globals since that way other maps can call on it.
Image

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 3:12 am

I just opened the xml\ RRT_traincars.xml file and what you posted is already in it.

Pete

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 3:23 am

Ok
I think I'm beginning to see it
In the xml file, both wine and beer call for "<szModel>Cask_Car.kfm</szModel>
Are you saying one should call for a beer cask car?

Pete

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Post by snoopy55 » Sat Mar 17, 2007 3:53 am

Pete, yes, they go into xml\ RRT_traincars.xml and what you should find is this:

<TrainCar>
<szName>Cask Car</szName>
<szGood>Wine</szGood>
<szModel>Cask_Car.kfm</szModel>
<szDummyModel>Cask_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TrainCar>

and this:

<TrainCar>
<szName>Beer Cask Car</szName>
<szGood>Beer</szGood>
<szModel>Cask_Car.kfm</szModel>
<szDummyModel>Cask_Car_dummies.nif</szDummyModel>
<szGroundClackSound>AS3D_CLACK_PLANET_GROUND</szGroundClackSound>
<szBridgeClackSound>AS3D_CLACK_PLANET_BRIDGE</szBridgeClackSound>
<RunLength>30</RunLength>
</TrainCar>


They may not be together, but both have to be in there.
I'm correct 97% of the time..... who cares about the other 4%....

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Post by snoopy55 » Sat Mar 17, 2007 4:03 am

OK, reality is getting in my way, plus I just got another 1Gb card from my brother and I'm in 7th heaven, 3Gb of joyful fun! :D

I had downloaded the setup again and ran it, but didn't get to look at it. It's still got an error with the RRT_TrainCars.xml.

Pete - in XML\_SCENARIOS_ delete the RRT_TrainCars_MARITIME.xml from the MARITIMES folder and take the XML in the ZIP below and put it in the folder. It's corrected.

atani - direct me to the instructions for the making of the Setups and I'll try to see if I can do it. I need to learn and you do have alot to do.
Attachments
RRT_TrainCars_MARITIMES.zip
(412 Bytes) Downloaded 337 times
I'm correct 97% of the time..... who cares about the other 4%....

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 4:16 am

Well, this is really strange.

I added <TrainCar>
<szName>Cask Car</szName>
<szGood>Beer</szGood>
</TrainCar>
which I found in the Germany scenerio,
To my maritimes RRT_ traincars, and the beer now works.

Then I saw your last post, and when I went and checked, both of the entries are there.
I don't think it was there before I made my change and started the game.

Unbelievable, the things this game does.

Thanks for your help
The beer flows.

Pete

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 4:23 am

Snoopy
You and I are playing hopscotch.
I see what you did in the xml.
It seems what I put in did the same thing.
I'll give yours a try in the morning.

Thanks, friend; for the help.

Pete

Pete
Posts: 97
Joined: Fri Nov 03, 2006 7:06 pm
Location: British Columbia

Post by Pete » Sat Mar 17, 2007 4:44 am

I couldn't wait until morning.

It appears that when I made MY change and fired up the game, went and got beer; the game automatically added the beer cask car entry to the maritimes xml.
Can you believe it?

Go to bed.

Pete

Post Reply