UK Towns Set [v3.0/spiritual successor now out]
Moderator: Graphics Moderators
UK Towns Set [v3.0/spiritual successor now out]
Find the release thread here...
Hi all!
So I finally scraped together all the sprites I produced a year and a half ago to make a UK town building set, and now I am looking for a coder! There are:
16 houses, each with their own gardens.
8 terraced houses in 4 orientations, with 4 "universal" gardens.
8 terraced shops in 4 orientations with company colour shop fronts.
16 offices in two orientations.
All have three construction stages and above-snow-line graphics for the completed building. The sprites were drawn in 32bpp and converted to 8bpp, so will need palconverting! As these were all produced in 32bpp if there is interest a full set of 32bpp graphics for OpenTTD could also be made...
I am looking for these to be coded in a similar style to the North American city set, simple but effective! I envisage the following zoning:
0: Houses only
1: Houses and terraced houses
2: Terraced houses and terraced shops
3: Terraced shops and offices
4: Offices only
There may (in the future) be some special buildings/skyscrapers for zone 4, but for now keep it simple! I will probably also produce/adapt some other specialised buildings - churches, petrol stations, tourist attractions, etc. in time.
So with no further ado here are the sprites.... (8bpp only for now)
Hi all!
So I finally scraped together all the sprites I produced a year and a half ago to make a UK town building set, and now I am looking for a coder! There are:
16 houses, each with their own gardens.
8 terraced houses in 4 orientations, with 4 "universal" gardens.
8 terraced shops in 4 orientations with company colour shop fronts.
16 offices in two orientations.
All have three construction stages and above-snow-line graphics for the completed building. The sprites were drawn in 32bpp and converted to 8bpp, so will need palconverting! As these were all produced in 32bpp if there is interest a full set of 32bpp graphics for OpenTTD could also be made...
I am looking for these to be coded in a similar style to the North American city set, simple but effective! I envisage the following zoning:
0: Houses only
1: Houses and terraced houses
2: Terraced houses and terraced shops
3: Terraced shops and offices
4: Offices only
There may (in the future) be some special buildings/skyscrapers for zone 4, but for now keep it simple! I will probably also produce/adapt some other specialised buildings - churches, petrol stations, tourist attractions, etc. in time.
So with no further ado here are the sprites.... (8bpp only for now)
- Attachments
-
- FINAL_UK_Towns_Set_-_Houses_8bpp.png (33.69 KiB) Viewed 9394 times
-
- FINAL_UK_Towns_Set_-_Houses_Ground_8bpp.png (46.6 KiB) Viewed 9394 times
Last edited by Zephyris on 11 Jan 2024 10:16, edited 7 times in total.
Re: UK Towns Set
Terraced houses:
- Attachments
-
- FINAL_UK_Towns_Set_-_TerracedHouses_8bpp.png (99.19 KiB) Viewed 9394 times
-
- FINAL_UK_Towns_Set_-_TerracedHouses_Ground_8bpp.png (39.66 KiB) Viewed 45167 times
Re: UK Towns Set
Shops and offices:
- Attachments
-
- FINAL_UK_Towns_Set_-_Shops_8bpp.png
- (174.83 KiB) Downloaded 2 times
-
- FINAL_UK_Towns_Set_-_Shops_Ground_8bpp.png (1.36 KiB) Viewed 45167 times
-
- FINAL_UK_Towns_Set_-_Offices_8bpp.png
- (268.12 KiB) Downloaded 2 times
Re: UK Towns Set [Coder Needed]
Well, I've made a start with the coding. If you'd prefer someone more competent just let me know
I'm not sure how advanced you intend this set to be; presumably you want the buildings to face the road, which shouldn't be too much of a problem.
One thing I noticed with the house sprites though: the positions of the houses in each of their different forms (construction stages and snow version) aren't consistent. This isn't a problem in itself but the black outline on the corresponding ground sprite is also inconsistent between the normal and snow versions (the black outline on the snow version is one pixel higher than it should be). I hope that makes sense.

I'm not sure how advanced you intend this set to be; presumably you want the buildings to face the road, which shouldn't be too much of a problem.
One thing I noticed with the house sprites though: the positions of the houses in each of their different forms (construction stages and snow version) aren't consistent. This isn't a problem in itself but the black outline on the corresponding ground sprite is also inconsistent between the normal and snow versions (the black outline on the snow version is one pixel higher than it should be). I hope that makes sense.
Re: UK Towns Set [Coder Needed]
I'm sure you'll be fine!If you'd prefer someone more competent ...
Yes please... presumably you want the buildings to face the road ...

