Is it possible to change time untill what year you can buy a train? – Train Fever /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/feed/ Wed, 30 Apr 2025 12:24:14 +0000 https://bbpress.org/?v=2.6.13 en-US /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16737 <![CDATA[Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16737 Fri, 06 Feb 2015 10:04:26 +0000 Florius Hey, I have installed quite a few mods, mostly steam locomitives. However some steam locomotives you can still but in 2000. Is it possible to chang the end date in mods somehow?

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16738 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16738 Fri, 06 Feb 2015 11:25:08 +0000 olahaldor Yes. You’ll need to go into the game installation folder/res/models/model/vehicle/train/ folder and find the .mdl file for the mod.

In the .mdl file you’ll find something like this

availability = {

yearFrom = 1915,

yearTo = 0

},

 

Change the “yearTo” to something more realistic or to your needs.

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16740 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16740 Fri, 06 Feb 2015 16:26:00 +0000 Florius With what can I edit the .mdl file?

And how about the running costs for a train? Some dutch train’s have a running cost of 70k..

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16746 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16746 Fri, 06 Feb 2015 16:58:33 +0000 Varana A simple text editor like the one that comes with Windows, or Notepad++, is enough. Make sure that you don’t append a .txt extension when saving, but *.mdl files are basically just plain text.

Purchase price, lifespan, and running costs can be changed in the same file. There is a section in the *.mdl file that looks like this (varies a bit between engines, wagons, road vehicles etc.), and you can simply edit the numbers:

railVehicle = {
topSpeed = 45.0,
weight = 18.0,
engines = {
{ type = “STEAM”, power = 90.0, tractiveEffort = 20.0 }
},

availability = {
yearFrom = 1860,
yearTo = 1892
},
cost = {
price = 252000

},
maintenance = {
runningCosts = 150000,
lifespan = 30
},

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16757 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16757 Sat, 07 Feb 2015 08:19:40 +0000 Norfolk_Chris There is a new ‘TF Vehicle Edit’ tool now available on Train-Fever.net for modifying vehicles attributes such as availability dates, capacity, speed etc. for both mods and plain vanilla vehicles.

Highly recommended, it’s much easier than editing the *mdl files.

You can download it here: http://www.train-fever.net/filebase/index.php/Entry/756-TF-Vehicle-Edit/

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16758 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16758 Sat, 07 Feb 2015 10:40:11 +0000 n00b The vehicle editor contains some very nasty bugs (at least in version 1.1.1571)  that can put an edited file into an unusable state (i.e. TrainFever won’t run anymore), so be careful and make backups. Or know how to manually fix the lua code in the .mdl files.

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16763 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16763 Sat, 07 Feb 2015 14:50:45 +0000 Florius Okay, last question, is it possible to edit the name that shows in Train fever, either with the TF Vehicle edit and without?

And is there a english version of TF Vehicle edit, since I’m dutch, and actually only speak dutch or english..

EDIT: Found the menu to change the language (even to dutch! 🙂 )

]]>
/forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16774 <![CDATA[Reply To: Is it possible to change time untill what year you can buy a train?]]> /forums/topic/is-it-possible-to-change-time-untill-what-year-you-can-buy-a-train/#post-16774 Sun, 08 Feb 2015 04:55:59 +0000 Traian Trante Yes, it is. in the same file you changed the year the vehicle is available from find the “description” field and change it.

 

The desription field looks something liek this:

 

description = {

name = _(“Tank wagon Wasco”),

description = _(“Double bogie, four axle tank wagon.”)

},

 

]]>