Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

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

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: SUV Version 0.2

Post by Kruemelchen » 21 Sep 2018 17:11

So I've jumped into release preparation, though I've got barely the time for it :oops:

the change log so far:
  • 3 Unimogs (4 drawn)
  • 3 more cars (uncluding trabis)
  • 14 vans and small trucks as well as minibuses
  • 4 buses
  • 1 medium sized truck (those are the upcoming roster of v.0.3)
  • Japanese translation (by me, not mothertongue)
  • Sorted Purchase List (Engine ID field)
The current featured vehicles are:
  • full set of light and heavy multifunctional trucks from the 1940s until 2010s
  • full set of passenger cars and station wagons for light transports from the 1930s up to 2010
  • full set of small pickup trucks for express deliveries from the 1930s up to the late 1990s
  • full set of vans from the 1960s up to the 1990s
  • full set of buses from the 1920s up to the 1990s
For a full list of vehicles refer to the first posting!

Known issues are:
  • not good looking 1x zoom graphics
  • still no 2x zoom graphics of tracked traktors and no good cargo graphics for them either
  • still no solution for the unnecessary entries in the road building menu
And the next release (v.0.3) will probably see:
  • code restructure to make use of the C pre processor
  • better (or worse) 1x zoom graphics
  • full set of medium sized trucks
  • maybe some new futuristic vehicles...?
Find the download, source, and non-NRT-version (with less vehicles) below.

If you have any bugs or inconsistencies to report, recommendations for nicer game play to make or thoughts or feature requests, please take the time to write and tell me :)

PS: according to my vehicle list this set is now 56% complete :P
Attachments
SUV_0_2.grf
SUV version 0.2
(716.77 KiB) Downloaded 136 times
SUV_0_2_source.7z
Source code of SUV version 0.2
(993.21 KiB) Downloaded 51 times
EGRoads_0_2.grf
non-NRT version "EGRoads" version 0.2
(645.4 KiB) Downloaded 108 times

User avatar
Valle
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 15 May 2007 11:35
Location: Germany

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Valle » 26 Dec 2018 21:57

Nice work! I'm using the vanilla version (EGRoads 0.2) and noticed a bug when playing with OpenTTD JGRpp 0.10.0. This does not happen in vanilla OpenTTD 1.8.0.

I found that there is a rendering issue affecting the entire Multicar range of vehicles. As far as I can tell, the motorized vehicle consists of two sprites - one for the cab and one for the bed. In this case, unless you're looking at the purchase menu, the game only draws either the cab or the bed of the vehicle, depending on the view in which the vehicle is currently moving on the map.

For the vehicle heading south (from top left to bottom right) and west (from top right to bottom left), only the bed is drawn.
For the vehicle heading north (from bottom right to top left) or east (from bottom left to top right), only the cab sprite is visible.
This also changes in the vehicle details window and is not affected by the selection of a trailer, whose sprite is always shown correctly.

I'm trying to understand what is causing this bug - could it be the case that the older OTTD build that forms the basis for JGRpp 0.10.0 is not capable of showing a vehicle that uses two sprites inside the same "box" next to each other?

Puzzled regards,

Valle
Attachments
EGRoads 0.2 - half multicars.png
(529.86 KiB) Not downloaded yet

User avatar
andythenorth
Tycoon
Tycoon
Posts: 4923
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by andythenorth » 26 Dec 2018 22:16

One possibility is that register 0x100 is being cleared by something in the sprite chain, which means sprite layers won't work as expected.

That might be irrelevant, but I got bitten by it recently, so worth mentioning.

User avatar
acs121
Tycoon
Tycoon
Posts: 1929
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by acs121 » 26 Dec 2018 23:59

Hey,

I might have some vehicles ideas for the 2000s - 2010s.
I thought about the Piaggio Porter (yes, Piaggio, the same brand that builds scooters !), a small van I have seen in Germany.
And then there's the Goupil G3, G4 and G5. Same thing : I have seen a lot in France, but a few others in Germany. I think they would look really great in 2x.

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 27 Dec 2018 17:37

Valle wrote:Nice work! I'm using the vanilla version (EGRoads 0.2) and noticed a bug when playing with OpenTTD JGRpp 0.10.0. This does not happen in vanilla OpenTTD 1.8.0.
Thank you very much for your bug report, Valle! :)

