Beaches as Industries

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Beaches as Industries

Post by 2TallTyler »

Beaches which produce and accept passengers. These are adapted from Quast65's beach object tiles, which are highly recommended in addition to this set for decoration.

beachindustry.PNG
beachindustry.PNG (300.57 KiB) Viewed 9232 times

Generation and funding:
  • Beaches come in four slope directions, in three variants each measuring either 1x2 or 1x3 tiles.
  • During map generation, beaches will only be created within 12 tiles of a town.
  • There is a NewGRF parameter to set how many beaches are generated (Few or Many).
  • The player can fund these industries anywhere for about the cost of a hotel in FIRS.
Cargo:
  • The beaches produce and accept passengers in the same quantity as a FIRS hotel.
  • The snack shack tiles also accept food.
  • When FIRS is enabled, the beach also accepts sand (for beach renewal, although this isn't modeled)
Drawn by Quast65, coded by 2TallTyler.
License: GPL v3.

Download available on BaNaNaS and source available on GitHub

Updates:
  • 4/23/20, 1.01: Snack shack tiles accept food.
  • 4/27/20, 1.02: Removed random production change, removed random in-game industry spawning.
Last edited by 2TallTyler on 27 Apr 2020 21:17, edited 4 times in total.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5869
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Beaches as Industries

Post by GarryG »

That sound like a great idea for a Industry ..

When I first started doing Industry's I used FIRS 1.4.3 sources. It has 5 Industries that hog the coast line. Port, Bulk terminal A and B, Fishing Harbour and Trading Post. The last 2 might be best to have a look at and see what you need to do. The coding isn't as complicated as later FIRS so might be a good source to get hold of and learn from.

Copy here of FIRS 1.4.3 if like to use. Hope it helps.
Attachments
firs143.rar
(10.85 MiB) Downloaded 181 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Re: Beaches as Industries

Post by 2TallTyler »

Thanks, Garry. This is much simpler than FIRS 3 and should do the trick!
User avatar
kamnet
Moderator
Moderator
Posts: 8580
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Beaches as Industries

Post by kamnet »

This is similar to an idea I had a few years ago, a single-tile industry that just accepted and produced passengers, so that you can put it next to other industries and simulate them needing workers. Now that we have expanded the input and output capacity of industries, though, I don't know if that will be necessary in the future since it seems logical to me that all industries would just be coded to do that.

Definitely a neat idea for the beaches, looking forward to what you do with this!
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Re: Beaches as Industries

Post by 2TallTyler »

kamnet wrote: 11 Apr 2020 15:08 This is similar to an idea I had a few years ago, a single-tile industry that just accepted and produced passengers, so that you can put it next to other industries and simulate them needing workers. Now that we have expanded the input and output capacity of industries, though, I don't know if that will be necessary in the future since it seems logical to me that all industries would just be coded to do that.
That might be my next project, although the use I'd envisioned was adding traffic to eyecandy areas. I was planning on using the fountain graphic, although if I can learn parameters I could allow the player to choose from a few options.

As for beaches, I've managed to restrict it to coastal tiles (thanks to GarryG and FIRS 1.4.3) and have added 1x3 beaches in all four directions: NE, NW, SE, and SW. Next step: adding the sprites!
User avatar
GarryG
Tycoon
Tycoon
Posts: 5869
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Beaches as Industries

Post by GarryG »

2TallTyler wrote: 11 Apr 2020 14:07 Thanks, Garry. This is much simpler than FIRS 3 and should do the trick!
Glad it working for you. I think since your at the beach is to start in the shallow end first and jump into deep water later when you can swim properly :D .

A Coastal Industry I thought about doing was a village (or holiday resort) where houses are right on the coast and some in the water. But be some months before I get back to doing Industries do to other projects I working on.

Cheers pal
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Re: Beaches as Industries

Post by 2TallTyler »

It's release time! Check out the first post for the download, more info, and source code. Please let me know if you find any problems or have suggestions to balance cost, production, etc.

Before I upload to BaNaNaS, what am I missing in terms of a readme, any other credits, etc.?
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Re: Beaches as Industries

Post by 2TallTyler »

This release is now on BaNaNaS. (Mods, you can move this thread to Graphics Releases, if you want. I don't see the need to create a duplicate thread there.)
Fredinho
Traffic Manager
Traffic Manager
Posts: 239
Joined: 16 Mar 2019 00:46
Location: Oslo, Norway
Contact:

Re: Beaches as Industries

Post by Fredinho »

I'm loving this, thank you.

I do wish there was an option to turn off industries opening during playing though. I play with NAIS, where I've done that, but it doesn't affect the Beaches as Industries and now I have a new beach opening every week.
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 502
Joined: 11 Aug 2019 18:15
Contact:

Re: Beaches as Industries

Post by 2TallTyler »

Fredinho wrote: 26 Apr 2020 22:42 I do wish there was an option to turn off industries opening during playing though. I play with NAIS, where I've done that, but it doesn't affect the Beaches as Industries and now I have a new beach opening every week.
Your wish is my command. :)

...At least when it's a good suggestion. I also removed random production changes so you won't get any closures.

It's now updated on BaNaNas. It should be savegame-compatible.
Fredinho
Traffic Manager
Traffic Manager
Posts: 239
Joined: 16 Mar 2019 00:46
Location: Oslo, Norway
Contact:

Re: Beaches as Industries

Post by Fredinho »

That was fast! Great! Thank you.
User avatar
Gadg8eer
Traffic Manager
Traffic Manager
Posts: 190
Joined: 14 Dec 2019 14:22

Re: Beaches as Industries

Post by Gadg8eer »

Found a bug with this. When used with any industry set (such as FIRS) and the Plaza you made, some of the industries provided by the other industry set have their specs changed so that they cannot receive or produce freight. It can be tested by creating a random map and checking the stats of all industry types through the industry list. It only seems to happen when this GRF is used with the Plaza you made, when only one or the other is used they don't cause the problem.
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
k.feri86
Engineer
Engineer
Posts: 13
Joined: 22 Dec 2021 12:22

Re: Beaches as Industries

Post by k.feri86 »

Thanks, very nice addon!

If I try to found it manually, I always get an error message: ...site unsuitable.
What is the problem? (I tried near to a map generated beach industry, but doesn't help)
Isiászt, lumbágót és egyéb gerincproblémákat kezelünk manuálterápiával: https://sherlockrehab.hu
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Beaches as Industries

Post by Quast65 »

k.feri86 wrote: 23 Dec 2021 10:52 Thanks, very nice addon!

If I try to found it manually, I always get an error message: ...site unsuitable.
What is the problem? (I tried near to a map generated beach industry, but doesn't help)
As far as I know:
1. They need to be built on a sloped coastline (so with water next to them)
2. It could possibly be that the coastline needs to be at least 3 tiles wide (even though the industry may be shorter)
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
k.feri86
Engineer
Engineer
Posts: 13
Joined: 22 Dec 2021 12:22

Re: Beaches as Industries

Post by k.feri86 »

Quast65, thanks your help again! :wink:
But somewhy can't create beach:
Image
Isiászt, lumbágót és egyéb gerincproblémákat kezelünk manuálterápiával: https://sherlockrehab.hu
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Beaches as Industries

Post by Quast65 »

These are not proper coasttiles where you are trying to place the industry.

They are next to a river (you can see that because of the narrow strip of grass between water and the dark brown sand), they should be next to seawater.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
k.feri86
Engineer
Engineer
Posts: 13
Joined: 22 Dec 2021 12:22

Re: Beaches as Industries

Post by k.feri86 »

Thanks, looks like this is the problem!
But how can I create seawater in an actual game or in scenario?
Isiászt, lumbágót és egyéb gerincproblémákat kezelünk manuálterápiával: https://sherlockrehab.hu
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Beaches as Industries

Post by Quast65 »

k.feri86 wrote: 24 Dec 2021 09:07 Thanks, looks like this is the problem!
But how can I create seawater in an actual game or in scenario?
*In an actual game:
You need to dig/landcape a trench from a sea or lake to the area you want to have flooded and then wait till it fills up ;-)

*Scenario Editor:
A bit easier (well... faster ;-) )
Example688.png
Example688.png (91.11 KiB) Viewed 3205 times
Dig down to sea-level.
You get the red warning message as shown in the picture when you dug down enough.

Then go to the create waterway menu and select the Canal-tool.
Hold CTRL and place a tile (or more if you dont want to wait too long).
You will see that you get a watertile without any borders.
See difference in picture, left is with CTRL (so a sea-tile), right is without (so a canal-tile)
And wait (or use the faster-time function) and you get this:
Example689.png
Example689.png (88.09 KiB) Viewed 3205 times
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
k.feri86
Engineer
Engineer
Posts: 13
Joined: 22 Dec 2021 12:22

Re: Beaches as Industries

Post by k.feri86 »

Thanks man! It is working! :bow:
Isiászt, lumbágót és egyéb gerincproblémákat kezelünk manuálterápiával: https://sherlockrehab.hu
User avatar
Quast65
Tycoon
Tycoon
Posts: 2661
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Beaches as Industries

Post by Quast65 »

Happy to hear that!
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: DemianWSE and 12 guests