Refit to carry "Nothing"
Moderator: OpenTTD Developers
- Tino Didriksen
- Engineer
- Posts: 25
- Joined: 13 Jun 2004 23:14
- Location: Odense, Denmark
- Contact:
Refit to carry "Nothing"
Certain trains, such as the monorail 'Millenium Z1', can be refitted. Generally, this is a good thing. However, you cannot refit to carry oil, and you can't just select Nothing, so it's impossible to use that train to do full load for oil. Nice fast and powerful train, but no can do...
Yes, I am aware of the "Leave when any cargo is full" patch, but that's a patch and not a feature. Would be simpler to allow us to refit engine to carry Nothing (or Oil...).
Yes, I am aware of the "Leave when any cargo is full" patch, but that's a patch and not a feature. Would be simpler to allow us to refit engine to carry Nothing (or Oil...).
Tino Didriksen / Project JJ / Waterscape
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
- Tino Didriksen
- Engineer
- Posts: 25
- Joined: 13 Jun 2004 23:14
- Location: Odense, Denmark
- Contact:
Trains default to having passengers in their engines. Suppose I have a station that picks up oil right next to a town...I'm sure you see the problem.
Of course, I can then refit the train to carry wood, but even that is ugly. It would be far cleaner to let it carry Nothing (which, btw, should be free since it doesn't involve rebuilding but just denying).
Of course, I can then refit the train to carry wood, but even that is ugly. It would be far cleaner to let it carry Nothing (which, btw, should be free since it doesn't involve rebuilding but just denying).
Tino Didriksen / Project JJ / Waterscape
If you would play a tiny bit realistically, you would never use a passanger train to haul oil. Have you ever seen a thalys transport Oil????Tino Didriksen wrote:Trains default to having passengers in their engines. Suppose I have a station that picks up oil right next to a town...I'm sure you see the problem.
Of course, I can then refit the train to carry wood, but even that is ugly. It would be far cleaner to let it carry Nothing (which, btw, should be free since it doesn't involve rebuilding but just denying).
Altough I do agree that refitting to nothing might be a nice feature...if someone has time, I'm sure it will be added...but it's not a priority. If you don't play realistically don't expect realistic things

TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
- Tino Didriksen
- Engineer
- Posts: 25
- Joined: 13 Jun 2004 23:14
- Location: Odense, Denmark
- Contact:
At this point in the game (year 2017) I can build 2 monorail trains; X2001, and Millenium Z1:Darkvater wrote:If you would play a tiny bit realistically, you would never use a passanger train to haul oil. Have you ever seen a thalys transport Oil????
Altough I do agree that refitting to nothing might be a nice feature...if someone has time, I'm sure it will be added...but it's not a priority. If you don't play realistically don't expect realistic things :P
- X2001 has 9000HP and a speed of 305km/h. Engine has no capacity.
- Millenium Z1 has 10000HP and a speed of 337km/h. Engine has capacity for 50 passengers.
Now, by all logic I'd want to use the faster and more powerful train for freight, but I'd have to pay extra to refit it to carry something obscure and then use a patch setting to get around the full-load limitation.
Refit to Nothing is far more logic...
Tino Didriksen / Project JJ / Waterscape
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Well, I have sort of done it. But it doesn't really work too well, mainly I think because the game is designed to handle up to only the current number of cargo types - it is mainly a problem with the language files. I think I have been going about it the wrong way though, rather than adding a new cargo type I think I should just change the existing cargo type of nothing - so its back to the drawing board for me. Oh yer, and it causes an assertation in the save load thing. 

- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Well I have sort of done it. I don't think I will be able to get any further so someone else with more experience should probably have a go.
Also it has a load of bugs in it:
- Changing cargo for everything is now set to 0
- It messes up the display and doesn't really work
- I doubt it will work with any other languages apart from English
I doubt that the code fits in with the coding style either.
Anyway I will have ago and see if I can improve / fix it after dinner but until then here it is. It sort of works with the latest SVN version. In this version as well I have noticed you can't build depots in pause mode.
Also it has a load of bugs in it:
- Changing cargo for everything is now set to 0
- It messes up the display and doesn't really work
- I doubt it will work with any other languages apart from English
I doubt that the code fits in with the coding style either.

Anyway I will have ago and see if I can improve / fix it after dinner but until then here it is. It sort of works with the latest SVN version. In this version as well I have noticed you can't build depots in pause mode.
- Attachments
-
- cargo_nothing.patch
- (9.97 KiB) Downloaded 197 times
- lucaspiller
- Tycoon
- Posts: 1228
- Joined: 18 Apr 2004 20:27
Who is online
Users browsing this forum: Semrush [Bot] and 20 guests