Improved Town Layouts
Moderator: Graphics Moderators
- 2TallTyler
- Traffic Manager
- Posts: 245
- Joined: 11 Aug 2019 18:15
- Location: Massachusetts, USA
- Contact:
Re: Improved Town Layouts
Thanks. The lack of coal acceptance is actually because there aren't enough ITL buildings in the catchment area to provide 8/8 cargo acceptance of coal.
The UK Houses Early Mod houses accepting Waste is perplexing. I've seen similar issues where older NewGRFs use the hexadecimal cargo IDs (0x0B) hard-coded to the original cargos rather than the four-letter cargo label ("WSTE") used by modern NewGRFs. But without ITL, the houses accept Food, which I've left unchanged as 0x0C. Waste uses 0x0B, which is Paper in the base game. Perhaps someone more familiar with how OpenTTD handles cargo IDs can chime in here. But otherwise, it appears to be a problem with UK Houses Early Mod.
The UK Houses Early Mod houses accepting Waste is perplexing. I've seen similar issues where older NewGRFs use the hexadecimal cargo IDs (0x0B) hard-coded to the original cargos rather than the four-letter cargo label ("WSTE") used by modern NewGRFs. But without ITL, the houses accept Food, which I've left unchanged as 0x0C. Waste uses 0x0B, which is Paper in the base game. Perhaps someone more familiar with how OpenTTD handles cargo IDs can chime in here. But otherwise, it appears to be a problem with UK Houses Early Mod.
Re: Improved Town Layouts
very much enjoying this, couple of requests if you are interested:
-Parameter to switch 'wood' to 'lumber' (WDPR)
-Parameter to switch 'coal' to 'coke' (COKE)
mainly just lumber, if not that's ok; I might fork one day.
-Parameter to switch 'wood' to 'lumber' (WDPR)
-Parameter to switch 'coal' to 'coke' (COKE)
mainly just lumber, if not that's ok; I might fork one day.
- 2TallTyler
- Traffic Manager
- Posts: 245
- Joined: 11 Aug 2019 18:15
- Location: Massachusetts, USA
- Contact:
Re: Improved Town Layouts
I'm not opposed to adding cargo acceptance where it makes sense.
Currently wood and coal are accepted by early houses as heating fuels — wood until 1850 and coal until 1945. Is that your intention for these cargos, or would lumber be more like Building Materials?
- piratescooby
- Transport Coordinator
- Posts: 365
- Joined: 21 Nov 2014 12:39
- Location: The Granite City.
Re: Improved Town Layouts
Would it be Possible for Houses to accept Solid Fuel [ Wood,Coal,Peat ] indefinitely , Loads of houses ,Cottages/Crofts in the the highlands and Isles of Scotland this is still to this day the fuel of choice for cooking ,AGA Stoves ,and heating , Later on Smokeless fuels,Wood Pellets and Oil/Gas .Paraffin and Butane Gas Bottles another choice .
Re: Improved Town Layouts
In my game coke is available from 1709 onwards and lumber is available from year 1(in firs coke is available from year 1 also). My understanding is wood was mostly used before coke mills (1709) as impure coal was very dirty to burn.2TallTyler wrote: ↑12 Dec 2020 12:31 Currently wood and coal are accepted by early houses as heating fuels — wood until 1850 and coal until 1945. Is that your intention for these cargos, or would lumber be more like Building Materials?
something like building materials I have town only industries set to accept (like a hardware store, also have supermarket) and wood to me seems like whole tree trunks as that's what I see go to the papermill and sawmills historically it was often by floating logs down a river or canals and the mills were powered by the river also, I guess offcuts would then go to a house in town as lumber (which is made at a sawmill in my game and lumber is labelled 'WDPR' aka wood products) sounds more sensible. The town only industries don't expire and start from year 1 (these are in various firs economies), I can make these accept coke but having dump trucks go to them looks silly where having box trucks makes sense, the horse and cart used in the early years all look suitable for delivering anything to town regardless of cargo. Also building materials are imported by ports and include other materials rather than just wood. Both are cargolabels used by popular FIRS as a parameter or two it gives a bit more depth to those chains and fits in very well with the industry grf I am working on where as coal/wood does not and as a on/off parameter keeps everyone happy

