Diesel Mod - AC4400 Release

Develop, share and download custom trains and rolling stock
choobacca
Posts: 190
Joined: Wed Jan 24, 2007 7:46 pm

Diesel Mod - AC4400 Release

Post by choobacca » Sat Mar 24, 2007 3:24 am

Those of you who were watching the "Diesel Mod" topic closely were probably eagerly awaiting Eilelwen's and OzoB's creation of the AC4400 6-axle engine.

Well wait no more. Eilelwen was kind enough to send me the files for this train, so I have packaged it along with 5 skins into an installer.

But after you've installed the engine, there is still a little work for you to do to get the engine in your maps. If you are brave enough to modify the map's XML files, then you will need to make the following additions for the AC4400 to show up in the map. Otherwise, use the Sid Meier's Railroads! Scenario Manager v2.0.

*********************
In order to add this train to your maps, you will need to add the following XML reference to the map's RRT_Trains_<mapname>.xml:
*********************
<Train>
<szName>TAG_NAME_AC4400_DUAL</szName>
<Year>1994</Year>
<MaxSpeed>12</MaxSpeed>
<Speed0>15</Speed0>
<Power>32</Power>
<Cost>450000</Cost>
<MaintenanceCost>8000</MaintenanceCost>
<szTenderCar>AC4400Dummy</szTenderCar>
</Train>


That's it. There is a Readme file in the ZIP that explains more.

Edit 3/25/2007: v1.1 fixes the Uninstaller from deleting everything in CustomAssets. Updated the Readme file and installation instructions.
Attachments
Setup_AC4400_1.1.zip
Installer for AC4400 v1.1
(3.45 MiB) Downloaded 1906 times
AC4400singleengine.jpg
AC4400singleengine.jpg (217.13 KiB) Viewed 15258 times
Last edited by choobacca on Sun Mar 25, 2007 5:04 pm, edited 1 time in total.

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

Post by dwax » Sat Mar 24, 2007 3:34 am

Sweet choobacca!! :D Thanks for putting it togeather, and thanks to Eilelwen's and OzoB! :)
Image

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

Post by dwax » Sat Mar 24, 2007 4:04 am

*********************
In order to add this train to your maps, you will need to add the following XML reference to the map's RRT_Trains_<mapname>.xml:
*********************
<Train>
<szName>TAG_NAME_AC4400_DUAL</szName>
</Train>

*********************
and add the following XML reference to the map's RRT_TrainCars_<mapname>.xml in the TenderCar section.
*********************
<TenderCar>
<szName>AC4400Dummy</szName>
</TenderCar>

I tried that and crashed to the desktop. :( what is wrong ?
Image

User avatar
K-class
Posts: 325
Joined: Sat Jan 06, 2007 10:54 pm
Location: New Zealand across from Australia
Contact:

Post by K-class » Sat Mar 24, 2007 4:11 am

Thanks so much but does not work for me.

On several posts here we have established you do not need to add to RRT_TrainCars_<mapname>.xml file.

If you do the tenders mod does not work.

All the tender cars are done in the global RRT_TrainCars.xml

I will keep playing.

But to get the Santa Fee train from the basin and range map to work I added this to the map's RRT_Trains_<mapname>.xml

example of what I did to get dual trains in another map

Code: Select all

<Train>
      <szName>TAG_NAME_GP38_DUAL</szName>
      <Year>1965</Year>
      <szModel>santafeblue_GP38_2.kfm</szModel>
      <szDummyModel>santafeblue_GP38_2_Dummies.nif</szDummyModel>
      <szTenderCar>GP38Dummy</szTenderCar>
      <szCar>_v2</szCar>
      <MaxSpeed>9</MaxSpeed>
      <Speed0>9</Speed0>
      <Power>20</Power>
      <Cost>350000</Cost>
      <MaintenanceCost>4000</MaintenanceCost>
  </Train>
I presume I need to do this to a RRT_Trains_<mapname>.xml to get this mod to work. :D
Intel Core 2 Quad Q9450 @ 3.0GHz
Windows 7 Ultimate 64bit
XFX NVIDIA nForce 780i SLI Mobo
4GB DR2-1066 (PC-8500)
Geforce GTX 460 graphics card 1024 MB GDDR5

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

Post by dwax » Sat Mar 24, 2007 4:15 am

I did some playing on the "All trains XML and got it in the map :) here is what I added.


<Train>
<szName>TAG_NAME_AC4400_DUAL</szName>
<Year>1800</Year>
</Train>
Image

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

Post by dwax » Sat Mar 24, 2007 4:21 am

they are sweet! :) For some reason when you go to change the color only one changes, but I can live with that, I got a new engine! :lol:
Attachments
AC_4400.JPG
AC_4400.JPG (159.2 KiB) Viewed 15238 times
Image

User avatar
K-class
Posts: 325
Joined: Sat Jan 06, 2007 10:54 pm
Location: New Zealand across from Australia
Contact:

Post by K-class » Sat Mar 24, 2007 4:22 am

Ok now working ok in demo map side to side. :D

ignore the install txt file

1. Run the installer

2. All you do is add the below code to in your map, that is to the map's RRT_Trains_<mapname>.xml

Code: Select all

<Train>
      <szName>TAG_NAME_AC4400_DUAL</szName>
      <Year>1800</Year>
      <szModel>GE_AC4400.kfm</szModel>
      <szDummyModel>GE_AC4400_dummies.nif</szDummyModel>
      <szTenderCar>AC4400Dummy</szTenderCar>
      <szCar>_v2</szCar>
      <MaxSpeed>9</MaxSpeed>
      <Speed0>9</Speed0>
      <Power>20</Power>
      <Cost>350000</Cost>
      <MaintenanceCost>4000</MaintenanceCost>
  </Train> 
Note above I used the settings in the demo and range TAG_NAME_GP38_DUAL settings just to see if the code works, teain diff colous at the moment
Intel Core 2 Quad Q9450 @ 3.0GHz
Windows 7 Ultimate 64bit
XFX NVIDIA nForce 780i SLI Mobo
4GB DR2-1066 (PC-8500)
Geforce GTX 460 graphics card 1024 MB GDDR5

User avatar
K-class
Posts: 325
Joined: Sat Jan 06, 2007 10:54 pm
Location: New Zealand across from Australia
Contact:

Post by K-class » Sat Mar 24, 2007 4:32 am

:D what a hot topic.

Thanks dwak - I can see what you sort of done.

The 1800 so it shows up at the beginning of a map - cool great feature mod that should be in the wiki if not so already.

If I just add this I dont get the second train as you need to add the dummy.

Code: Select all

 <Train>
<szName>TAG_NAME_AC4400_DUAL</szName>
<Year>1800</Year>
</Train>
The guys are using tender car code as second trains

This is the second train that needs to be added.

Code: Select all

<szTenderCar>AC4400Dummy</szTenderCar>
Intel Core 2 Quad Q9450 @ 3.0GHz
Windows 7 Ultimate 64bit
XFX NVIDIA nForce 780i SLI Mobo
4GB DR2-1066 (PC-8500)
Geforce GTX 460 graphics card 1024 MB GDDR5

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

Post by dwax » Sat Mar 24, 2007 4:57 am

K-class said:

Code: Select all

The 1800 so it shows up at the beginning of a map - cool great feature mod that should be in the wiki if not so already. 
Snoopy55 gets that credit. he showed me how it was done, esp in the all trains XML. :)
Image

User avatar
stormfather
Posts: 118
Joined: Wed Nov 29, 2006 8:21 pm

Post by stormfather » Sat Mar 24, 2007 5:48 am

Awesome work, this made my day.

User avatar
K-class
Posts: 325
Joined: Sat Jan 06, 2007 10:54 pm
Location: New Zealand across from Australia
Contact:

Post by K-class » Sat Mar 24, 2007 5:56 am

Yep we owe Snoopy55 a lot and others on this forum for maps and global xml's and installers. we bow to you all.

I just poked in the fpk to have a quick look and can see I think where the blue is.

If you look at the likes of ge_ac4400_nmrl.dds to ge_ac4400_nmrl_v4.dds are blue

I don't know if this intentional and will wait and see what choobacca says.

One black one blue still a good combo and at least we have a new train.

--------------------------------------------------------------

Great stuff I can now get three double headed trains in the maps I have tried.
Intel Core 2 Quad Q9450 @ 3.0GHz
Windows 7 Ultimate 64bit
XFX NVIDIA nForce 780i SLI Mobo
4GB DR2-1066 (PC-8500)
Geforce GTX 460 graphics card 1024 MB GDDR5

User avatar
Dr Frag
Posts: 348
Joined: Thu Feb 01, 2007 1:06 am
Location: Southern California
Contact:

Post by Dr Frag » Sat Mar 24, 2007 6:16 am

Well the installer tried putting it in the right place but because I have a non-standard install dir I got this.
Image
It put the Global name files in & the FPK though.
So I just reinstalled and let it put it in the default location and I managed the files manually.

User avatar
atani
Posts: 293
Joined: Tue Dec 19, 2006 5:01 pm
Contact:

Post by atani » Sat Mar 24, 2007 6:59 am

Dr Frag wrote:Well the installer tried putting it in the right place but because I have a non-standard install dir I got this.
This doesnt look good.... Looks like something went wrong in the installer macros.

choobaca, can you email me the installer script or post it online someplace I can download it? I would like to debug this a bit further...

Mike

User avatar
K-class
Posts: 325
Joined: Sat Jan 06, 2007 10:54 pm
Location: New Zealand across from Australia
Contact:

Post by K-class » Sat Mar 24, 2007 11:03 pm

Got it to work no probs the installer works if you have everything in the standard place on c:\ drive.

see my other post Ok if you like Diesel trains and double train in a map I have got this to work ok in most of the maps.

GP7, AC4400 and Santa Fee train in the Island Chain map by Choo-Choo

http://hookedforums.com/a/viewtopic.php?p=15505#15505
Intel Core 2 Quad Q9450 @ 3.0GHz
Windows 7 Ultimate 64bit
XFX NVIDIA nForce 780i SLI Mobo
4GB DR2-1066 (PC-8500)
Geforce GTX 460 graphics card 1024 MB GDDR5

User avatar
CeeBee51
Posts: 141
Joined: Sun Dec 17, 2006 9:58 pm
Location: Chase BC Canada
Contact:

Post by CeeBee51 » Sat Mar 24, 2007 11:08 pm

Doesn't work for me and I think it's because the installer didn't create a folder in the custom assets/train folder so it's missing the event_newtrain.dds and the routing.tga. Thats the only thing I can think of why it's not working as I believe I added the proper code to both the train and traincar xml's for the map I tried it on.

Post Reply