Transport Fever 2

Transport Fever 2

Create your own game world!
Give your game a personal touch and change it to your liking. Create, share and install mods. Customize the game with new landscapes, vehicles, stations, assets and more.
Converting a code for a station
Hello,

I was wondering if it's possible to change the code for a station. I like to build passenger-stations, but I would also like to load-and unload mail from that same passenger station. So I was wondering if it's possible to change the code for a platform from a modular station wich looks like a passenger-platform from the outside, but change the code somehow, to make it appear as a cargo platform.

If that's possible you could make a nice passenger station wich uses the same looking platforms, but can be used for passengers and goods. Mixed stations always look so ugly if you have different type of platforms wich are not even the same height.

Thanks if anybody knows something about coding !
< >
Showing 1-7 of 7 comments
lollus 15 19 Mar, 2024 @ 4:17pm 
You can change the looks of things, but stations terminals can be either for passengers or for freight and never both. You could place a cargo terminal before a passenger terminal, so mixed trains would use both, but that is non ideal coz trains would have to stop twice.
Driver Kaldie 2 20 Mar, 2024 @ 3:45am 
Originally posted by lollus:
You can change the looks of things, but stations terminals can be either for passengers or for freight and never both. You could place a cargo terminal before a passenger terminal, so mixed trains would use both, but that is non ideal coz trains would have to stop twice.

Thanksss ! Do you know if it's possible to change a platform in an asset somehow ? I have this entire issue with the Dutch Modular Station. If I can change just the platform to a standalone asset, I could build it over the cargo-platform and work around it with other cargo (asset) buildings...In that way at least it looks like it's the same station.
lollus 15 20 Mar, 2024 @ 4:58am 
I am sure you can do that, but I would go a different route: make a mod that adds a module for a cargo platform bit, which looks like a passenger platform bit but has cargo waiting areas and properties.
To do that, copy an existing module (they are under res/construction) and change its model(s) and properties. Be careful with the waiting areas coz they are built differently between passengers and cargo; normally, they are defined in models as well.
I am sorry about the confusion: modules != models != mods
Last edited by lollus; 20 Mar, 2024 @ 4:59am
Driver Kaldie 2 20 Mar, 2024 @ 5:32am 
Ok, thanks for the help...but that's were my knowledge stops. I don't know anything about coding or meshes and stuff like that. I know how to change a cargo that must be produced in some sort of industry but this really goes beyond me. I really need a detailed tutorial for that and I don't know were to find it.

The thing that I want is probably very simple to do. The Dutch Platform from the "NL Modular Station Mod". That's the one I would like to have as an asset or as a cargo platform. If you could point me in the right direction or do it for me, then please do so...I would even make a donation or something if this will work.

But there is no way for me to do this myself.
Last edited by Driver Kaldie; 20 Mar, 2024 @ 5:38am
lollus 15 20 Mar, 2024 @ 7:06pm 
Modules have an updateFn() function that returns a nested object, which contains various things and, in particular, models (mdl files). If you mix and match, copying bits from the cargo and bits from the passenger platform, you should get lucky with some trial and error. Also check the module metadata (if any) and the module type.
Driver Kaldie 2 21 Mar, 2024 @ 1:30am 
But I don't know wich of the files in the "NL Modular Station Mod" is the platform, and I don't know what original mod I should use. Also...I can't open model files since Photoshop is needed for that.

Perhaps I need one of the game's standard cargo platforms to change that one ?
lollus 15 21 Mar, 2024 @ 3:40am 
I would start with the game files, it's probably easier.
< >
Showing 1-7 of 7 comments
Per page: 1530 50