Page 1 of 1

Couple et Uncouple operations

Posted: 13 Apr 2022, 22:13
by Citadis
Hi there ! I just made this code for an testing activity, and I have some questions.

Code: Select all

<activity name="JoinSplit" mappack="LUI" mapfile="" time="08:00:00"> 
 <playerduty title="JoinSplit tests" starttime="08:00:00" endtime="08:20:00">
  <duty startpos="Southwick Park" starttime="08:00:00" endpos="Simpleton" endtime="08:05:00">
   <line1>Drive train 4012KS</line1>
   <line2>Make some tests</line2>
 <controldata system="0" pack="LUI" file="Routes316.ctd">
    <train code="401">
      <duty code="401" number="401#VS" route="Green-VS"  time="08:03:00" ai="true">
         <!-- <split blocks="4301,4302,4303" cab="2" newcode1="9994SS" newcode2="4013SA"/> -->
         <split blocks="4301,4302,4303" cab="1" newcode2="9993NN" newcode1="4013SA"/>
      <duty code="401" number="401#SA" route="Green-SA" time="08:09:00" ai="true"/>
   <train code="402">
      <duty code="402" number="402#AS" route="Green-AS" time="08:03:00" ai="true">
         <!-- <join blocks="4301,4302,4303" junctiongroup="SPT" signals="SP12,SP34,SP14" train="999" reverseorder="true" newcode="4029SV"/> -->
         <join blocks="4301,4302,4303" junctiongroup="SPT" signals="SP12,SP34,SP14" train="999" newcode="4029SV"/>
      <duty code="402" number="402#SV" route="Green-SV" time="08:13:00" ai="true"/>
   <train code="444">
      <duty code="444" number="444#KG" route="Green-KG" time="08:28:00" ai="true" />
      <duty code="444" number="444#GJ" route="Green-GJ-Fast" time="08:52:00" ai="true" />

   <yard pack="LUI" file="SWD.cty" departures="auto" arrivals="auto">
      <shedule name="All" time="08:00:00" autodepartures="08:00:00" autoarrivals="08:00:00">
         <arrive code="402" train="4026SV" target="SWP" time="08:20:00" ai="true" track="4523" direction="-1" units="2" stop="1" />
         <depart code="444" train="4447KG" target="SWP" time="08:25:00" ai="true" track="4532" direction="1" units="1" signnumber="444" signdest="Green-GWR"/>
 <consist start="SWD11" controlsystem="0" trainnumber="4019VS" timetable="401" position="-9">
   <!-- <train pack="AlstomMetro" file="MF67_4car_Auteuil.xml">
    <train pack="AlstomMetro" file="MF67_3car_2012.xml">
      <cab id="0" ai="401" mycontrol="true"/>
      <car id="0" scrollsign1="1" scrollsign2="9" scrollsign3="99"/>
      <car id="1" scrollsign3="99"/>
      <car id="2" scrollsign1="1" scrollsign2="9" scrollsign3="99"/>
   <train pack="AlstomMetro" file="MF67_3car_2012.xml">
	   <car id="0" scrollsign3="14" scrollsign2="01" scrollsign1="1"/>
	   <car id="1" scrollsign3="14"/>
	   <!-- <car id="2" scrollsign3="14"/> -->
	   <!-- <car id="3" scrollsign3="14"/> -->
	   <car id="2" scrollsign3="14" scrollsign2="01" scrollsign1="1"/>

 <consist start="ADG6" controlsystem="0" trainnumber="4025AS" timetable="402">
   <train pack="AlstomMetro" file="MF67_3car_2012.xml">
	<cab id="0" enabled="true" ai="402"/>
	<car id="0" scrollsign3="14" scrollsign2="02" scrollsign1="12"/>
	<car id="1" scrollsign3="14"/>
	<!-- <car id="2" scrollsign3="14"/> -->
	<!-- <car id="3" scrollsign3="14"/> -->
	<car id="2" scrollsign3="14" scrollsign2="02" scrollsign1="12"/>

 <consist start="SWD32">
   <train pack="London" file="LUS7.xml"/>
1. With this code, the "split" train works successfully, but the joining train stays stuck at SP12 signal. Do you know why ?
2. After uncouple, train 999 create a big gap between itself and the train previously coupled, and backwards in unusable aera. Is there any method to prevent that, or to reduce the gap ?
3. The train 402 (after manual control to pass the signal) doesn't want any more to couple with 999 still at station. How can I correct it ?
4. After depot departure, train 444 is not recognized as it should be. Well I don't know where this can came from

Last, I identified in a file, a <joinsplit /> tag. How to use it ?

Tkanks for answer