IRC logs for #openttd on OFTC at 2026-11-05
            
00:08:07 <peter1138> Hmm, quite a piece.
00:19:54 *** bluelight0 has joined #openttd
00:19:54 <bluelight0> Hi everyone! Where can I show off my new AI that I made? I'm new to programming in this language and would like to share my progress with the community.
00:20:38 <peter1138> tt-forums.net has an established AI section.
00:21:20 <peter1138> If you're into ephemeral stuff that gets forgotten after a day, there's #add-on-development in Discord.
00:22:35 <bluelight0> Ah ok! I created an AI that automatically fixes the paths you delete, meaning you can stop trying to destroy the company by breaking its roads; it will discover them and fix them.
00:44:41 *** ChanServ sets mode: +v orudge
00:44:41 *** ChanServ sets mode: +v DorpsGek
00:44:41 *** ChanServ sets mode: +v blathijs
02:19:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #16152: Fix #14998: Limit GUI scale based on window size. https://github.com/OpenTTD/OpenTTD/pull/16152
02:21:23 <peter1138> Presumably it does a lot more than that?
02:21:55 <peter1138> That sounds like a nice feature but possibly not the headline.
03:11:27 <kaibaneddy> > Hmm, the train railtype list stuff never got done for roadvehicles. Is it wanted?
03:11:31 <kaibaneddy> possibly...
03:12:27 <kaibaneddy> my rvs have an option to disallow the heavier trucks from town roads, which I can imagine the list property would make cleaner
03:12:56 <kaibaneddy> the currently implementation is rather hacky, and spans both the roadtype and vehicle grfs
03:52:25 *** Twofish has joined #openttd
04:10:34 *** Twofish has quit IRC (Remote host closed the connection)
04:10:55 *** Twofish has joined #openttd
04:28:47 *** Philemon has joined #openttd
04:32:00 *** Phileman has quit IRC (Ping timeout: 480 seconds)
05:01:32 *** tokai has joined #openttd
05:01:32 *** ChanServ sets mode: +v tokai
05:08:45 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
06:34:19 *** cu-kai has quit IRC (Quit: Leaving for a bit.)
06:35:31 *** cu-kai has joined #openttd
06:35:41 <Izzybee> Can I make the train honk happen less often?
07:06:19 <andythenorth> Moin
07:10:57 <kaibaneddy> honk
08:09:04 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on pull request #16125: Add: [Android] Delete, Control and Shift buttons to main toolbar https://github.com/OpenTTD/OpenTTD/pull/16125#issuecomment-6653021360
08:13:36 *** MinchinWeb[m] has quit IRC (Remote host closed the connection)
08:13:49 *** MinchinWeb[m] has joined #openttd
08:26:59 <peter1138> Hmm, is it better if the sliders in the game options window are only half width, like the dropdowns?
08:31:08 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1567818536745959484/image.png?ex=6aed904b&is=6aec3ecb&hm=5177d941882bb359f711453a60f0ea06454c9e1e4bc0ee5af6474365c2864e9b&
08:31:08 <andythenorth> these?
08:31:13 *** SigHunter has quit IRC (Remote host closed the connection)
08:32:05 <andythenorth> potato / potato for usability
08:33:10 <peter1138> Hmm.
08:36:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #16152: Fix #14998: Limit GUI scale based on window size. https://github.com/OpenTTD/OpenTTD/pull/16152#issuecomment-6653502904
08:37:35 *** SigHunter has joined #openttd
08:40:05 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567820790660071465/image.png?ex=6aed9265&is=6aec40e5&hm=bc8495d28db8003f70cb0acd2ab66607be2e158d33d4450284c054b1442c0741&
08:40:05 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567820791050010704/image.png?ex=6aed9265&is=6aec40e5&hm=6453bd0bec02531c99d74b011d5b44f2a8ac81a61ec537151f20aa53b68b58f3&
08:40:32 <peter1138> "We don't care about Greek"?
08:40:57 <peter1138> German can be awkward :)
08:41:56 <peter1138> OpenTTD Sans Condensed?
08:42:17 <peter1138> Just because _zephyris doesn't already have enough work :D
08:46:07 <_zephyris> :p
08:48:11 <_zephyris> I have wondered about reviewing some strings - ones where the ratio of length of other to english is high.
08:48:49 <_zephyris> Might be awkward translations, might be awkward english strings to translate
08:49:03 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567823048315244545/image.png?ex=6aed947f&is=6aec42ff&hm=1236702318dace5fcfc7f5a95540c40f1c53d149a5eb040f7ea093056aa2a3d2&
08:49:03 <peter1138[d]> That seems somewhat extreme :)
08:49:55 <_zephyris> Did you just width halve everything?
08:51:03 <_zephyris> It's a pretty good preview of what a condensed would look like...
08:52:46 <_zephyris> Or is that just Arial condensed bold or something?
08:53:02 <peter1138[d]> It's Bahnschrift Condensed
08:59:17 <peter1138> Right.
08:59:41 <peter1138> String length ratio perhaps, but Greek is just awkward anyway.
09:05:57 <_zephyris> For this particular one, which often comes up, why not split the part in brackets to a separate string? Have the dropdown just say "All settings", and then have a GUI element which shows the description below it?
09:22:11 <_zephyris> Filthy AIs suggest it's already a concise literal translation
09:46:14 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
09:46:19 *** MinchinWeb[m] has joined #openttd
10:04:00 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
10:16:54 *** SigHunter has quit IRC (Remote host closed the connection)
10:35:29 *** SigHunter has joined #openttd
11:02:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #15923: Feature: [NewGRF] Treeeees https://github.com/OpenTTD/OpenTTD/pull/15923
11:06:08 <peter1138> Ah yes, I left the tree placer in a non-working state.
11:07:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15923: Feature: [NewGRF] Treeeees https://github.com/OpenTTD/OpenTTD/pull/15923#issuecomment-6656425461
11:22:17 <peter1138> What if.
11:36:19 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567865142262366258/image.png?ex=6aedbbb3&is=6aec6a33&hm=85b6eb8dd4498b7e78a9e8160f938c16c3a92b9040a57e82a4d421a4da6f238f&
11:36:54 <peter1138> They can be wrapped, but whether that makes sense is another matter. This is manually wrapped using {} in the translation file as a test.
11:38:47 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567865762230575114/image.png?ex=6aedbc47&is=6aec6ac7&hm=b086a3b3a2600f5f184ed97e28db88d13d7a8f666397ed585ccaa58de5c6b6d5&
11:38:47 <peter1138[d]> Or small text... base-line issue though.
11:40:11 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #15923: Feature: [NewGRF] Treeeees https://github.com/OpenTTD/OpenTTD/pull/15923#pullrequestreview-5784298615
11:42:55 <peter1138> (I don't really think small text is viable of course)
11:43:45 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
11:47:03 <mnhebi> just say a 8k monitor is mandatory when playing OpenTTD, issue solved.
11:52:25 <peter1138> Heh, the fallback font layouter does NOT like mixing fonts.
11:52:51 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567869303443824702/image.png?ex=6aedbf93&is=6aec6e13&hm=36d5ca4ea02541e4b17ba5de9e70dd676e7f4ac8c2cb5eb6c9313a8374eef5b3&
11:55:38 <mnhebi> ah, the average RustDesk experience.
11:56:39 *** squirejames has joined #openttd
11:56:39 <squirejames> Drunken OpenTTD Mode
12:00:14 <DorpsGek> [OpenTTD/OpenTTD] EmperorJake commented on issue #16118: [Bug]: Ship income is not shown in the finace report https://github.com/OpenTTD/OpenTTD/issues/16118
12:01:03 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1567871365048963123/image.png?ex=6aedc17f&is=6aec6fff&hm=73f7a9c723efe3df167faaf2a0769697374e15c58acbb5a1991c300fec10eb71&
12:01:31 <peter1138> Fixed the main issue, didn't address the baseline though as that's common across icu/fallback/etc.
12:05:38 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #16153: Codefix: Fallback font layouting ignores fontsize changes https://github.com/OpenTTD/OpenTTD/pull/16153
12:08:21 <mnhebi> what is a "weird" setting?
12:15:07 <peter1138> That was done 12 years ago in the pre-code-review SVN days, so there's no discussion on it.
12:17:34 <peter1138> Probably "things most people don't need to touch"
12:23:18 <DorpsGek> [OpenTTD/OpenTTD] Rito13 opened pull request #16154: Codechange: Move "Ctrl+" from tooltip strings into a new string https://github.com/OpenTTD/OpenTTD/pull/16154
12:26:15 <peter1138[d]> @rito I'm not logged in to GitHub, but instead of parameterizing it, make it a string code.
12:39:58 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/0b4d02ee67732ddf1b400328132a9a42bfcd635d
12:39:59 <DorpsGek> - Update: Translations from eints (by translators)
12:51:00 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
12:51:01 *** WormnestAndroid has joined #openttd
12:51:15 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
12:51:16 <talltyler> New missing strings to translate, who added stuff?
12:51:16 <talltyler> Oh, it was me.
12:51:16 *** WormnestAndroid has joined #openttd
12:51:22 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
12:51:33 *** WormnestAndroid has joined #openttd
12:51:39 <talltyler> (spawn primary industries only setting)
12:54:13 <rito12_13> peter1138[d]: Ok, I will look into it
13:02:30 *** sirarthur09 has joined #openttd
13:02:30 <sirarthur09> Who develops the bot?
13:39:57 <LordAro> "the bot"
13:42:49 <LordAro> https://sshhole.com/ oops
14:03:22 <peter1138[d]> rito12_13: rito12_13 sorry that was meant to be a suggestion, not a command :)
14:20:01 <DorpsGek> [OpenTTD/OpenTTD] zephyris merged pull request #16151: Fix #16120: Update OpenTTD TTF fonts to v0.9.1 https://github.com/OpenTTD/OpenTTD/pull/16151
14:20:04 <DorpsGek> [OpenTTD/OpenTTD] zephyris closed issue #16120: [Bug]: Kerning of commas seems a bit off in OpenTTD Sans at 1x scale https://github.com/OpenTTD/OpenTTD/issues/16120
14:26:36 <rito12_13> peter1138[d]: :)
14:51:05 <mnhebi> https://cdn.discordapp.com/attachments/1008473233844097104/1567914157481660617/image.png?ex=6aede959&is=6aec97d9&hm=74471128521d880432b8d951abca4f116993e2b1c4980177c7406ba03787f71a&
14:51:05 <mnhebi> managed to get an assert while looking at my scenario in scen editor..
14:57:02 <mnhebi> ah, somehow managed to make flat coast tiles, nice.
15:23:36 <LordAro> mnhebi: wait, that's illegal
15:24:50 <mnhebi> so it seems.
15:44:31 <bluelight0> https://cdn.discordapp.com/attachments/1008473233844097104/1567927603124244560/VID_20261105_124258.mp4?ex=6aedf5df&is=6aeca45f&hm=472b68617ff6afa0321aaade414e7757e68e04e6c72968ee1f11f061f29339f9&
15:44:31 <bluelight0> From the first time I played, I thought an AI could do that since vehicles consume money when they're lost.
15:46:18 <andythenorth> nap?
15:46:20 <andythenorth> lunch?
15:51:35 <_zephyris> stroopwafel
15:52:47 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1567929682353987584/p.png?ex=6aedf7ce&is=6aeca64e&hm=474b01a3f0d731ce344d70aeae16f7e27c56c0ee66b6185dfcb59695b8ffac0a&
15:52:47 <_zephyris> Hmm... Why did i draw a stroopwafel cargo icon?
15:53:19 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #16154: Codechange: Move "Ctrl+" from tooltip strings into a new string https://github.com/OpenTTD/OpenTTD/pull/16154#issuecomment-6662531061
16:12:42 <LordAro> _zephyris: because lunch, obviously
16:17:59 <kuhnovic> I see that our beloved stroopwafels made it all the way to the other side of the world
16:34:01 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1567940057745068253/image.png?ex=6aee0178&is=6aecaff8&hm=a1fad903c8c83d12de163f24cc5ac830bbf08f59104d9c1838f8b2a5fa83a2c4&
16:34:01 <_zephyris> Hmm
16:34:39 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1567940220438057152/image.png?ex=6aee019f&is=6aecb01f&hm=9690d0a6dc41b07b439cbf7d131da9cc03ad7800f4c67e93431baa78765758dc&
16:35:49 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #16125: Add: [Android] Delete, Control and Shift buttons to main toolbar https://github.com/OpenTTD/OpenTTD/pull/16125#issuecomment-6663481873
16:41:25 <andythenorth> mac pretzel?
16:43:02 <_zephyris> Hindeed
17:07:18 *** minkaron has joined #openttd
17:07:18 <minkaron> Hey! Would this be the channel to ask questions about the source code? I was looking to expand the amount of terrain tiles by adding in 'clear_map.h' in the ClearGround enum a value of like... `Custom = 6` and then ideally build out the functionality so someone could add new terrain variations.
17:09:22 <talltyler> Yes, this is the place.
17:12:00 <talltyler> I'm not sure exactly what type of terrain variations you mean, but while there's plenty of space on clear tiles, if the new terrain type can coexist with rails or other things, those tile types have a lot less space.
17:12:00 <talltyler> Have a look at the landscape grid docs, if you haven't already (download the file and then open in a browser):
17:12:00 <talltyler> https://github.com/OpenTTD/OpenTTD/blob/master/docs/landscape_grid.html
17:14:44 <talltyler> Space in the tile array is typically the biggest limiting factor for new stuff like this. Unfortunately, it's not usually as easy as just changing a limit. 🙂
17:24:24 <rito12_13> _zephyris: Wow, that's pretty
17:26:18 <minkaron> Okay, sweet! As like, a very loose example, instead of the Temperate climate being completely grass, people could make different ground types (like different grass variations, or sand, concrete, etc.). I've been going through the code and I noticed `m8` currently isn't being used in ground tiles, and was thinking of repurposing it to use as an index to store ids to the custom types.
17:29:49 <LordAro> didn't peter1138[d] do something with this recently? can't recall if it was ever published anywhere
17:30:37 <talltyler> Oh, I have a patch for a tile painter that sounds like what you're describing.
17:30:37 <talltyler> It's extremely WIP, just the preparation and not anything functional yet. I haven't touched it in a while, feel free to take what you like from it, or even adopt it as the basis for your own project.
17:30:37 <talltyler> https://github.com/2TallTyler/OpenTTD/tree/tile-painter
17:32:45 <minkaron> Cool! Thanks! This'll definitely help a lot!
17:35:14 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
17:36:25 *** MinchinWeb[m] has joined #openttd
17:36:44 <talltyler> My patch allows players to paint tiles, it doesn't do anything different for map generation.
17:36:44 <talltyler> One idea I had was to decouple full-tile rail ballast (in JP+ tracks and others) from the track graphics, allowing the NewGRF author to set the default tile paint but allow the player to change said paint in-game, for example concrete in an industrial area. Right now this is done with railtype permutations, which is a UI nightmare. 🙂
17:38:56 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on pull request #16154: Codechange: Move "Ctrl+" from tooltip strings into a new string https://github.com/OpenTTD/OpenTTD/pull/16154#issuecomment-6664900812
17:41:10 <andythenorth> I had a worser idea
17:41:28 <andythenorth> which was painting composed sprite stacks, and letting the player create those in game somehow 😛
17:42:09 <talltyler> We should give the player an in-game MS Paint tool and let them design their own tiles, pixel-by-pixel 😛
17:42:29 <andythenorth> I have played voxel games that do that
17:42:34 <andythenorth> with vehicles etc
17:42:45 <minkaron> Oooh, I see, and man, in-game pixel editor lmao
17:42:45 <minkaron> Reminds me of what shipped with SimCity 2000
17:42:53 *** ufo-piloot has quit IRC (Quit: you click on fancy icons. i execute code !)
17:43:09 <tabytac> We should just show a blank screen and make the user just image the cool train network they build in their head 🤣
17:43:27 <LordAro> ln -s paint.exe openttd.exe
17:43:53 <talltyler> tabytac: Back in my day we used our IMAGINATIONS
17:44:14 <masteroktagon> https://klipy.com/gifs/spongebob-squarepants-imagination-1
17:44:18 <minkaron> I haven't gotten to poking around the rail code yet, but if I'm following correctly, if a rail is placed on say, some desert, you need to have a sprite for each orientation of rail on desert?
17:46:50 *** ufo-piloot has joined #openttd
17:48:23 *** ufo-piloot has quit IRC ()
17:48:26 <talltyler> If you enable NewGRF developer tools by opening the console (~ tilde hotkey) and entering the command `set newgrf_developer_tools 1`, you can use the ? button in the main toolbar to access the sprite aligner. This is a really useful tool to see what the game is drawing. You can Pick Sprite on a tile and see which sprites are being drawn, and how many.
17:48:58 <talltyler> I'm not 100% about how tracks are drawn but I think it might differ between vanilla tracks and NewGRF tracks.
17:49:36 *** ufo-piloot has joined #openttd
17:52:48 <minkaron> Aaah okay! I'll definitely look into that. In my ideal world, someone could just make a bunch of ground/slope types and post it online where people can grab it and add to their games, and without it technically being an object people have to place down.
17:52:48 <minkaron> And that painter is gonna definitely help show me how commands are made, haha
17:58:57 <andythenorth> default tracks have ground sprite compose in iirc
18:01:53 <talltyler> Well, the painter commands are untested as I didn’t finish the UI, so take that with a grain of salt. 🙂
18:02:39 <talltyler> It’s also designed for hardcoded textures only rather than NewGRF textures, as we definitely don’t have space in the current tile array for that. But I made a list somewhere of common textures that would probably be enough for most people.
18:25:08 <DorpsGek> [OpenTTD/team] yossev opened issue #731: [ar_EG] Translator access request https://github.com/OpenTTD/team/issues/731
19:36:33 *** Wolf01 has joined #openttd
19:43:07 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #16155: Fix: make signal conversion tooltip consistent https://github.com/OpenTTD/OpenTTD/pull/16155
19:53:25 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #16156: Fix: mention cargo overlay in depot tooltips https://github.com/OpenTTD/OpenTTD/pull/16156
20:07:59 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
20:08:16 *** MinchinWeb[m] has joined #openttd
20:20:39 *** WormnestAndroid has quit IRC (Remote host closed the connection)
20:20:42 *** WormnestAndroid has joined #openttd
22:15:32 <DorpsGek> [OpenTTD/team] 2TallTyler commented on issue #731: [ar_EG] Translator access request https://github.com/OpenTTD/team/issues/731
22:16:35 <DorpsGek> [OpenTTD/OpenTTD] Rito13 approved pull request #16156: Fix: mention cargo overlay in depot tooltips https://github.com/OpenTTD/OpenTTD/pull/16156#pullrequestreview-5792927405
22:20:47 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #16156: Fix: mention cargo overlay in depot tooltips https://github.com/OpenTTD/OpenTTD/pull/16156#pullrequestreview-5792975326
22:21:17 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #16155: Fix: make signal conversion tooltip consistent https://github.com/OpenTTD/OpenTTD/pull/16155#pullrequestreview-5792980273
22:26:17 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:51:30 *** Flygon has joined #openttd
23:18:06 <_zephyris> Any chance of an approval for https://github.com/OpenTTD/nml/pull/451 ?
23:18:37 *** lunax has joined #openttd
23:19:01 <_zephyris> Would be good to get ogfx2 updated with watery rocks for 16
23:29:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #16157: Fix 6c39def28: Sound too quiet with viewport zoomed out to max. https://github.com/OpenTTD/OpenTTD/pull/16157
23:29:33 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris opened pull request #33: Fix: Correct brace double outlines https://github.com/OpenTTD/OpenTTD-TTF/pull/33
23:30:30 <DorpsGek> [OpenTTD/OpenTTD-TTF] PeterN approved pull request #33: Fix: Correct brace double outlines https://github.com/OpenTTD/OpenTTD-TTF/pull/33#pullrequestreview-5793598976
23:31:07 <peter1138> Oh, it was approved but not merged.
23:31:42 <DorpsGek> [OpenTTD/nml] PeterN merged pull request #451: Add: Support for Action5 type 1A overlay coast and water rocks https://github.com/OpenTTD/nml/pull/451