Sal's Canalboats

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: 495
Joined: 11 Aug 2019 18:15
Contact:

Sal's Canalboats

Post by 2TallTyler »

0-2-0_screenshot_2.png
0-2-0_screenshot_2.png (172.38 KiB) Viewed 5435 times
I've got a mule and her name is Sal / 15 miles on the Erie Canal

Before railroads, canals powered the early industrial revolution. Towed by horses, mules, or sometimes people, canalboats could carry up to 30 tons of cargo.

This work-in-progress canalboat set starts in 1700 and currently includes two British narrowboats:
  • Narrowboat (carries all cargo except passengers and mail)
  • Packet boat (carries passengers, mail, valuables, and express cargo)
In order to make early networks viable, the cost of building, clearing, and maintaining canals is reduced to 1/16 of default.

Now available on BaNaNaS. Source files are onGitHub.
Last edited by 2TallTyler on 31 Jul 2020 15:34, edited 4 times in total.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Sal's Canalboats

Post by GarryG »

Great idea .. I wonder if you and Kruemelchen will figure out a way to use your canalboats with the horse in his WWAY set.
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
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Sal's Canalboats

Post by kamnet »

GarryG wrote: 14 Jun 2020 09:32 Great idea .. I wonder if you and Kruemelchen will figure out a way to use your canalboats with the horse in his WWAY set.
You could draw some canals with walking paths, and put an animated animal on the paths that would overlap. The problem comes when it's time to turn the animal around to go down the other side of the canal. During the times of animal canals, the boats usually worked only on one side of the canal, and when it came to two boats and animals crossing, one would be temporarily disconnected from the boat to allow the other to pass without tangling lines. OpenTTD roads and rivers don't work like that. So either you have to build an eyecandy flat bridge (and thus bring an end to the WWAY) or your animal magically treads on water. ;)
temporal8
Route Supervisor
Route Supervisor
Posts: 429
Joined: 17 May 2019 14:15

Re: Sal's Canalboats

Post by temporal8 »

Good idea, keep up the good work.
Real Projects 32bpp releases:

Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
User avatar
Gadg8eer
Traffic Manager
Traffic Manager
Posts: 190
Joined: 14 Dec 2019 14:22

Re: Sal's Canalboats

Post by Gadg8eer »

Nice! This will go great with the GPL Roadtype Collection!
I have Asperger's, please be easy on me about stuff. My apologies if I've been a problem for you in the past.
User avatar
odisseus
Director
Director
Posts: 552
Joined: 01 Nov 2017 21:19

Re: Sal's Canalboats

Post by odisseus »

Is it possible to make the sprites for the small boats offset to one side, e. g. to the right? It would be nice if the boats looked as if they're passing each other in the canal, instead of passing through each other.
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Sal's Canalboats

Post by kamnet »

odisseus wrote: 16 Jun 2020 01:22 Is it possible to make the sprites for the small boats offset to one side, e. g. to the right? It would be nice if the boats looked as if they're passing each other in the canal, instead of passing through each other.
OpenTTD ships (coded as ships) do not have any collision avoidance detection. Multiple ships can occupy a tile simultaneously. There's no way to code around that.

When used as a WWAY vehicle, though, this is possible since they are coded as road vehicles.
User avatar
odisseus
Director
Director
Posts: 552
Joined: 01 Nov 2017 21:19

Re: Sal's Canalboats

Post by odisseus »

I know that multiple ships can occupy the same tile. However, if the ship's sprite is so small that two of them can fit into one tile's space without overlapping, it should be possible to make them look as if they occupy different parts of the tile. It wouldn't require any changes to the game mechanics or to the way ships are rendered, just to the sprites themselves. Of course, this won't work at all if the ship is wider than half a tile, and the ships that travel in the same direction will still ride into each other.
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

kamnet wrote: 14 Jun 2020 21:08 You could draw some canals with walking paths, and put an animated animal on the paths that would overlap. The problem comes when it's time to turn the animal around to go down the other side of the canal. During the times of animal canals, the boats usually worked only on one side of the canal, and when it came to two boats and animals crossing, one would be temporarily disconnected from the boat to allow the other to pass without tangling lines. OpenTTD roads and rivers don't work like that. So either you have to build an eyecandy flat bridge (and thus bring an end to the WWAY) or your animal magically treads on water.
NML actually includes an easy way to replace canal graphics, and it would be trivial to draw the boats with the horse/mule on, for example, the northeast and southeast side of the canal. The need for a bridge comes up at intersections, and I don't think the sprite sort order will let me build a bridge (likely as an overlapping object tile) which horses go over but boats go under. Corners are also tricky, as ships cut corners diagonally rather than making 90 degree turns like road vehicles. Nevertheless, I will do some experimentation to see if I can find a workable solution.
odisseus wrote: 16 Jun 2020 01:22 Is it possible to make the sprites for the small boats offset to one side, e. g. to the right? It would be nice if the boats looked as if they're passing each other in the canal, instead of passing through each other.
I actually tried this in the beginning, but the sprite sort order isn't really set up for this and the wrong boat appears in front of the other. Offsetting one boat backwards hacked the object position to solve this, but then cornering looked strange as the boat teleported backwards upon rotating. I will continue to experiment but otherwise kamnet is correct that ships aren't really designed for this. I will end up including each vehicle as both a ship and a WWAY road vehicle so you can use whichever you prefer.

The advantage of ship-coded vehicles are the use of natural rivers and the ability to add larger boats later, as well as allowing some canalboats to also sail on ocean — not horse-drawn narrowboats, but there were some Dutch canalboats which had sails and have appeared in period drawings of London's dockyards indicating an impressive range.
Electricfox
Engineer
Engineer
Posts: 42
Joined: 19 Jun 2006 18:13

Re: Sal's Canalboats

Post by Electricfox »

Fantastic! Just the sort of thing that will go perfectly with the early rail set and sailing ships grfs.

Following this one with great interest.
User avatar
Comm Cody
Tycoon
Tycoon
Posts: 1060
Joined: 07 Mar 2008 22:21
Location: In a galaxy far far away.

Re: Sal's Canalboats

Post by Comm Cody »

2TallTyler wrote: 16 Jun 2020 02:13
The advantage of ship-coded vehicles are the use of natural rivers and the ability to add larger boats later, as well as allowing some canalboats to also sail on ocean — not horse-drawn narrowboats, but there were some Dutch canalboats which had sails and have appeared in period drawings of London's dockyards indicating an impressive range.
to elaborate, if you want to restrict boats further, you can have a canal speed for a boat (for canal or river titles), and a ocean speed. I know that FISH has it set up so that most boats are faster on ocean than canals, but you could do the inverse for these boats, faster on canals than oceans.
Something goes here, hell if I know.
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

Comm Cody wrote: 18 Jun 2020 01:56if you want to restrict boats further, you can have a canal speed for a boat (for canal or river titles), and a ocean speed. I know that FISH has it set up so that most boats are faster on ocean than canals, but you could do the inverse for these boats, faster on canals than oceans.
Thanks for the suggestion. I might just do that.
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

I haven't had a chance to redraw sprites yet, but after some playtesting I've slashed both the purchase price of canalboats and the cost to build, clear, and maintain canals. Canals now cost 1/16 of default, or about 3 times more expensive per tile than roads. This makes early gameplay a lot more enjoyable, as you're not having to fast-forward past decades at a time to earn enough cash for your next expansion.

The growth of cities around canals dug decades earlier for downtown goods deliveries is a nice look. :)
canalboats_update.png
canalboats_update.png (1.17 MiB) Viewed 5695 times
Kruemelchen
Transport Coordinator
Transport Coordinator
Posts: 287
Joined: 18 Feb 2017 17:47

