Page 1 of 1

Changing rail in a region

Posted: Wed Jun 13, 2007 5:55 pm
by Pocus
This procedure describes how to change the transport level for a given region, for a game underway. Here we will manipulate the HOST file.

Open the HST file of your game.

Seek the text {GlobalRegionData}. You are then placed at the start of the data describing regions.

Seek the UID of the region you want to edit, the UID of each region is in the tooltip when you mouse over them.

In patch 1.04, the rail have been removed in regions:

464 - Boone, WV
465 - Kanawha, WV
471 - Mercer, WV
472 - Crawford, WV
474 - Greenbrier, WV
553 - Wayne, KY
554 - Pulaski, KY
566 - Overton, TN
567 - Fentress, TN
568 - Scott, TN
587 - Smith, TN
588 - Cannon, TN
589 - Putnam, TN

So seek first 464 here.

Then in the record, change the value of
TransportLvl=

to something else. The legit values are:

0: nothing
1: track
2: road
3: railroad
4: double railroad (not used in AACW)
131: destroyed railroad
132: destroyed double railroad

Once done, save the file. This will apply when the turn is hosted.

Posted: Wed Jun 13, 2007 7:08 pm
by aryaman
Many thanks!

Posted: Thu Jun 14, 2007 9:30 am
by Wilhammer
So, what TransportLvl= values should each of these regions have?

Posted: Thu Jun 14, 2007 1:34 pm
by Pocus
2 I believe, but I don't do the setups, sorry.

Posted: Fri Jun 15, 2007 2:07 pm
by aryaman
I am new to modding the game, how do you open the HST file?

Posted: Fri Jun 15, 2007 5:41 pm
by runyan99
You can use any text editor, like Windows Notepad.

Posted: Sat Jun 16, 2007 8:18 am
by Gibbon
Why is 473 not changed neither in the map nor in the DB? This small piece of rail in the middle of the mountain is pretty weird.


Other DB pb:

Farnam (KS). ID 1052. Transport level should be 1 or 2 as a road is crossing this region on the map.

Posted: Sat Jun 16, 2007 8:45 am
by aryaman
Ok, I have opened the file with wordpad, and made the modifications, but when I try to save it I receive a message "acces denied" what should I do then?

Posted: Sat Jun 16, 2007 8:58 am
by Korrigan
You're using Vista, aren't you?

I guess this is a problem of Administrator rights. Look in a forum, someone has already had this.

Posted: Sat Jun 16, 2007 9:00 am
by aryaman
Ok, I solved it, thanks