Oops! I'll have a poke, this should be very easy to fix!... the black outline on the snow version is one pixel higher than it should be ...
*edit* Hmmm, I think the problem is more complicated than just one px shift on the snow graphics... This may take slightly longer!
Last edited by Zephyris on 03 Nov 2009 23:17, edited 1 time in total.
Re: UK Towns Set [Coder Needed]
Maybe you should do a 32bpp version of this and start a hand drawn 32bpp replacement set. These graphics are quite beautiful although I don't think they'll fit the original graphics that well. Still very beautiful indeed 

Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







Re: UK Towns Set [Coder Needed]
Attached are the corrected house sprites, hopefully these are right but I confused myself a bit when making them so there might still be problems!
That would be because they perfectly match OpenGFX... although I don't think they'll fit the original graphics that well.

This could be done, to a large extent, already as most of OpenGFX has been drawn in 32bpp and converted. Unfortunately the difference is small, at least for highly textured objects like brick buildings and CC objects... Tbh I don't think it is worth the effort but given, at least for this set, all the 32bpp graphics are perfectly ready it may be worthwhile.... 32bpp replacement set.
- Attachments
-
- FINAL_UK_Towns_Set_-_Houses_8bpp.png (32.11 KiB) Viewed 9394 times
-
- FINAL_UK_Towns_Set_-_Houses_Ground_8bpp.png (44.05 KiB) Viewed 9394 times
Re: UK Towns Set [Coder Needed]
I think that if you've got the 32bpp version available, there's little point in keeping it to yourself. If you post them, others can put them into whatever projects are most apt and the community gets most benefit from them.
The only reason to do 8bpp graphics solely anymore is when they're being drawn natively as 8bpp
The only reason to do 8bpp graphics solely anymore is when they're being drawn natively as 8bpp

Jon
Re: UK Towns Set [Coder Needed]
And 32 bpp...
Planetmaker suggested setting up a repo at the devzone and setting up a modular coding style, I think this is a good idea, so buttercup could you have a think about helping with this?
Planetmaker suggested setting up a repo at the devzone and setting up a modular coding style, I think this is a good idea, so buttercup could you have a think about helping with this?
- Attachments
-
- 32bpp.zip
- (2.14 MiB) Downloaded 985 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: UK Towns Set [Coder Needed]
I setup a dummy repo at the DevZone which is configured to become this set. The only thing still missing is basically the NFO and the converted PCX sprites. I added Zephyris and myself as managers, I couldn't do so (yet) with buttercup, as he isn't yet registered 
http://dev.openttdcoop.org/hg/ukhouses
Playing around with it, I found templating the action1 is difficult due to the layout of the sprites.
But that's not a general problem (and could possibly be fixed in future by moving the sprites to a uniform graphics template (e.g. a graphics file with exactly the same x and y coordinates for all houses, each house within a separate PCX file) - and even if not, we can always re-use the action 23 chain code even already now.
For a start, of course we could start completely without templates - we can always introduce them later on. Maybe it's even sensible as we then have a better overview of which code structures are repetitive.

http://dev.openttdcoop.org/hg/ukhouses
Playing around with it, I found templating the action1 is difficult due to the layout of the sprites.
But that's not a general problem (and could possibly be fixed in future by moving the sprites to a uniform graphics template (e.g. a graphics file with exactly the same x and y coordinates for all houses, each house within a separate PCX file) - and even if not, we can always re-use the action 23 chain code even already now.
For a start, of course we could start completely without templates - we can always introduce them later on. Maybe it's even sensible as we then have a better overview of which code structures are repetitive.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: UK Towns Set [Coder Needed]
All done!
The population and mail generation stats might need a bit of adjusting, but this doesn't affect playability too much.
The population and mail generation stats might need a bit of adjusting, but this doesn't affect playability too much.
- cmoiromain
- Chief Executive
- Posts: 655
- Joined: 15 Jan 2007 21:45
- Location: FRANCE
- Contact:
Re: UK Towns Set [Coder Needed]
Wow! That was fast 
A few thoughts:
I wish there were more town zones! You hardly see any of the terraced buildings... Maybe the zoning should be:
0: Houses
1: Terraced houses
2: Terraced houses and shops
3: Terraced shops and offices
4: Terraced shops and more offices
I don't think the original buildings generally fit that well... Perhaps disable all but the "special" ones; parks, statues, fountains and things like that...
I think the bounding boxes on the office buildings are taller than they need to be; could this cause problems?
Do you think it would be worth making climate specific grass for the buildings? How easy would it be to code?
The shops have a company colour shop-front (or should do, unless they got palconverted out!), could you code those to use random colours?