Re: Sal's Canalboats

Post by Kruemelchen »

Just discovered this topic. I really like the idea of canal / narrow boats!
If you need any help coding the boats for WWAY, please ask :)
You can refer to this NML code ;)
(Or just point me to a file and I'll add it in as a template!)

I also really like the idea of mule/horse pulled boats!
You can code them as articulated road vehicles easily, so horsis stay dry at corners :P

And if you don't mind, I can draw and push a canal type for it (with pathways and bridges* at crossings) to my WWAY set ;)

*this can be realized as catenary, so boats can go under, albeit with a bit of graphical illusion ;)

Edit:
here is a ingame working pulled boat :wink:
first test of horse pulled boat (horse rider by McZapkie)
first test of horse pulled boat (horse rider by McZapkie)
towboat1.png (4.17 KiB) Viewed 5620 times
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

I redrew the sprites for Version 0.2.0 to match the scale of road vehicles, particularly eGRVTS since it will likely be one of the only other vehicle sets in a pre-train game. It now supports 2CC coloring! An updated screenshot is in the first post, shown with Iron Horse trains for scale. I may lighten the tarps over the load -- thoughts?
Kruemelchen wrote: 02 Jul 2020 11:50 Just discovered this topic. I really like the idea of canal / narrow boats!
If you need any help coding the boats for WWAY, please ask :)
You can refer to this NML code ;)
(Or just point me to a file and I'll add it in as a template!)

I also really like the idea of mule/horse pulled boats!
You can code them as articulated road vehicles easily, so horsis stay dry at corners :P

And if you don't mind, I can draw and push a canal type for it (with pathways and bridges* at crossings) to my WWAY set ;)

*this can be realized as catenary, so boats can go under, albeit with a bit of graphical illusion ;)
Hi Kruemelchen, sorry I somehow missed your post.

Please feel free to do as you like with my sprites, including using them in a WWAY set of your own. Your horse-drawn boat looks fantastic and I may or may not get around to adding WWAY variants in my set. Here's the GitHub repository. :)
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

packet_boats.png
packet_boats.png (382.71 KiB) Viewed 5289 times
British narrowboats were mostly used for cargo transportation, but there were some packet boats which carried passengers, mail, and express cargos.
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

I played a recent game with Timberwolf's Trains, and discovered his horses trot along at 18 mph while Sal's Canalboats trundle along at 6. To keep up with even one industry often requires one boat for every two tiles of travel, which looks ridiculous especially considering ships' lack of collision detection.

The solution was simple: distract Timberwolf's horse handlers with cheese straws, then lead their horses out of the stable in the middle of the night, turn them invisible, and hitch them to my canalboats.

Thus, the changelog readeth:

0.4.1
- Change: Horse-drawn boats now travel at 18 mph, increased from 6. Purchase and running costs increased accordingly, balanced against Andythenorth's Road Hog.
Timberwolf
Transport Coordinator
Transport Coordinator
Posts: 318
Joined: 22 May 2006 18:25
Location: London-ish.
Contact:

Re: Sal's Canalboats

Post by Timberwolf »

I'm going to be annoying here and suggest that might not be the value :) My horses are deliberately "fast" to take advantage of the rail traction mechanics, and as a gameplay concession to make early vehicles viable.

With a typical small train, a team of horses in Trains will tend to get up to around 12-14mph loaded, and 15-16mph unloaded. Top speed is usually only reached going downhill, which emulates the real-world behaviour where horses would be placed in a dandy wagon and the train allowed to roll (even if there are no graphics for it!). This is still somewhat above the real speeds for horse-drawn trains, which were around 7-9mph.

