Articulated Truck, what´s wrong with my code?

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
temporal8
Transport Coordinator
Transport Coordinator
Posts: 265
Joined: 17 May 2019 14:15

Articulated Truck, what´s wrong with my code?

Post by temporal8 »

Hello, I am trying to make an articulated truck and I succeeded, however I think my approach is wrong.

I defined vehicle flatbed_realtruck_12_1 as the trailer and vehicle flatbed_realtruck_13_1 as the truck that uses flatbed_realtruck_12_1 as a trailer, obviously the problem is that the trailer appears as road vehicle in the purchase list just before the articulated truck.
articulated.png
articulated.png (341.77 KiB) Viewed 184 times
temporal8
Transport Coordinator
Transport Coordinator
Posts: 265
Joined: 17 May 2019 14:15

Re: Articulated Truck, what´s wrong with my code?

Post by temporal8 »

Nevermind, i solved, i just modified climates_available to 0, In this way the trailer does not appear in the purchase list.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 0 guests