Transport Fever

Transport Fever

View Stats:
Gazac 20 Nov, 2016 @ 9:56pm
How I changed Train Fever mods to Transport Fever mods
How I changed Train Fever mods to Transport Fever mods

in the Train Fever mod you want to use make a new
file in notepad & call it mod.lua
now copy this into it
dont -----------------copy me

function data()
return {
info = {
minorVersion = 0,
severityAdd = "NONE",
severityRemove = "NONE",
name = _(""),
description = _(""),
tags = {"building",},
authors = {
{
name = "",
role = "CREATOR",
},
},
visible = true
},
options = {
},

runFn = function (settings)

end
}
end

dont -----------------copy me

keep the new mod.lua open in notepad & open the
info.lua from the org Train Fever mod in a new notepad

now the only changes to make to the new mod.lua fiel are

minorVersion = 1.15, > copy if diffent
severityAdd = "NONE", > copy if diffent
severityRemove = "WARNING", > copy if diffent
name = _("Gazac Rail Blocker"), > enter name of mod
description = _(""), > enter description of mod
name = "Gazac", > add author name
tags = {"building",}, > copy the tag if diffent


& that it so far I have done 10 mods & they all work in Transport Fever

Note if you do Trains & bus, they do not age
< >
Showing 1-11 of 11 comments
Gazac 20 Nov, 2016 @ 10:07pm 
Forgot, the changed mods go in to

C:\Games\Steam\steamapps\common\Transport Fever\mods
killakanz 21 Nov, 2016 @ 1:42am 
Originally posted by Gazac:
Note if you do Trains & bus, they do not age

To expand on that note, mods for Train Fever were not built with Transport Fever's new features in mind, so none of them will have transparent windows, interiors or re-colourable surfaces. Nor will they be affected by dirt and rust. Also most of them are still priced for Train Fever's economy balance and are considerably underpriced in Transport Fever's terms...
Gwinda 21 Nov, 2016 @ 2:26am 
...Also be sure to save you new mod.lua with UTF8 encoding!!!
Robbedem 21 Nov, 2016 @ 2:51am 
Since this is about modding, I moved it to the modding forum.
Gwinda 21 Nov, 2016 @ 3:01am 
Originally posted by Robbedem:
Since this is about modding, I moved it to the modding forum.
Good call Rob and I can see that you finally got the moderator stuff to work, welcome ;)
Last edited by Gwinda; 21 Nov, 2016 @ 3:03am
Aries 21 Nov, 2016 @ 3:05am 
Wait.. that's it?? So I can take any of the great mods I got in tf and make em work in tpf?? granted, won't have the aging or the driver or some other new things.. but it'll work?? I need the duke Kenworth trucks in my life asap!!
Gwinda 21 Nov, 2016 @ 3:08am 
Originally posted by Aries:
Wait.. that's it?? So I can take any of the great mods I got in tf and make em work in tpf?? granted, won't have the aging or the driver or some other new things.. but it'll work?? I need the duke Kenworth trucks in my life asap!!

Truth with some modifications... Most of the vehicle mods will work this way. Scripted mods might need some extensive rework... (I have a few mods that I haven't been able to convert yet due to changes in the modding API).
DerKommerSpyd 13 Mar, 2017 @ 8:44am 
Do you know whether this would work for the community made "Nordic DLC" too? R-E-A-L-L-Y need that in my life.

I have no clue if it's a scripted mod or not.
Rafn 4 Apr, 2017 @ 9:33pm 
I tried a few months ago, and the vehicles from the nordic DLC seemed to work in Transport Fever.

Put the unzipped DLC in your mods folder and then remove any sub folders and files not directly related to vehicles, except for the "extras' folders.

For me some of the trains had flickering textures and you'll have to edit the mdl files to adjust running costs - also, the models are obviously no better than they were in Train Fever so the graphics will not be as nice as native transport fever vehicles.

There might be a better way to do it than this and I haven't tested much beyond making sure a few of the trains loaded in my game, so your results may differ.
DerKommerSpyd 5 Apr, 2017 @ 3:31am 
Originally posted by Rafn:
I tried a few months ago, and the vehicles from the nordic DLC seemed to work in Transport Fever.

Put the unzipped DLC in your mods folder and then remove any sub folders and files not directly related to vehicles, except for the "extras' folders.

For me some of the trains had flickering textures and you'll have to edit the mdl files to adjust running costs - also, the models are obviously no better than they were in Train Fever so the graphics will not be as nice as native transport fever vehicles.

There might be a better way to do it than this and I haven't tested much beyond making sure a few of the trains loaded in my game, so your results may differ.

I thought it might be selfexplanatory, that the models wouldn't upgrade themselves graphically.

But I tried putting it in both the mods folder and the dlc folder, and for some reason neither worked out for me.

As to deleting all unrelated files and folders, I believe I tried that. Thought I must admit, I'm not that pro when it comes to modding this game.
Thus, I ask, do you have a list of files and folders directly related/unrelated to the mdls?
Rafn 5 Apr, 2017 @ 7:20am 
I checked my install and think these are the steps I went through

1 Keep the "nordic/res" folder, delete any loose files, and keep the "audio", "config", "models", "textures" folders
2 In the "audio" folder you want to keep the "effects/vehicle" folder
3 In the "config" folder you want to delete any loose files (especially the config files), and keep the "multiple_unit", "sound_set" folders
4 In the "models" folder you want to keep the "group", "material", "mesh", "model" folders, and under those, you should delete any subfolder not called vehicle or extra
5 In the "textures" folder you want to keep the "models" folder, and delete all subfolders not called vehicle or extra

At that point, test to see if you crash when you start a new game - if so there should be a LUA error message which will tell you what file caused the crash - if it is not related to a vehicle, you can probably just delete the file. The most important thing to getting the DLC working is to remove the scenario files so the game loads the DLC as just a collection of vehicles

To adjust the costs of vehicles, go to the models/model/vehicle folder and find the .mdl file you want to change. Replacing the cost and maintenance cost with -1 should set the vehicle to have costs based on performance, just like native transport fever vehicles

If I did anything else than that it is too long ago for me to remember - but if I figured it out, it can't have been too hard :)
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: 20 Nov, 2016 @ 9:56pm
Posts: 11