Is this correct, that you tested the GRF with JGRpp 0.10.0?
Could you try if this bug also occurs in the latest version of JGRpp (0.28.0)?

I tested it right now in 0.27.1 and it works as it should.

I can only assume, that version 0.10.0 is too old and does not support sprite layers yet, so only the first layer is drawn (which is different in different angles as the cabin is either drawn first or last)

@acs121:
Thank you for the suggestions! The Goupil looks nice.

User avatar
Valle
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 15 May 2007 11:35
Location: Germany

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Valle » 27 Dec 2018 19:00

Thank you for your response and explanation, Kruemelchen. Your assumption is probably correct if that's a newer feature, given that JGRpp 0.10.1 is really old (sorry, I got the last digit wrong in my previous post). I cannot test it in 0.28.0 because I failed to compile more recent builds for macOS, let alone update this ancient game that had originated in S2013PP to a newer version of JGR's patchpack. For those two reasons, I'm still sticking with this old patchpack for now.

Guess I'll still end up inserting your set into this frankenstein of a save game if I don't find too many more vehicles affected by this issue. :twisted:

Just as a disclaimer: of course, I produced the reported error in a new game with no other NewGRFs loaded. Doing this in an ancient save that has gone through more NewGRF changes than the number of NewGRFs some people have saved on their computer would have been irresponsible.

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 28 Dec 2018 06:33

To be honest, I cannot guarantee the set is working correctly in such an old build. So it might be possible that unforeseen errors occur, especially if inserted into an old save game.

Besides that, there will be no cargo graphics without the layer feature working. But all vehicles except the Multicars should be displayed 'correctly' as I only cut out the car cab in the Multicar base sprites, not in the base sprites of all the other vehicles. (No reason for that ...)

So, this version should fix that. But still no guarantee ;)
EGRoads_0_2_1.grf
multicar visual fix
(655.6 KiB) Downloaded 47 times

User avatar
Valle
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 15 May 2007 11:35
Location: Germany

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Valle » 28 Dec 2018 09:32

Kruemelchen wrote:To be honest, I cannot guarantee the set is working correctly in such an old build. So it might be possible that unforeseen errors occur, especially if inserted into an old save game.

Besides that, there will be no cargo graphics without the layer feature working. But all vehicles except the Multicars should be displayed 'correctly' as I only cut out the car cab in the Multicar base sprites, not in the base sprites of all the other vehicles. (No reason for that ...)

So, this version should fix that. But still no guarantee ;)EGRoads_0_2_1.grf
Wow, thank you for trying to fix this obsolence-based issue!

I just gave it a try (new game, no other GRFs). While I see complete Multicars in the views heading towards the player now, the beds still disappear when the vehicle is heading north (towards the top left) and east (towards the top right). What I just realized in a slightly more extensive test is that not only all Multicars are affected, but also a broad range of other open-bed trucks (which I had probably overlooked before as the missing cabs were more apparent). Sadly, you're also right about the cargo graphics - I hadn't even realized that yet. I feel like it would be too much of a struggle to make this set compatible with the past. Keep up the good work, though.

Just for the record, I found these vehicles to be affected by the issue described above (all tested with refit to coal):
- Barkas 1000 Pickup
- MB T2/Vario truck
- Phänomen Granit 30 truck
- Robur Garant 30K truck
- Robur 2000A truck (additional bug: trailer seems slightly misaligned to truck, seems most obvious in \ views - might be caused by the width difference between trailer & truck)
- Avia D60 truck (additional bug: trailer seems slightly misaligned to truck, seems most obvious in \ views - might be caused by the width difference between trailer & truck)
- Avia D120 4x4 (additional bug: trailer seems slightly misaligned to truck, seems most obvious in \ views - might be caused by the width difference between trailer & truck)
- Dieselkarre 2004
- Multicar 22
- Multicar 24
- Multicar 25
- Multicar 26
- Multicar 31
Attachments
Bildschirmfoto 2018-12-28 um 10.16.59.png
(161.71 KiB) Not downloaded yet

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 28 Dec 2018 13:36

Ah, yes, you are right about the N, NE and NW directions. I totally overlooked that!
It is because the cab is drawn first in this directions, then the bottom and above the cargo.

This version should fix that:
EGRoads_0_2_2.grf
grapihcal fix
(651.98 KiB) Downloaded 59 times
Thank you for looking into that issue :)

