Vehicle randomization when scenario is loaded

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
Posts: 1291
Joined: 18 Jan 2014 18:10

Vehicle randomization when scenario is loaded

Post by McZapkie »

Currently, vehicle maximal reliability is randomized upon map generation.
It is OK in case of random map (or heightmap) played, but in case of scenario used for multiplayer server (and breakdowns enabled),
whenever server starts, all vehicles have reliability same as when scenario was created. It narrows choices of vehicles, because in case of each multiplayer session,
all vehicles have assigned same maximal reliability, as in previously ones.

My proposal is to distinguish between sav and scn loading: while .sav should preserve all stats (for sake of proper network sync), max reliability would be randomized
when server is initiated by .scn loading (it occurs only when server is starting with -g parameter and file name ends with .scn, or by choosing "play scenario" menu)
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set.
Hosting [PL]Experimental server (usually JGRPP). Another favorite games: freeciv longturn, OHOL/2HOL.
Traffic Manager
Traffic Manager
Posts: 224
Joined: 08 Nov 2019 23:54

Re: Vehicle randomization when scenario is loaded

Post by LaChupacabra »

I've never been a fan of random reliability. Different every time? It doesn't make sense, especially with sets with a lot of competing vehicles like 2CC. Comparing dozens if not hundreds of vehicles each time to choose the best one? I like building, creating, not analyzing for hours what to choose and then quit the game because I don't have more time to play.
A lot of people play with breakdowns turned off, so let me ask you: What would your game look like if each vehicle had a different power or a different maximum speed each time you started a new game?

This was my objection to the generally random reliability. When it comes to adding randomness to loading scenarios, the argument against is the issue of competitiveness: if someone would like to organize an offline tournament, each player would have vehicles with different parameters.

This randomness may have been good when the vehicle selection was very limited, but not currently when there may be hundreds of vehicles to choose from in the game.

I would have another suggestion here:
So that the reliability is constant and determined by the developer of the add-on, not random and changing every time you run it. This would allow some advantages or disadvantages to be added to the selected vehicles which could outweigh other advantages or disadvantages of the vehicle.
Thanks to this could be available to choose a cheap but quite unreliable locomotive, and another one, more expensive but with clearly better reliability parameters.
In case the author did not specify this parameter, the reliability would be random, but invariant for a saved game or script.
There might also be an option for the add-on developer to specify the randomness range of this reliability as well as the initial reliability.
I am sorry for may English. I know is bed.
Posts: 33
Joined: 05 Jul 2018 15:38

Re: Vehicle randomization when scenario is loaded

Post by madrito »

Simplest patch for train breakdowns -

Option without random failures,
But minimizing caused from the user's decision :

Rule A) similar to the principle of slowdown when driving through many corners (bends) ,
More junctions ('railway crossover') under the driving composition is a infrastructure failure
and slowdown temporary

Rule B) The train can only stop when it has low reliability and one locomotive in the composition
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests