I'd like to use ownerless text labels everywhere, but I currently have a limitation with them in the tutorial: they can't be built on other players' builds/ways.
Is it possible to make them unrestricted so they can be placed everywhere? This would be a great help for the tutorial :)
photo_2025-05-25_10-05-02.jpg
photo_2025-05-25_10-05-07.jpg
This would forbid to build a station there. Thus, it was disallowed.
Quote from: prissi on May 25, 2025, 11:09:48 PMThis would forbid to build a station there. Thus, it was disallowed.
In fact, these have the particularity that they are removed when a station/stop is placed on them.
I made this small modification: 0001-Places-unowned-label-texts-on-owned-objects.patch
This works very well with the tutorial. I changed all the text labels in chapters 2 and 3 for testing, and everything works fine.
2025-05-26_00-05-1748232590.jpg
2025-05-26_00-05-1748232437.jpg
Quote from: Yona-TYT on May 26, 2025, 04:25:21 AMI made this small modification: 0001-Places-unowned-label-texts-on-owned-objects.patch (https://forum.simutrans.com/index.php?action=dlattach;attach=34532)
@Prissi, Is there any problem with this? In my tests this change doesn't seem to break anything.
Since player==NULL can only built by scripts, it looks ok. Incorporated.
Quote from: prissi on June 22, 2025, 08:48:09 AMSince player==NULL can only built by scripts, it looks ok. Incorporated.
Thank you very much Prissi, that encourages me a lot, now I can make all the text label changes. 8)