-
Posts
125 -
Joined
-
Last visited
-
Days Won
1
Everything posted by jeroezie
-
The Driver Machine Interface should indicate what level you are in, it should be either SPH (the normal level for Poland, you need to press the vigilance button before every signal) or any ETCS/ERTMS level, which should be Level 1 or 2. If you need to pass an signal at danger with an subsidiary signal lit (flashing white), I believe you need to activate the override first. I did not finish the ERTMS tutorial either so I am not 100% sure about how it works in Poland.
-
Hello all, I could really use some help with making a LUA scenario. I have found out how to spawn in a train in loading sequence and set up shunting/train routes. My problem is, that I don't understand how to code for letting things happen when out reach a certain track/signal or call the dispatcher at a certain location or moment in the scenario. Does someone know, where to find g good example or explanation on how to do so? I have provided the code I made up so far below. -- SimRail - The Railway Simulator -- LUA Scripting scenario -- Version: 1.0 -- require("SimRailCore") DeveloperMode = function() return true end -- StartPosition = {-10709.52, 282.68, 1584.34} -- spawn at perron 3 StartPosition = {-10453.90, 271.73, 1498.06} -- spawn close to Katowice dispatcher building Sounds = {} --Below are functions called by SimRail --- Function called by SimRail when the loading of scenario starts - generally designed for setting up necessery data and preloading-assets function PrepareScenario() end --- Function called by SimRail when the loading finishes - you should set scenario time in here, spawn trains etc. After calling this mission recorder is started and stuff gets registered function StartScenario() StaticTrains = {} StartRecorder() --VDSetCrossingState("L1_289.317_A", true) DisplayMessage("LuaText", 10) DisplayChatText("LuaText2") --WaitingBeforeZabkowiceEntry = false SetCameraView(CameraView.FirstPersonWalkingOutside) PlayerTrainset = SpawnTrainsetOnSignal(Treintje, FindSignal("KO_Tm26"), 32, false, true, false, false, { CreateNewSpawnVehicleDescriptor(LocomotiveNames.EN57_1821, false) }) PlayerTrainset.SetState(DynamicState.dsStop, TrainsetState.tsActivation, true) PlayerTrainset.SetRadioChannel(2, true) PlayerTrainset.SetTimetable(LoadTimetableFromFile("Temp/main_vehicle.xml"), false) --SetTestScenario() end --function Test() -- PlayerTrainset.SetTimetable(LoadTimetableFromFile("Temp/main_vehicle2.xml"), true) --end --- Function below is called by SimRail when VD is ready to start receiving orders function OnVirtualDispatcherReady() Log("Hello world!") DisplayChatText("Your train is located at track 22. Thats the track next close to platform number 5 and track 26.") VDSetRouteWithVariant("KO_Tm26", "KO_N10", VDOrderType.ManeuverRoute, { GetMidPointVariant("l1_ko_wk6", true), GetMidPointVariant("z_KO_43", false), GetMidPointVariant("z_KO_44", false), GetMidPointVariant("z_KO_46ab", true), GetMidPointVariant("z_KO_46cd", false), GetMidPointVariant("z_KO_47", true) }) DisplayChatText("Its very qwuite at the moment, I will set the shunting routo to the platform for you already. You can drive to the platform track when you are ready do to so.") DisplayChatText("Could you let me know when you are ready for departure from the platform?") end function OnPlayerRadioCall() -- Set train routes and clear signals from KO to SPl VDSetRouteWithVariant("KO_E18", "KO_Akps", VDOrderType.TrainRoute, { -- From KO to KZ GetMidPointVariant("z_KO_21cd", false), GetMidPointVariant("z_KO_21ab", false), GetMidPointVariant("z_KO_14cd", false), GetMidPointVariant("z_KO_14ab", false), GetMidPointVariant("z_KO_8cd", false), GetMidPointVariant("z_KO_8ab", false) }) --- VDSetRouteWithVariant("KO_M10", "KO_E18", VDOrderType.TrainRoute, { -- KO departure from platform GetMidPointVariant("z_KO_47", false), GetMidPointVariant("z_KO_42cd", false), GetMidPointVariant("z_KO_42ab", false), GetMidPointVariant("z_KO_41cd", false), GetMidPointVariant("z_KO_41ab", false), GetMidPointVariant("z_KO_38", false) }) VDSetRoute("KZ_P", "KZ_E", VDOrderType.TrainRoute) -- KZ entry VDSetRoute("KZ_E", "KZ_B2kps", VDOrderType.TrainRoute) -- KZ departure VDSetRoute("SG_Y", "SG_Skps", VDOrderType.TrainRoute) -- SG R52 VDSetRoute("SPł1_T", "SPł1_C", VDOrderType.TrainRoute) -- SPl entry end I hope that there is example with detail comments or instructions on how to do it, the ScenarioTemplate in the game files and the wiki from the developers in its current state do not provide enough information for me to be able to continue tinkering.
-
Today I found out (by accident), that setting up and clearing train routes towards Myslowice track 1 (left track) does not work. The littele arrow for teh exit direction does not light up when you have selected the signal you want the train to go from, towards Myslowoce track 1. All other exit arrows to light up (exit for Glowny included, even with the lineblock not set up for it)
-
In what mode is the etcs systeem when the problem occures?
-
More Train Description Info
jeroezie replied to Friedjof's topic in Suggestions for improvements [Multiplayer]
I agree, an general rule for sending slow freight trains in front of an pwj that kan do 160 km/h does not make sence to me. -
I agree theire where not enough Dutch speaking players around to justify running an Dutch server.
-
Thanks, this trick helpt me out in another scenario (that I downloaded from the forum) where I had the same problem.
-
-
Very interesting how this numbering works. Although I don't think the dev's will switch to a numberi g system that allows largdger numbers than 255 for those couple of tracks where it is a problem.
-
I think you are right. Only passenger trains makes dispatching quite boring to do, especially on the smaller stations. If the speed differences become to lardge, maybe the developers could consider adding more empty stock trains or single locomotive trains. Maybe they could plan these to and from the different workshops along the lines?
-
Hello Angelo, your website is a very useful tool and it also looks very cool. I noticed a small mistake when playing at Lazy La signal box, track 224 between Lazy Lc and La is mislabelled as track 324.
-
Theire are two batteries for the DE 6400 provided, so you can swap them out easely during your shift. A picture of the battery loader of the 6477 in The Netherlands i provided.
-
I expect that they will start fairly simple with shunting. For example, bring an passenger train from a siding to the platform. And then see how it goes and expand the shunting process in steps.
-
I am not shure what you mean by adding in 'back'. But I really hope that the developers will add shunting to the game soon!
-
Łazy Ła departure signal to track 123 not working
jeroezie replied to jeroezie's topic in Issues archive
I am also not able to reproduce the error. When I wrote the bug report, the Lazy dispatcher AI indicated all the times that the track 123 was free, you can see the text messages in the photo's. It is supposed to send an unable to accept message, which it sends when the track is occupied. I tries that today, see picture. -
I was playing on the EN2 server and have found that it is not possible to clear signals, from any track, towards track 123 (line 160). I have asked the is the path free message to the Łazy signal box and go the for train ... path is clear message back. An example with train 244041 is included in the picture, setting a route up towards track 123 was not possible. On the other hand, setting a similar route up towards track 125 works fine (even without asking the next AI dispatcher). I had this problem with all trains that I tried to send towards track 123 in they play session, from any track inside my station. The in game time for my example was 11:22, date 26-08 (in game time and date). Or 00:22 UTC + 1, 25-11-2023. I had the same problem at 11:45 (in game time) or 00:45 (UTC + 1) with train 441043. Sending it to track 125 worked fine again. Also a little not to the developers, I really like the update! SimRail_log_2023-11-24_21-46-14.txt
-
Is there an advanced dispatching guide ?
jeroezie replied to GHKtruc's topic in General Discussion [Multiplayer]
For the shunting part, I believe that setting up shunting routes is disabeled completely at the moment. Lets hope that the devs will introduce shunting to the game soon. Did you send the 412xxx traind towards the upper Radize track? And did you request a lineblock and set up the singe track line bl9ck equipment correctly? It is not a double tracked line. -
Hello, I have notices a bug with setting up a train route at Dąbrowa Górnicza Wschodnia station. It only happens when you want to set up an specific route for an train coming from Koziol, track 1, to tracks 6 or 8. It is not possible to set up an route from signal W, via switch 61cd to track 6 or 8. Signal W will refuse to change from danger to clear. It is possible to set up this route over switch 53cd, so the flow of trains is not hindered by this bug. I will attach pictures with the route that can not be set up. I encountered this problem on multiple servers/sessions, I have included the log of an session on server EN1 on the 7th of June 2023, the pictures are also of this session. This is my first bug report, if I forgot to include something, please let me know. SimRail_log_2023-06-07_17-09-31.txt