Beiträge von TimothyS

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


    Yoshi Thanks! That absolutely works. That means one less thing on my to do list before I can release this mod.


    Sir Ludicrous This is an original mod (I've been working on it in my spare time since April).


    mandigritsch correct :). I love the Dutch modular station mod he did.


    Treinspotterlars That looks like an original model from Oppiescc himself. I see we have more ICNG fans :). And yes, of course I will release my ICNG mod. Hopefully by the weekend! I am very busy this week though - I have a SideFX industry event (Houdini 20 launch) on Wednesday and all of Thursday to attend, and on the weekend I have tickets for Comic Con here in London, so we'll see how far I get. Thanks to Yoshi my train driver issue is now resolved, which leaves me with sorting out camera positions in the train (easy, I just need to do it), and then finally the sound set. So not much left!

    I have one question I can't seem to figure out: when I couple multiple trains together, each set gets a train driver animation. I would like it to be so that only the leading train set gets a train driver, and any coupled sets do not. Does anyone here know how that's achieved? Or if there's somewhere that explains it?

    I decided to make a few tweaks to the front end as after studying some more photos I felt like the bottom half of the nose was too short. And it was missing that distinctive inward curve on the bottom lip. The three images show the model as it was, as it is now, and a reference photo. It'll never be exactly right I guess, but it feels a lot closer now.


    I've also gone ahead and correct the height of the train and the coupler block to fit Dutch standards. I noticed the doors were quite low as compared to Oppies Dutch platform set, and so I wanted to correct for that. This means I have to make slight modifications to the bogies and pantographs as well to make it all fit between the tracks and the overhead wires in-game. The floor height is now 80cm above track, and the coupler sits centered at 1m above track. This makes it compatible with real world Dutch standards, and thus with other mods assuming they use the same standards.


    Another update :)


    I've completed the texture map optimisation, and converted everything to .dds format. The performance is a million times better. The trains no longer choke up my VRAM. Below is a video I recorded on my laptop save, where you can see there isn't much of a frame rate drop as compared to the previous video of the ICNG-B passing by for example. Do keep in mind that save game is in late game, with over 130 trains, 1000 road vehicles and trams and around a 100k population between my cities all being computed, so some choppiness is expected. It's not my ICNG mod causing it anymore ;)


    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

    Oh cool, so you guys take donations to keep the whole thing up? I'd love to support that, this community has been very helpful in getting my mod working. I'd love to put my money where my train is. Where do I donate?


    As for the textures, it's definitely not optimised at this moment. I was running a performance monitor when testing the ICNG-B set yesterday and my VRAM shot up from 4GB to 8GB (maxed out) and then the frame rate got really choppy. On other trains in the game it didn't seem to do that. But it makes sense as my texture use is lavish right now. But of course I was expecting to have to optimise that hence my testing and making sure I'm not killing people's GPUs. Before I got into special FX for film, I studied Game Art so I have mental markers of what's important, but the standards have changed a lot from ten years ago and of course technology has moved on, so I simply have lots to brush up on.

    Here's what it looks like right now:


    For each car, the roof elements take up one texture all together. These are shared across all cars though, so only one texture for all of those, but 4k right now. The pantographs and bogies share a texture, currently 4k currently as well, and also shared across the whole train, so one texture map for those. Then each car as an interior texture which is unique per car, currently a 4k map. All the normal, cblend and gloss maps are 4k too. The doors have their own textures but they're on a 512x512 map. Some doors appear multiple times in the train and will share a texture map.

    I will go through them all and optimise it until I start seeing a marked difference in the quality of my textures. My wagons can fit two on one square. I can't seem to get half square maps working, they look scrambled, but I can combine two cars on a single square so I'll do that instead.


    When I apply 2k textures to my cars I don't really see a big difference in the sharpness of the textures. With a 1k map I start seeing some jagged edges where lines curve for example, and the numbers on the textures become noticably blurry, but rather than a 4k map for each car, I can do two cars on a 2k map so that should save a fair amount. I can probably shrink the interior maps way further as they're just colours, so I'll look into that as well. So yeah, lots to optimise before I dive into the sound set.


    I will have to adjust the UV maps for all cars (just shoving them around a little), re-export them and run them through the model editor to pick up the changes. Before I run any additonal liveries I will optimise the current train variants and make it all .dds maps as well, so I can test how that goes performance wise. I'm going to try and get that all done today.


    I want to dive into the sound sets, as I'm really curious about how that works. I saw a tutorial from Marc which I have waiting for me to dive into.


    This has become such a passion project, I love it. But so much to learn, and so much to do. Next time I make a "first mod" I'll start with a bus :D .

    Many thanks Dunkel, I can see why your title says Unterstützer. That's all very helpful info. For example, I didn't consider the non-square option. My train cars can probably be fit into a half square, so I'll try that.


    My in-game testing yesterday saw my VRAM choking up whenever that train passed by, and now that I've done some research on VRAM vs. texture sizes I understand why. Apparently a 1k texture takes about 3mb of VRAM while a 4k will take 72mb. Multiply that for every additional map such as Nornal, Cblend and Gloss, and off to the moon goes VRAM. I also didn't realise polygon count is apparently not *that* big of a deal, for VRAM at least.


    I want my train to beautiful but I also don't want them to choke up performance so they can be enjoyed in large numbers. So thank you for your input and suggestions, it helps me get there :).

    I've completed the 8-car ICNG 3300 (ICNG-B) set. Here's a video of it (bit choppy unfortunately):

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.


    Dunkel what's your take on textures and their sizes? They're still TGA which I understand is heavier on VRAM (I will convert everything to .dds before release, it's just easier to stick with TGA while I'm working things up). Each car is on a 4k texture map. I've seen this in lots of other mods. I did try 2k but it gives me rather blurry lines. I'll read up a bit more to see what I can learn about optimising on that side of things. Would be good to hear from someone with more experience what the norms are regarding this sort of thing :)


    EDIT: I've actually just tested a 1K texture map on one of the control cars (the most complex texture on the train) and it looks fine actually. I don't know why I remember even 2K was blurry...
    That being said, some insight/advice on what the norms are for texture maps here would be very much appreciated. Below is an image of which the control car has a 1k texture map (instead of 4k).

    Just a little progress update from me:


    I've managed to get the labels working. I had selected the wrong type previously, but now they show up nicely where they need to be on the train (side and front displays). It's set to display the line name.


    I've also got the flashing lights working when the doors close, and built in a delay for the doors to give the lights some time to be seen. It involves animating the position of the light mesh in and out of the models. Interesting little technique. Thanks for the suggestion.


    Sound wise I have a basic sound set going. I'm trying to reverse engineer an existing sound set to adapt it to my needs. From online videos of the ICNG I have been able to extract sounds for the horn, doors opening, doors closing and a sound for when the train pulls away. Unfortunately using this technique the horn sounds by default every time the train leaves a station. Very annoying. So I'll have to dig a little deeper into the various ways of getting sounds working, without it forcing the horn sound on station exit.


    The bogies are now fixed and align properly. I had misunderstood the documentation (it's a bit vague and abstract) but managed to reverse engineer it from looking at other mods again. This is now done.


    Some texture and shading tweaks are now complete. I'm happy with the way the train looks currently. I've created a separate texture for the head car of the 8-car set as opposed to the 5-car set. The 8 car sets have consist numbers in the 3200 range, while the 5-car sets are in the 3100 range. This is now accurately reflected in the texture of either set.

    Additionally, I've completed the rust and dirt maps for both train sets, so when they age or are poorly maintained, that will start showing in-game.


    Camera positions inside the train are now also present, so one can switch between various views when in camera mode. I just have to tweak the position a bit as the camera now initially ends up inside the mesh. Can be adjusted, but would be nice if it's correct from the start.


    The next thing on my list then, aside from the sound set which I think might take some time figuring out, is to create the NS Flow livery.


    More soon :)

    Dunkel that tip about the animation was almost perfect - it does keep the light on when I leave the scale at 1 as standard. If I leave the scale as 0 as standard, it never shows up. Instead, I'm positioning it inside the mesh where it can't be seen, and move it to where it needs to be intermittently during the closing animation. Works like a charm!


    I've made a short video showing the door closing light in action:

    Externer Inhalt www.youtube.com
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

    Thanks Dunkel, that's very helpful. I had a read through the passenger amount thread just now and I guess I'll go 50/50 so the in-game train has half the capacity of the real one. I guess many people use mods that double that. In my game for example the 8-car set, with a doubling mod, has over 800 seats which is a bit excessive.


    The animation suggestion might actually be exactly right. I was trying to reverse engineer the door lights on a Siemens C2 mod and noticed a lot of door variants, and I did think it was some "magic" with swapping out meshes. But I didn't consider scaling them. Great tip! I'll give that a try later.


    As for the label, I'll double check. I know a mod where it works so I'll load that in and see if I can figure out what they've done versus what I've done. I'll be back with more details if needed. Thanks :)

    I've updated the front car with some additional detail and finished the normal maps for the entire consist. I've identified an issue with the UV maps on the carriages (front car seems fine), so I will have to correct that.


    At the moment my list of fixes is getting short. There are some I could use some input on though, so if you know how please do let me know:

    -fix UVs (should be quick).

    -add soundset (haven't looked into this yet so can't say if I'll have trouble with it yet).

    -create flashing red light above door on closing (have seen flashing doorlights on other mods, but can't seem to figure this one out. Does anyone here have any ideas?).

    -the labels (displays on the train) work in the model editor but not in-game (not sure why. Does anyone know?).

    -need to fix the fake bogies (I reckon I'll figure this one out, just have to get to it).

    -add dirt/aging maps (should be fine here).

    -correct the passenger numbers that the trainset can carry (what's the mod world consensus on this? Currently I have it so the carriages are set for 4x the real amount, so the in-game the numbers are correct. But in one of my games I use a doubling mod which makes it a bit excessive. Do we have a "modders protocol" of how many passengers we go with as a rule?).

    -convert textures to .dds (I have figured out how to do this and it works. I will do this when I'm done with all the textures).

    -remove the train driver character from a coupled set (what am I missing here?).

    -create the Flow livery (that's just a diffuse map change, which shouldn't be too time intensive. I want to include this on release).


    Here are some images of the model editor with the newly added details:


    RaptorArk Thanks, did not know that.


    Another thing I'm trying to figure out is how to get .dds files working. I can create the file format and pick various compression formats, such as the DXT1 format which should be supported by TF2. Whenever I load in a .dds file however, it does not respect the VU map. Using .tga does work however. Is there any reason my .dds files don't respect the UV map of the model?


    EDIT: nevemind, I found out. So apparently .dds images need to be flipped vertically. Not something one would assume haha. All good now!

    Dunkel alright, here's a question I can't seem to find an answer to. My train consists of 5 cars. The real ICNG 5 car set has 256 seats, so for ease I have given each car a PASSENGERS type cargo, and set CAPACITY to 52 for each car. To me 5 * 52 = 260. The in-game train of 5 cars says it has a capacity of 65 passengers, instead of 260. All my .mdl files list 52. Any idea what's going on there?

    Thanks. I've managed to get the UI icons working now - turns out the group icon needs to have an alpha channel which I lost along the way. It took me a minute to figure it out. It was giving me a black cutout around the train, but that's working now.

    If I can't figure something out I'll definitely ask. I just want to dig around myself first as it's a good excuse to learn the ropes :)

    First on my list is creating the additional cars for the 8-car set of the 3200 series (the 5-car set being the 3100 series). That means additional models, or adapting my existing models to fit the alternate layout. I then want to create a reskin for the 3300 series (3200 series adapated for Belgium in Flow Livery). I'm also strongly considering doing a blank livery, like the concept art from Alstom, with a grey body colour and a black line across the windows, without logos. So people who like the train but don't want to have the NS brand in their game, can also enjoy it. Beyond that I'm open to ideas.

    If you know how, you could of course do the black reskin yourself as well. Reskins require no permission, so long as you don't alter the underlying models. And once this one is live, I would love for other people to have fun with it and make all the reskins they want :)


    I've just managed to get the full 5-car 3100 series set working in-game. Now I need to iron out the details like fixing the bogies, getting the UI icons working, creating and adding a sound set, removing the train driver in a second coupled set, etc. I might also choose to touch up the paintjob a bit. For example, the doors are not all exactly the same, so I will probably go and find some ref and make it accurate (some doors have a bike symbol, some have a wheelchair, some nothing). Not huge, but altogether could take me another week. I want to get this one just right before I move on to additions. Some of these items are still question marks for me, so once I have it all figured out I will be quicker in creating additional versions.


    I figured I'd dabble in creating a mod for the ICNG and have been working on it since about April. I've just this weekend managed to get it working in-game. I've never modded for TPF2 (or TPF1) before so it's a bit of a slow process getting a grasp on the model editor and the scripting, but I reckon I'm close. I work in film post production so modelling and texturing I can do

    I'm currently still struggling a little with fake bogies and UI icons, and I have one carriage (of the 5 car set) left to run through the model editor (it is ready modelled and textured), but I hope to be able to release it very soon.

    I also intend to create an accurate 8 car set, but that has a different seat layout and accompanying paintjobs, so I'm thinking of releasing the 5 car set first and then work up the 8 car set. Flow livery is also planned, but it's all very time intensive and with a full time job it's been quite a journey hah!

    I've attached a few images of today's in-game tests. Once ready, I want to release it on the Steam Workshop.

    If anybody knows exactly how to properly do fake bogies and get UI icons working then any help would be appreciated. Otherwise I reckon I'll figure it out. I've come this far 🤷🏼‍♂️

    Thanks 🙂