Recent Posts

Pages: 1 ... 7 8 9 [10]
Extension Requests / Re: Constraint-Groups
« Last post by Leartin on June 21, 2017, 06:30:14 AM »
James, that's the complex kind of approach that's discussed in the other thread. Not that I wouldn't like it, but it's a total overhaul of how constraints work. In order to use it effectively, pretty much all vehicles of a pakset need to be adjusted, and due to it's complexity, I'm not sure it would be implemented in Standard even if a patch existed. The suggestion here is of much smaller scope and technically does not add new functionality, since the same could be achieved by manually typing all members of a group instead of the group. It's more about convenience.

Since the suggestions do not clash and try to achieve slightly different things, I stongly recommend to keep them seperated. Discussion about complex constraints can be found here:

That being said, I don't think we need a cross-pakset-general-discussion about what constraints should or shouldn't be used for. It was tiresome enough in the small circle of p192c-devs, and there is no definitive answer. Having everything go with everything, to restricting wagons to only combine with their own set: It's not "better" or "more realistic", it's just a design choice, all it needs is consistency in itself.
Extension Requests / Re: Constraint-Groups
« Last post by Ters on June 21, 2017, 05:30:02 AM »
I still think brakes are a poor example for constraints. Constraints are fixed, brake systems are not. Let alone other connections, like cables for electricity and remote control. I just saw a picture of a flat wagon that was upgraded with the necessary cables, and perhaps other things, required for operating together with coaches just for a few weeks in a television show this summer.
Simutrans Extended Discussion / Re: Do Industries Grow Their Base Production?
« Last post by DrSuperGood on June 21, 2017, 04:09:34 AM »
The spawning algorithm is such that every time a city reaches a population milestone an end consumer industry is created. If there is not enough supply for the new consumer then a number of suppliers may be created as well. Exception being if suppliers do not exist due to timeline constraints.
Extension Requests / Re: Constraint-Groups
« Last post by jamespetts on June 21, 2017, 12:18:42 AM »
Simutrans-Extended uses a system of constraints for ways (way constraints) which might work also for vehicles: permissive constraints and prohibitive constraints. Each way type and each vehicle type can have up to 8 permissive, and up to 8 prohibitive constraints set. Each of them are numbered from 0 to 7 and can be translated into a specific name.

If a way has a prohibitive constraint, no vehicle other than a vehicle that has the same prohibitive constraint may pass over that way. This is used for restricted ways, e.g. very narrow tunnels such as those used by Tube trains.

If a vehicle has a permissive constraint, it can only travel on ways that have the same permissive constraint set. This is used for restricted vehicles, e.g. those that require a specific type of electrification. (Dual voltage vehicles are then made by having them defined as being electric without any permissive constraints set).

A similar system, with some adaptations, might be used for connecting vehicles. For example, if vehicle type A had prohibitive constraint 0 set, it would be able to couple only to other vehicles with prohibitive or permissive constraint 0 set. A vehicle with permissive constraint 0 set would be able to couple to any vehicle (a) without any prohibitive constraints; or (b) with prohibitive constraint 0 set. Other vehicles' permissive constraints would be ignored.

One might also want to specify alternative constraints: if vehicle type A had alternative constraints 1 and 0, vehicle type A could couple to any vehicle with a prohibitive, permissive or alternative constraint of 1, 0 or both 1 and 0, but not any vehicle that had neither.

For example, one type of railway carriage may have only vacuum brakes. Other types of railway carriage might have only air brakes. Others still may have both air and vacuum brakes. Coding the carriage with both as having an alternative constraint of both vaccum and air brakes (say constraint nos. 0 and 1) would allow it to couple to any vehicle with vacuum and/or air brakes. Through-piped goods wagons, without automatic brakes of their own, but with pipes to enable them to be connected to locomotives with vacuum or air brakes and to other wagons that have those sorts of brakes could be coded as permissive 0 and 1. Likewise, locomotives that can either be coupled to unfitted freight wagons (with no vacuum or air brake constraints) or fitted freight wagons or passenger carriages (with vacuum or air brake constraints) could have permissive constraints of types 0 and 1.
Simutrans Extended Development / Re: Various bugs
« Last post by jamespetts on June 20, 2017, 11:44:53 PM »
I have fixed some problems with the in transit numbers recently - can you check whether this addresses the issues that you have reported?

I am afraid that your saved game file has now expired, so I cannot investigate issue no. 2. No. 3 does not seem to be a bug, as that error message does not by itself indicate a bug. As to no. 4, although you can delete the stops, when the convoy actually gets to make the journey that is too long, it will refuse to start out on the basis that it is out of range.

If you can re-post the file so that I can look into issue no. 2, I should be grateful. As I wrote originally, however, since I do this as a hobby and have very limited time for this, it would be much easier if you were to post one bug report per thread.
Apologies for not getting to this earlier: I do not think that this is incorrect behaviour, since, in token block signalling, the line is only considered clear once the token has been released, and it can only be released by being put back into a token machine, which, in Simutrans-Extended, we represent by a token block signal (the little token cabinet graphic beside the signal depicts the token machine into which the driver deposits the single line token). Thus, you need to have token block signals at both ends of a section in order for token block signalling to work correctly.

I am due to make a video on token block signalling at some point which will hopefully explain these things.
I think that I have managed to fix the issue with long block signals making directional reservations beyond one way signs: would you be able to re-test? Thank you for the report.
I have just made some changes relating to one train staff signalling to fix a bug reported in another thread. My testing there showed that this was no longer a problem, although I did not test all possible circumstances. Can either of you confirm whether this is still an issue?
I was not able to reproduce this specific problem, but I have found and fixed a different problem relating to the one train staff cabinet shown by your saved game. Are you able to test to see whether this improves matters?

Thank you for the report.
Simutrans Extended Development / Re: Transferring freight at stations
« Last post by jamespetts on June 20, 2017, 09:56:27 PM »
The fluctuating transfer time was caused by a system that increases transfer times for overcrowded stops. However, there was an error in the mechanism for computing whether stops were overcrowded, which I have now fixed. Would you be able to test whether this fix makes things better? Running your saved game with the fix applied, there are no longer situations where the trains are all waiting at once for coal.
Pages: 1 ... 7 8 9 [10]