Having those end dates is perfect, later game end of chain cargos are generally accepted by the in town blackhole industries and also in my head people just drive their invisible cars to the forests and get their own wood just like IRL.
I'd very much appreciate it, thanks.
Last edited by Amak on 12 Dec 2020 17:09, edited 1 time in total.
Re: Improved Town Layouts
Great addon, I had similar idea but never had time to implement it, glad somebody done this.
My other ideas of avoiding homogenous concentric blob was to make some buildings (with unique/long distance conditions) to act as seed for other similar buildings,
so you can get local cluster of residental houses, or flats, recreational area etc.
There is sparse choice of buildings in case of default buildings, but for example:
monument building would allow to spawn fountains and parks nearby, while blocking some highscrappers/flats (but allowing theatre, church, stadium etc);
same for stadium or church;
warehouse (sprite 33 from temprtbuilds.png) would prevent any other buildings in given cluster, making waste area for industry/station...
My other ideas of avoiding homogenous concentric blob was to make some buildings (with unique/long distance conditions) to act as seed for other similar buildings,
so you can get local cluster of residental houses, or flats, recreational area etc.
There is sparse choice of buildings in case of default buildings, but for example:
monument building would allow to spawn fountains and parks nearby, while blocking some highscrappers/flats (but allowing theatre, church, stadium etc);
same for stadium or church;
warehouse (sprite 33 from temprtbuilds.png) would prevent any other buildings in given cluster, making waste area for industry/station...
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, preindustrial houses, wired, ECS industry extension, V4 CEE train set.
Addicted to freeciv longturn.
Addicted to freeciv longturn.
- 2TallTyler
- Traffic Manager
- Posts: 245
- Joined: 11 Aug 2019 18:15
- Location: Massachusetts, USA
- Contact:
Re: Improved Town Layouts
Unfortunately house cargo acceptance is a property which can't be changed by a switch, so I'd need duplicate house items enclosed in if/else blocks, one accepting lumber and coke, and the other not. It's possible but doesn't scale up well. If you can live without lumber, I would be happy to add coke to all houses which currently accept coal. I will keep coal, as it was indeed used alongside coke (in fact, coal heating was one of the causes of the Great Smog of London in 1952, and switching to coke was one of the changes recommended to prevent a repeat event).

In OpenTTD, houses are generally in towns where burning wood or coal is no longer done. I don't think I want to add this to later houses, but you are welcome to fork the project and change whatever you like.piratescooby wrote: ↑12 Dec 2020 14:31 Would it be Possible for Houses to accept Solid Fuel [ Wood,Coal,Peat ] indefinitely

Indeed, and you are correct that the default buildings don't really provide enough sprites to make the most of this. Stay tuned, though, because I'm currently drawing a new house set which will take full advantage of such concepts.

Re: Improved Town Layouts
Well, my another idea was to make conglomerate town houses project: get together some existing projects under GPL licence, such as Swedish Houses, UK Towns, Polish building Set, TTRS, Japanese Buildings, and make one newgrf -2TallTyler wrote: ↑13 Dec 2020 18:52 Indeed, and you are correct that the default buildings don't really provide enough sprites to make the most of this. Stay tuned, though, because I'm currently drawing a new house set which will take full advantage of such concepts.![]()
but unlike using these newgrfs together which result in mixture of different pixel-art styles, buildings from given set would belong to the given group, and only one (or two) group(s) is allowed to exists in city (plus maybe some generic buildings).
So if city start to spawn, and building which belong to the given group appears, such town will keep this style.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, preindustrial houses, wired, ECS industry extension, V4 CEE train set.
Addicted to freeciv longturn.
Addicted to freeciv longturn.
Re: Improved Town Layouts
So one city will be European, another Japanese or another Polish or Swedish or English? That sounds great 

Re: Improved Town Layouts
Sounds good! Keep in mind you can use TTRS3 too; Zephyris has made it clear before leaving the community that his graphics can be used with whatever license you want, provided you give credit.McZapkie wrote: ↑13 Dec 2020 21:01Well, my another idea was to make conglomerate town houses project: get together some existing projects under GPL licence, such as Swedish Houses, UK Towns, Polish building Set, TTRS, Japanese Buildings, and make one newgrf -2TallTyler wrote: ↑13 Dec 2020 18:52 Indeed, and you are correct that the default buildings don't really provide enough sprites to make the most of this. Stay tuned, though, because I'm currently drawing a new house set which will take full advantage of such concepts.![]()
but unlike using these newgrfs together which result in mixture of different pixel-art styles, buildings from given set would belong to the given group, and only one (or two) group(s) is allowed to exists in city (plus maybe some generic buildings).
So if city start to spawn, and building which belong to the given group appears, such town will keep this style.
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
Re: Improved Town Layouts
That is something I am gonna use, I tried it for a quick game with one city, pretty much it is great
Thanks for that.

Špajdy | Slovakia | languages: slovak, eneglish | I code in NML |
| My projects: DB PushPull https://bit.ly/3l9MIzf | Slovak Transport Graphic Set https://bit.ly/38jEHo1

The first BETA version of the Slovak Bus Set is out now!

| My projects: DB PushPull https://bit.ly/3l9MIzf | Slovak Transport Graphic Set https://bit.ly/38jEHo1
The first BETA version of the Slovak Bus Set is out now!

- 2TallTyler
- Traffic Manager
- Posts: 245
- Joined: 11 Aug 2019 18:15
- Location: Massachusetts, USA
- Contact:
Re: Improved Town Layouts
1.3.2
- Add: French translation by arikover
Who is online
Users browsing this forum: No registered users and 9 guests