A few thoughts:
I wish there were more town zones! You hardly see any of the terraced buildings... Maybe the zoning should be:
0: Houses
1: Terraced houses
2: Terraced houses and shops
3: Terraced shops and offices
4: Terraced shops and more offices
I don't think the original buildings generally fit that well... Perhaps disable all but the "special" ones; parks, statues, fountains and things like that...
I think the bounding boxes on the office buildings are taller than they need to be; could this cause problems?
Do you think it would be worth making climate specific grass for the buildings? How easy would it be to code?
The shops have a company colour shop-front (or should do, unless they got palconverted out!), could you code those to use random colours?
Re: UK Towns Set [Coding in Progress!]
Yep, that's not a problem. I can also increase the relative probability of the terraced buildings if you want.Zephyris wrote:A few thoughts:
I wish there were more town zones! You hardly see any of the terraced buildings... Maybe the zoning should be:
0: Houses
1: Terraced houses
2: Terraced houses and shops
3: Terraced shops and offices
4: Terraced shops and more offices
OK. If you want to select which buildings you want disabled from here, I'll do that. (The ID is all I need.)Zephyris wrote:I don't think the original buildings generally fit that well... Perhaps disable all but the "special" ones; parks, statues, fountains and things like that...
Don't know if it would cause problems, but I've reduced them anyway.Zephyris wrote:I think the bounding boxes on the office buildings are taller than they need to be; could this cause problems?
If you don't mind drawing them, I don't mind putting them in.Zephyris wrote:Do you think it would be worth making climate specific grass for the buildings? How easy would it be to code?
Whoops! I forgot about that. Fixed. (There are 16 colours to choose from, and each of the 8 shops can use 4, so each colour can appear on 2 different buildings.)Zephyris wrote:The shops have a company colour shop-front (or should do, unless they got palconverted out!), could you code those to use random colours?
Re: UK Towns Set [Coding in Progress!]
Cool, I'll get working on the alternative grass ground tiles, should be nice and quick when I get home from the lab...
As for original buildings to keep I think remove them all except 09h 0Ah 0Bh and 0Ch (those are the statue, fountain and parks). I will work on some new buildings; I think I'll want churches, stadia, warehouses/light industry and some special buildings - these should add some variety...
As for original buildings to keep I think remove them all except 09h 0Ah 0Bh and 0Ch (those are the statue, fountain and parks). I will work on some new buildings; I think I'll want churches, stadia, warehouses/light industry and some special buildings - these should add some variety...
Re: UK Towns Set [Coding in Progress!]
...
Last edited by OzTrans on 04 Feb 2012 00:59, edited 1 time in total.
- cmoiromain
- Chief Executive
- Posts: 655
- Joined: 15 Jan 2007 21:45
- Location: FRANCE
- Contact:
Re: UK Towns Set [Coding in Progress!]
I have a little suggestion for the set:
How about replacing the HQ with some real UK buildings? For example, it would be fun having the Gherkin as the last HQ (although I don't know how the scale would fit...)
If you are interzested, I have a *very basic* start of the building, but it's only drawn on a single tile. And it's very primitive, but the shap is correct IMO
How about replacing the HQ with some real UK buildings? For example, it would be fun having the Gherkin as the last HQ (although I don't know how the scale would fit...)
If you are interzested, I have a *very basic* start of the building, but it's only drawn on a single tile. And it's very primitive, but the shap is correct IMO
I am little, ugly, and nasty. How do you do?
Re: UK Towns Set [Coding in Progress!]
How lovely!
Is it planed to have a some restrictions of growth like Early houses?
Is it planed to have a some restrictions of growth like Early houses?
Re: UK Towns Set [Coding in Progress!]
Apologies for the slow progress, this last week has been very busy! My plans for the final special buildings are:
Churches (a couple of countryside and a couple of town variants)
Petrol stations (for industry grf compatibility)
Stadia (a big and a small, like the original graphics but more in-keeping with this set)
Landmarks (a school, hospital, museum, univerisy college and town hall, probably victorian gothic revival ala http://en.wikipedia.org/wiki/Alfred_Waterhouse )
I will also do the terrains for the different climates...
Churches (a couple of countryside and a couple of town variants)
Petrol stations (for industry grf compatibility)
Stadia (a big and a small, like the original graphics but more in-keeping with this set)
Landmarks (a school, hospital, museum, univerisy college and town hall, probably victorian gothic revival ala http://en.wikipedia.org/wiki/Alfred_Waterhouse )
I will also do the terrains for the different climates...
Re: UK Towns Set [Coding in Progress!]
Some ground tiles... Tropic and arctic for the terraced houses.
- Attachments
-
- FINAL_UK_Towns_Set_-_TerracedHouses_Ground_Arctic_8bpp.png (39.89 KiB) Viewed 44140 times
-
- FINAL_UK_Towns_Set_-_TerracedHouses_Ground_Tropic_8bpp.png (39.14 KiB) Viewed 44140 times
Who is online
Users browsing this forum: Ahrefs [Bot] and 9 guests