The misalignment issue is indeed because those trucks are broader and have bigger wheels than the actual trailer. I might look into that in another main release, but I can't promise.

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 15 May 2019 04:59

Since I've been working on fords for the water way grf, I've started to insert the fording feature into this set, too.

Here is a small sweet for the curious :wink:
fording.png
tractor with trailers halfway fording
fording.png (26.84 KiB) Viewed 910 times
Keep in mind though, this is WIP, as it might turn out more visually refined :lol:

PS: Right now I only plan on allowing heavy off-road trucks (and tractors) to ford, even though some of the lighter vehicles might be able to ford in reality, too, I think it should be reserved to the heavier tier gameplay-wise

PPS: I plan on releasing the next iteration of my sets when the NRT feature is more 'setted' in the master, meaning likely around end of the year. Until then there should be new content in the pipe as well ;)

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 19 May 2019 18:19

Just wanted to share the newest sprites I've drawn.
These are full 2x zoom sprites for the first heavy tractor with large trailers. The large trailers will be able to hold 14t to 21t and can be pulled by heavy trucks and tractors. With 3 trailers a powerful tractor will be able to pull up to 63t of cargo 8)
kettenschlepper.png
new 2x zoom sprites for heavy tractors
kettenschlepper.png (34.48 KiB) Viewed 841 times
This heavy tractor will be available since the 1930s and can with its 60 HP motor pull 28t* at a steady 6kph uphill :lol: (normally it runs at 8kph)

*IRL this model could only pull 9t, so I might only allow 28t after an upgrade in the 1950s, which means until then it should be able to pull 14t uphill at max speed, which is quite nice for a nevertheless really really slow tractor :lol:

PS: Have been inserting some new Trabant prototypes as well, which isn't good for anything but it's a Trabant :oops:

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 26 May 2019 19:01

...so I finished now all planned crawlers, which can be purchased from the 1930s, with their most recent upgrade in the 1960s. The speed ranges from 8 kph up to 12 kph and they can be loaded up to 28t or 42t. They are awesome at hauling big loads over a small distance, which works best with mines and forests. They can even ford waterways, but aren't allowed on roads, so you need tracks or hauling roads.
Here's the full roster:
roster_crawler.png
East German and Soviet crawlers
roster_crawler.png (1.17 KiB) Viewed 707 times
From the left: KS09, KS30, T100, DT75, DT75M

...also I implemented a tractor with articulated steering (which was easier than I thought :P )
Its the Ukranian T150K built in Charkow. It can haul up to 28t at a speed of 30 kph (uphill 15 kph).
Here's an impression:
t150k.png
articulated steering tractor
t150k.png (46.23 KiB) Viewed 707 times
The articulated steering tractor roster will include some Kirowez as well, but they are still to be drawn...

PS: Now finished 60% of all planned vehicles, with mostly tractors and trucks still missing for the next release

Kruemelchen
Traffic Manager
Traffic Manager
Posts: 130
Joined: 18 Feb 2017 17:47

Re: Supplemental Unsurfaced Road Vehicles Set (SUV) (*NRT)

Post by Kruemelchen » 08 Jun 2019 06:21

And here comes the next teaser for the next release ... Kirovets articulated tractors :D
articulated_tractors.png
articulated tractor roster 1962 to 2002 (latest model)
articulated_tractors.png (2.45 KiB) Viewed 530 times
These tractors can haul up to 3 trailers* with a maximum overall load of 63 ton at a max speed of 37 kph :o
Uphill they reach fully loaded a max speed of 15~18 kph with their heavy up to 500 hp engines and weights up to almost 20 ton

Awesome for heavy loads over medium distances I guess :wink:
(of course they can ford and use roads, except highways of course)

*5-vehicle-parts road train style :lol:

... secondly, I've finally implemented effect spawn model for all vehicles, which now gives different vehicles different exhaust effects, as can be seen in the following traffic jam behind a slow crawler :twisted:
new_smoke_effects.png
Charkow, Unimog and Kirovets behind a slow pre war crawler
new_smoke_effects.png (45.15 KiB) Viewed 530 times
(however there is a small mistake in the above picture, this specific unimog is supposed to have exhaust like the kirovets...)

PS: but too bad you cannot control the amount of smoke and there is no preset for gasoline smoke :(

Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 5 guests