Subsidy question.

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

Moderator: OpenTTD Developers

Post Reply
mauried
Engineer
Engineer
Posts: 71
Joined: 07 Sep 2010 11:35

Subsidy question.

Post by mauried »

Is there some preset criteria needed before subsidies are offered.
Ive started playing on a long thin map where the towns are 100 - 200 squares apart, and the industries are slightly closer, but no subsidies are offered and Ive been playing this map now for around 15 years.
On smaller maps where the towns are much closer, the subsidies are far more frequent.
Tnx.
Eddi
Tycoon
Tycoon
Posts: 7849
Joined: 17 Jan 2007 00:14

Re: Subsidy question.

Post by Eddi »

Code: Select all

src/subsidy_base.h:static const uint SUBSIDY_MAX_DISTANCE         =  70; ///< Max. length of subsidised route (DistanceManhattan)
pretty self-explanatory if you ask me.
You might not exactly be interested in Ferion, but if you are, have fun :)
User avatar
jfs
Tycoon
Tycoon
Posts: 1449
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Subsidy question.

Post by jfs »

If you have Cargo Distribution enabled, subsidies also don't generate.
User avatar
2TallTyler
Transport Coordinator
Transport Coordinator
Posts: 371
Joined: 11 Aug 2019 18:15
Location: Colorado, USA
Contact:

Re: Subsidy question.

Post by 2TallTyler »

I've considered making a PR to increase the maximum subsidy distance (since the 70 tiles is almost certainly intended for original 256x256 maps with vanilla industries, while modern maps often have less dense towns and industries and more industry types), but got stuck on whether to scale by map size or town/industry density. Also, the time offered to complete each subsidy would have to be increased to compensate for the longer distance.
mauried
Engineer
Engineer
Posts: 71
Joined: 07 Sep 2010 11:35

Re: Subsidy question.

Post by mauried »

Thanks all.
I suspected a range limit was in place but wasnt sure whether it was hard coded or a hidden setting somewhere.
User avatar
kamnet
Moderator
Moderator
Posts: 7763
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Subsidy question.

Post by kamnet »

2TallTyler wrote: 14 Jan 2022 13:55 I've considered making a PR to increase the maximum subsidy distance (since the 70 tiles is almost certainly intended for original 256x256 maps with vanilla industries, while modern maps often have less dense towns and industries and more industry types), but got stuck on whether to scale by map size or town/industry density. Also, the time offered to complete each subsidy would have to be increased to compensate for the longer distance.
Any reason not to make this configurable by the player?
Eddi
Tycoon
Tycoon
Posts: 7849
Joined: 17 Jan 2007 00:14

Re: Subsidy question.

Post by Eddi »

plenty of reasons... including "we already have too many settings" and "should this automatically scale with map size"

besides that, the whole subsidy system could use a deep overhaul
You might not exactly be interested in Ferion, but if you are, have fun :)
_dp_
Traffic Manager
Traffic Manager
Posts: 224
Joined: 18 Dec 2013 12:32

Re: Subsidy question.

Post by _dp_ »

Eddi wrote: 15 Jan 2022 11:16 besides that, the whole subsidy system could use a deep overhaul
Could use a deep wipe and let GS handle that stuff in peace :P
User avatar
Taschi
Route Supervisor
Route Supervisor
Posts: 413
Joined: 11 Oct 2014 22:58

Re: Subsidy question.

Post by Taschi »

_dp_ wrote: 15 Jan 2022 12:30 Could use a deep wipe and let GS handle that stuff in peace :P
Not everybody uses a gamescript, though - in fact, I'd wager most people don't.
"There's something germane to a Muscle Building that exterminates an appearance for a Muscle Building."
-- a spambot on tt-forums.net

My blog, which is sometimes about railways | Bulk GPX Viewer on Github
_dp_
Traffic Manager
Traffic Manager
Posts: 224
Joined: 18 Dec 2013 12:32

Re: Subsidy question.

Post by _dp_ »

Taschi wrote: 15 Jan 2022 12:47 Not everybody uses a gamescript, though - in fact, I'd wager most people don't.
Same can be said about subsidies :P
Eddi
Tycoon
Tycoon
Posts: 7849
Joined: 17 Jan 2007 00:14

Re: Subsidy question.

Post by Eddi »

... or game settings... :p
You might not exactly be interested in Ferion, but if you are, have fun :)
User avatar
Taschi
Route Supervisor
Route Supervisor
Posts: 413
Joined: 11 Oct 2014 22:58

Re: Subsidy question.

Post by Taschi »

You're not wrong - but if subsidies are an integral feature of the game, they should work regardless of the world generation settings (at least the part of the world generation settings that are visible to even the most casual user on the "New Game" screen), and if subsidies are *not* an integral feature of the game, then who cares?
"There's something germane to a Muscle Building that exterminates an appearance for a Muscle Building."
-- a spambot on tt-forums.net

My blog, which is sometimes about railways | Bulk GPX Viewer on Github
ufiby
Engineer
Engineer
Posts: 113
Joined: 18 Nov 2017 13:58

Re: Subsidy question.

Post by ufiby »

Adding to the settings is not the best option. Currently, there are too many settings in the game, it makes no sense to configure them. The subsidy should automatically determine the number of cities and industrial facilities based on the corresponding map sizes.
2022-01-15_17-11-14.png
2022-01-15_17-11-14.png (1.64 KiB) Viewed 106 times
Players choose the most specific numbers to get a subsidy - it's a bit strange. I would advise: this setting should be removed from the game. The subsidy is provided randomly by multipliers (min x1.5, max x4) and duration (min 1 year, max 5 years)
User avatar
2TallTyler
Transport Coordinator
Transport Coordinator
Posts: 371
Joined: 11 Aug 2019 18:15
Location: Colorado, USA
Contact:

Re: Subsidy question.

Post by 2TallTyler »

We do have configurable subsidy duration now, but I'm still interested to see more expansion of the feature, preferably without expansion of settings. Enabling subsidies with cargodist is a possibility (the original reason for disabling it seemed to be fear of player confusion regarding cargo traveling over a subsidized route and not receiving the subsidy), as are proposals to change the mechanic entirely.
User avatar
kamnet
Moderator
Moderator
Posts: 7763
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Subsidy question.

Post by kamnet »

ufiby wrote: 15 Jan 2022 14:22 Adding to the settings is not the best option. Currently, there are too many settings in the game, it makes no sense to configure them. The subsidy should automatically determine the number of cities and industrial facilities based on the corresponding map sizes.
Image
Players choose the most specific numbers to get a subsidy - it's a bit strange. I would advise: this setting should be removed from the game. The subsidy is provided randomly by multipliers (min x1.5, max x4) and duration (min 1 year, max 5 years)
This seems reasonable to me. Leave it as an expert setting.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 1 guest