- This topic has 7 replies, 6 voices, and was last updated 9 years, 1 month ago by Traian Trante.
-
AuthorPosts
-
February 6, 2015 at 11:04 #16737FloriusParticipant
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?
February 6, 2015 at 12:25 #16738olahaldorParticipantYes. 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.
February 6, 2015 at 17:26 #16740FloriusParticipantWith 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..
February 6, 2015 at 17:58 #16746VaranaParticipantA 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
},February 7, 2015 at 09:19 #16757Norfolk_ChrisParticipantThere 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/
February 7, 2015 at 11:40 #16758n00bParticipantThe 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.
February 7, 2015 at 15:50 #16763FloriusParticipantOkay, 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! 🙂 )
February 8, 2015 at 05:55 #16774Traian TranteParticipantYes, 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.”)
},
-
AuthorPosts
- The forum ‘Modding’ is closed to new topics and replies.