Transport Fever 2

Transport Fever 2

Print Your Own Decals
33 条留言
Mad Hatter  [作者] 2022 年 4 月 18 日 下午 1:18 
Try using this one
Signs and Letters
- basically the same but prints vertically
[23]ThunderSky 2022 年 4 月 18 日 上午 6:10 
How do you rotate the text to place it on a building instead of the road?
Mad Hatter  [作者] 2021 年 4 月 8 日 下午 3:20 
Hi @EljeOett - It might be :) - to be honest I have no idea now. I just wanted to show that you could set the text to 'nearly' anything. However the font is very basic without any extended characters.
Elje0ett 2021 年 4 月 7 日 上午 7:03 
In the first picure, is one of the texts swedish? I ma just asking since if it is it's not very gramaticly correct
Mad Hatter  [作者] 2021 年 3 月 22 日 下午 3:16 
No from a mods perspective its all lua code.
briansyston 2021 年 3 月 21 日 下午 10:51 
As a matter of interest is the coding using any .Net Framework ?
Mad Hatter  [作者] 2021 年 3 月 21 日 下午 7:52 
because that's a tricky thing to do it would need a text box to accept your typing. Whilst not impossible its more work than I wanted to do. I have done it for another mod for street signs but it uses the game mechanic to print the text on the sign using the in game print features and the signs can be really difficult to read. The way this works takes a bit of thought if you want to alter the string.lua file but it isn't overly complex to code and the end results are quite pleasing.
briansyston 2021 年 3 月 20 日 上午 10:08 
Why cant you type text in from the game play?
Adie Gibbs 2020 年 7 月 18 日 上午 7:48 
Would it be possible for directional sign to place on roads? i.e arrrows, give way....
Mad Hatter  [作者] 2020 年 7 月 10 日 上午 11:24 
Now also with Colour choices White / Yellow

I hope everybody followed instructions and backed up their string.lua file if they changed it
funker 2020 年 7 月 10 日 上午 8:32 
Awesome! Thanks!
Mad Hatter  [作者] 2020 年 7 月 10 日 上午 8:15 
Okay so a white version is on its way. Hopefully anyone that has edited strings.lua file has made a copy.
funker 2020 年 7 月 10 日 上午 3:42 
White would be great... and BTW the J is mirrored.
Froggy_NL 2020 年 7 月 10 日 上午 1:39 
@Mad Hatter

For USA is very nice. Most European countries use white :). Is it possible to create also a white version?
Enzojz 2020 年 7 月 9 日 下午 12:19 
@Mad Hatter But you can have this label when it's a street construction
Mad Hatter  [作者] 2020 年 7 月 9 日 下午 12:18 
@Enzojz hmmm its a shame.It had a lot of potential. Oh well texture files is it is then.
Enzojz 2020 年 7 月 9 日 下午 12:15 
@Mad Hatter Tried it, it doesn't work for asset indeed.
Enzojz 2020 年 7 月 9 日 上午 11:14 
@Mad Hatter I'll give a try
Mad Hatter  [作者] 2020 年 7 月 9 日 上午 9:08 
Hi @ENzojz - so this is interesting. I've had a play with labellists - I have a station nameboard model that works perfectly in the station and tried a few tests. TYPE set to station_name displays correctly the station name. Type set to NAME also displays the station name not the model name or mesh name. Set it to CUSTOM it displays nothing or sometimes a platform number. Use the same model as an asset the labellist property just doesn't work.
funker 2020 年 7 月 9 日 上午 7:38 
Thanks. Time for some F-words. :steammocking:
Quince99 2020 年 7 月 9 日 上午 5:29 
This looks brilliant - can't wait to have a go with it later today - got to work at moment. :(

Not the same thing I know, but I think TpF1 had free-standing signs that could take custom text so for my own reference I could put signs to remind myself which tracks went were, e.g. 'Steel Mill Branchline', 'Up Main' etc.
Enzojz 2020 年 7 月 8 日 下午 2:53 
@Mad Hatter And index in labelText should starts with 0 not 1.
Enzojz 2020 年 7 月 8 日 下午 2:52 
@Mad Hatter If you made the asset as a station does it work or not? or a street construction..far as I know the behavoir of street construction acts same like a station, so you can figure out if your code is all right.
Mad Hatter  [作者] 2020 年 7 月 8 日 下午 2:14 
@rb58nl - nice idea but no easy way to do it as in get the sign to change based on what train arrives. Howevere there's a lot in the new wiki I haven't read yet so you never know. ;)
rb58nl 2020 年 7 月 8 日 下午 2:07 
You should do something like that for platforms on train stations..Signs that say where the train is going to
Mad Hatter  [作者] 2020 年 7 月 8 日 下午 1:52 
@Enzojz yep I read that and its exactly what I tried to do - didn't consider name mainly because my plan was to have a single model and just pass it the string
Enzojz 2020 年 7 月 8 日 下午 1:39 
@Mad Hatter You could just take "NAME" instead of "CUSTOM" then it will take the asset name to dispay, if you use CUSTOM you need to specify the text in the result (see last chapiter @ https://www.transportfever2.com/wiki/doku.php?id=modding:constructionbasics&s []=label)
X-Ray 3 2020 年 7 月 8 日 下午 1:34 
Yes I had a closer how the mod is built and found the yellow letters from which the decals are built and then I understood how you made it.
I already used them in my world ... and they look awesome. I hope the moment will come ... but even if not ... that is a mod that we really needed. Thanks again.
Mad Hatter  [作者] 2020 年 7 月 8 日 下午 1:29 
hi stechus kaktus - No you can't the text are texture files. However - I can probably do a white version. when i get a moment.
Mad Hatter  [作者] 2020 年 7 月 8 日 下午 1:25 
Hi Enzojz - the main reason - I tried to use a custom label and it just wouldn't play ball - the model was fine - model editor showed the label dummy - but try as I could to pass the labellist ref from the con file it just ignored it. So this was the backup plan
Enzojz 2020 年 7 月 8 日 上午 11:32 
Interesting, I have looked into your implementation and found textures are used, why not using built-in textlables? Using pure textures will bring "no-kerning" issue
Dx 2020 年 7 月 8 日 上午 10:58 
This is excellent! Many many thanks!
X-Ray 3 2020 年 7 月 8 日 上午 10:57 
Epic Stuff once again :neonoh:
You are starting to attack Hugedragon as my favorite Modcreator.
Can I colorchange it by editing the strings file? I am building in a german scenario and street markings here are generally white. We only use yellow markings on constructions sites.