Change cargo profit formula

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
rizhiy
Engineer
Engineer
Posts: 7
Joined: 18 Sep 2021 00:51

Change cargo profit formula

Post by rizhiy »

Hi, I want to play with adjusted profit formula for cargo.

IMHO, taking distance and time into profit estimation is kind of stupid, since it forces you to build longer routes than necessary.
I would like to have a simple formula where industries pay X for required resources and sell their produce for Y (perhaps something more complicated to account for demand/supply).

How can I accomplish that? Is there a game setting or perhaps a mod which makes that change?
I'm a programmer, so up to making the mod myself, but I feel like someone already made something similar.

Any pointers would be appreciated.
User avatar
odisseus
Director
Director
Posts: 552
Joined: 01 Nov 2017 21:19

Re: Change cargo profit formula

Post by odisseus »

User avatar
sevenfm
Engineer
Engineer
Posts: 117
Joined: 25 Jul 2016 23:44
Location: Soviet Russia

Re: Change cargo profit formula

Post by sevenfm »

You may want to check this:
viewtopic.php?t=76518
this
viewtopic.php?t=73275
unfortunately cargo callback doesn't seem to work correctly as described
viewtopic.php?t=83132
rizhiy
Engineer
Engineer
Posts: 7
Joined: 18 Sep 2021 00:51

Re: Change cargo profit formula

Post by rizhiy »

odisseus wrote: 18 Sep 2021 02:53 Consider Industries of the Caribbean.
Thanks, that looks like what I'm interested in
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 7 guests