I'd suggest boats should also be a little slower than trains for two reasons: one is the realistic one of dragging a boat hull through water having a lot more resistance than dragging wheels along iron rails, the other is TTD's gameplay balance. This is the game having a few expectations of ships being "slow, with large capacity", particularly in station ratings - a ship is allowed 4 times as many days between cargo pickups as other vehicles before the station rating starts to drop from cargo not being picked up. I'm not sure what the default cargo ageing period is for a ship but possibly that could be a little higher to compensate for the transport along a canal being slow and gentle rather than jostling things about over bumpy primitive rails.

Not sure what a good value would be relative to capacity and "gameplay vs realism" concerns, maybe around 11mph?
User avatar
2TallTyler
Route Supervisor
Route Supervisor
Posts: 495
Joined: 11 Aug 2019 18:15
Contact:

Re: Sal's Canalboats

Post by 2TallTyler »

Thank you for the feedback. Your points are well taken.

The real goal of the speed increase was to reduce the number of boats clogging the canal. Another solution would be to change the capacity. Right now it's set at 30 tons, which is actually a realistic value. With a corresponding cost increase to both vehicles and the canals themselves, I wouldn't mind increasing that significantly, say to 60 tons? How do your horse cart capacities compare to the real world?

I am also considering a move to road vehicles, as has been discussed above. I welcome any thoughts on this.

Road vehicle pros:
  • Better visuals thanks to collision detection and driving in lanes; no clipping through each other
  • Supports articulated vehicles for better-looking horses
  • Flat drive-through station tiles instead of docks
  • One-way roads
  • One-tile locks easier to fit than three-tile locks
  • Tunnels!
Road vehicle cons:
  • Players might build regular canals by accident
  • Other boats can't use the canals later
Kruemelchen wrote: 02 Jul 2020 11:50And if you don't mind, I can draw and push a canal type for it (with pathways and bridges* at crossings) to my WWAY set ;)
Did you end up drawing these? They weren't in the 0.3 source in your thread, but there are nice towpaths and a horse in your screenshot. If I move from canals to WWAY roads, I'd like to include a suitable roadtype in my set. It could disable itself if a player has your full WWAY set.
Timberwolf
Transport Coordinator
Transport Coordinator
Posts: 318
Joined: 22 May 2006 18:25
Location: London-ish.
Contact:

Re: Sal's Canalboats

Post by Timberwolf »

2TallTyler wrote: 03 Dec 2020 19:44How do your horse cart capacities compare to the real world?
My road vehicles are grossly over-optimistic in terms of capacity - recommendations for a working horse are around 1.5-2x body weight for a day of work so (considering the dray wagon weighs quite a lot itself) the realistic capacity is only around 2t - even the most Dickensianly hard-hearted Victorian would balk at making their horses pull 12t of cargo plus the wagon over a long distance.

(Over short distances, horses can move extremely large weights, the record for Shires is something like 50t from a two-horse team).

Where it gets interesting is railways. On a carefully graded tramway, even a single horse could pull a surprisingly large tram thanks to the lack of friction. While early industrial horse-drawn railways weren't as smooth, they also tended to be built taking advantage of another natural source of motive power: gravity. Loaded wagons travelled downhill and the horses were only used to drag empty ones back up, meaning the limitation was more that of primitive braking systems than what horses were willing to put up with.

That said, the capacities of the early wagons hew more toward the end of their lifespan in the 1850s than the start of it; my open wagon carries 12t but it should be more like 6-7t for something realistic.

There were two drivers for these capacities. One was the same as you have - avoiding the need to build 100 wagons just to keep up with the output of a typical industry. This I think would be better dealt with by an industry GRF to have correspondingly lower outputs for primary industries early on. The second is the pure OpenTTD mechanic of being able to run profitably - as I found out recording my early start videos, once you have infrastructure maintenance enabled and all the costs turned up this can get pretty marginal even before you start tweaking around with base cost newGRFs. (For something I arrived at mostly by accident, I quite like the balance I have currently; it's tough without being so aggressive the only way to succeed is play a 100% optimal game)
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot] and 19 guests