Page 1 of 1
Rules for train entry 26/05/2015 at 23:56 #72761 | |
Temple Meads
![]() 307 posts |
Hi all, Never bothered using rules very much, but on my current project I've decided to make a bit more use of the feature. The scenarios are thus: Train 6V01 is scheduled to enter at 1220, as is 6Z02, both at the same location. I only want one of those trains to run. Train 7D04 is scheduled to enter at 1400, as is 0D04 at 1430, different locations. Again though, I only want the one train to run. What is the correct way to set rules up so the above happens? Thanks in advance Username TIM in multiplayer Log in to reply |
Rules for train entry 27/05/2015 at 00:11 #72762 | |
AndyG
![]() 1842 posts ![]() |
6V01/6Z02: Either make the 2 trains 'mutually exclusive', or Train A with an x% chance of running and train B must not run if train A runs. 7D04/0D04: Assuming no interelated activities within sim, probably best option is 7D04 runs x% of time, and 0D04 must not run if 7D04 runs. No doubt our WTT rules guru Postal will probably be able to advise more precisely, having refined many WTTs and rules. ![]() I can only help one person a day. Today's not your day. Tomorrow doesn't look too good either. Log in to reply The following user said thank you: Temple Meads |
Rules for train entry 27/05/2015 at 01:54 #72767 | |
GeoffM
![]() 6344 posts |
" said:6V01/6Z02:Don't use the second options if the train times are close to each other. There is a risk that train B will enter before train A and then no rule to stop train A entering as well. SimSig Boss Log in to reply The following user said thank you: Temple Meads |
Rules for train entry 27/05/2015 at 05:42 #72768 | |
Danny252
![]() 1461 posts |
Is not "Are Alternatives" a far easier way to implement these sorts of, well, alternative trains? Handles all the problems of making sure that both trains are aware of each other, and you don't need chains of very carefully selected running chances.
Last edited: 27/05/2015 at 05:44 by Danny252 Log in to reply |
Rules for train entry 27/05/2015 at 07:25 #72770 | |
clive
![]() 2766 posts |
" said:Is not "Are Alternatives" a far easier way to implement these sorts of, well, alternative trains? Handles all the problems of making sure that both trains are aware of each other, and you don't need chains of very carefully selected running chances.Indeed; that's why I added it! Log in to reply |
Rules for train entry 27/05/2015 at 09:52 #72773 | |
jc92
![]() 3649 posts |
" said:" said:Alternatives doesnt seem to work atm. Ive been using it with UIDs to run the same baĺlast train with two different destinations running as a Q train. Both enter every time.Is not "Are Alternatives" a far easier way to implement these sorts of, well, alternative trains? Handles all the problems of making sure that both trains are aware of each other, and you don't need chains of very carefully selected running chances.Indeed; that's why I added it! "We don't stop camborne wednesdays" Log in to reply |
Rules for train entry 27/05/2015 at 10:20 #72774 | |
58050
![]() 2652 posts |
jc92 wrote: Quote: Can't say I've had that problem. Alternatives were created for the salisbury 1988 tt with the Speedlink MoD service going to either part of dinton MOD sites & during testing that seemed to work OK each train appeared to either destination, but none of them entered together. Log in to reply |
Rules for train entry 27/05/2015 at 12:16 #72776 | |
Meld
![]() 1108 posts ![]() |
" said:" said:Joe - havent got identical UID's have you ?? I've had a similar problem when the UID is identical - simple solution was to add a suffix letter" said:Alternatives doesnt seem to work atm. Ive been using it with UIDs to run the same baĺlast train with two different destinations running as a Q train. Both enter every time.Is not "Are Alternatives" a far easier way to implement these sorts of, well, alternative trains? Handles all the problems of making sure that both trains are aware of each other, and you don't need chains of very carefully selected running chances.Indeed; that's why I added it! ![]() Passed the age to be doing 'Spoon Feeding' !!! Log in to reply |
Rules for train entry 27/05/2015 at 12:29 #72777 | |
postal
![]() 5216 posts |
" said:" said:Joe" said:Alternatives doesnt seem to work atm. Ive been using it with UIDs to run the same baĺlast train with two different destinations running as a Q train. Both enter every time.Is not "Are Alternatives" a far easier way to implement these sorts of, well, alternative trains? Handles all the problems of making sure that both trains are aware of each other, and you don't need chains of very carefully selected running chances.Indeed; that's why I added it! There is a problem which I've logged on Mantis regarding UIDs and the "are alternatives" rule if there is another rule linking the entry back to something earlier in the sim like the exit of a previous train. There is some clash in the core code and the "are alternatives" rule is overridden. The outcome is not consistent; I tested with 3 "are alternative" variants all linked back to the exit of the same previous train. I have instances of 0,1 and 2 trains entering. Applying the same rules with TDs rather than UIDs works correctly. Is this what is happening in your case? “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Last edited: 27/05/2015 at 12:29 by postal Log in to reply |
Rules for train entry 28/05/2015 at 09:02 #72789 | |
clive
![]() 2766 posts |
" said:Number? Log in to reply |
Rules for train entry 28/05/2015 at 09:11 #72790 | |
Peter Bennet
![]() 5377 posts |
#13280 has some bearing I think. Peter I identify as half man half biscuit - crumbs! Log in to reply |
Rules for train entry 28/05/2015 at 10:23 #72795 | |
postal
![]() 5216 posts |
" said:" said:12635Number? “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Log in to reply |
Rules for train entry 15/06/2015 at 20:50 #73420 | |
postal
![]() 5216 posts |
" said:" said:Thanks to Clive's hard work, this can now be handled using the Decisions module rather than the "are alternatives" rule. Leave the rules in that Trains B,C and D must enter X minutes after Train A has left the sim, but take out the rules that Trains B, C and D are alternatives. Then create a new Decision (let's call it PickMyTrain). Within this decision enter 3 choices (maybe TrainB, TrainC and TrainD) each with a weighting of 1 if you want an equal split of entries. You don't need specify any rules or put any text into any of the boxes apart from the Choice Name. Then go to the TT for Train B and in the Decision Box enter PickMyTrain and Choice TrainB. Do similar for Trains C and D and if my testing so far is valid, then you will only see one of the three enter in line with the rule about X minutes after Train A." said:12635Number? “In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe Log in to reply |
Rules for train entry 31/07/2015 at 01:32 #74611 | |
BarryM
![]() 2158 posts |
Whilst editing a Decisions module, deleting a train in Choices, it produced an Access Violation which appears to have deleted everything in the module when I acknowledged the message. ":Access violation at address 004C0BDF in module SimsigLoader.exe: Read of address 00000004" At the moment, I cannot reproduce the violation. Loader version: 4.5.1 Barry Barry, Sydney, New South Wales, Australia Log in to reply |