Jump to content

jeroezie

Member
  • Posts

    127
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by jeroezie

  1. In my scenario, it does not matter what channel is used or you use zew 1 or 3 (in most other scenario's it does matter). Where were you standing?
  2. I tried, for me the signaller DGZ cleared the signals after he asked for ready for departure conformation and I called the signaller back. Did you experience this problem once or multiple times?
  3. Theire is no time limit. The 441051 is not important at all, its only a scenery train with a route that does not conflict with the players route. Afther running the locomotive around for departure towards Huta Katowice, you will have to waith until 16:04, then a pendolino towards Warsvhaw should show up. Afther that one has passed, the signaller should ask for your conformation that you are ready to depard, you should call back and your train route gets set up. Did the pendolino show up? Was their an passenger train standing still towards Katowice?
  4. It seems all right. Have you been in the rear cabin? The game likes to do things over their if you are only walking trough it or changing the shunting lights. Especially with the reverser, train brake lever or radio splitter.
  5. Can you send a picture of all the indicator lamps and meters of the cabin, please? I did not do anything to cause such an thing.
  6. Where are you in the scenario? Personally, I have made many mistake when changing cabins. Have you checked, that you did not forget something when changing cabins?
  7. I was trying your scenario (the easy version to be honest). When driving, some objects appeared in the line. Fallen tree, a bunch of dear. How to you get past them? I always see them late and smash in to them, causing an accident and the scenario failing because of it.
  8. Hello all, I have created this cargo scenario. Your train is standing at Sosnowiec Dandowka and unfortunately can't continue towards Dorota due to 'logistical difficulties'. So your train got rerouted via Dąbrowa Górnicza Ząbkowice to keep other traffic flowing around Dorata. To start, run the locomotive around the train at Sosnowiec Dandowka, wait for the train coming from Sosnowiec Południowy to arrive and depart towards Dąbrowa Górnicza Ząbkowice. After arrival their, run the locomotive around again so you can finally depart towards Dąbrowa Górnicza Towarowa. Please be aware, that the Towarowa cargo yard does not exist in the game world. The scenario will finish a bit before leaving the properly made part of the world. I hope that you don't mind spotting a bit of unfinished scenery in the background. Its not supposed to be able to get their al all, that also explains why I had to use some trickery to let the train pass signal Koziol C. Setting up shunting routes at Dandowka does not work everywhere yet, so some tricks are used. This gives at some signals a different HUD indication than the signal displays. A signal can safely be passed, if the dispatcher tells you, that the signal can be passed or the signal displays a clear indication, when the HUD does not. You can choose to do the scenario with an EU07 locomotive, the train will be 457 m long, 1356 tons heavy. Or with an Br 186, 530 m and 1680 tons. The ET22 is also an option, 561 m long and 1939 tons. The EU07 and Br 186 trains run with the waggons in P brake setting, the ET22 is in G setting. A brake sheet and timetable are provided in the game files. For the retro locomotives, a cheat sheet for doing the cabin change can be found on the backside of the in game timetable. I would like to thank all who provided help on the Discord server with all my questions when making the scenario. I hope you like the scenario! I am interested in all your feedback so I can improve my scenarios and if you encounter a bug, please let me know. Installation: unzip one of the .zip files in the 'Scenarios' folder, which can be found in any existing scenery folder (1_KatowiceWarszawa or 2_StaszicSedziszow). Dandowka_Towarowa_Br186.zip Dandowka_Towarowa_ET22.zip Dandowka_Towarowa_EU07 (version 1.1).zip
  9. If you could use some help to do an experiment at Katowice Zawodzie, you can let me know. I am happy to help.
  10. It would be best, if theire was a way to get Spl to clear its entry signal, what the dispatcher at SG could see and afther that he clears the SG exit signal. But somehow that is difficult to explain to a player, let alone to program a bot to do this reliably.
  11. You are aware that json bases scenario'sie an outdated way of programming scenario's? I thought lets mention it before you might waste a lot of time learning to understand json and then not being able to use your json work in the future.
  12. At what track where you standing? At the track where the train spawns at the start or at the platform?
  13. That ting with multiple pt's at Glowny is on purpose. Their is a bug with the schedules if their are 2 or 3 stations, so I needed to ass some more.
  14. The time you show up should not matter at all, please let me know how it goes.
  15. Was this the signal where you got stuck? In testing it did not always clear like it is supposed to do, but I can't reproduce the problem. The scenario I supposed to and next to the carriage shed, as soon as you stop their. Or in more technical terms, as soon as you are within 390 m of signal KO_Tm504 and come to a complete stop. I actually did not 'time' most of the AI trains. A lot of them follow the current multiplayer schedule and the first 3 will always run on that time (although the glorified tram departs with a minute delay). Only from the cargo train that depart from SPl the actions of the player are influencing the AI trains.
  16. Thanks for your feedback. For the departure at Katowice, the signal is programmed for 2 conditions to be met. 1. The train is facing towards the signal M10, towards Katowice Zawidzie; 2. Its 90 seconds or less (if I remember correctly, I am at work now) before the scheduled departure time. For the first condition, it is important that the driving cabin is set up correctly and the non driving cabin is disabled correctly. Make shure to disable an driving cabin: Put the reverser in the 'disabled' position; Put the brake lever in the 'disabled ' position,make shure to apply the breakes before disabling them; Turn the cabin off by switching the operating power of the cabin off (the only double switch on the panel in front of the driver). You also should nog forget to operate your lamps, doors etcetera but the signal trigger does not check for that. To activate the other cabin, you do the same thing but the opposite way of course. The EN57 does not really care about the order you do thd things in. Also, the game accept the reverser in both the forward I and forward II position. Even putting the reverser in the backwards position in the rear cabin works fine. Please let me know whether you get it to work or not. I am also interested, if the amount of time before departure is right or not.
  17. Scenario Drive in the late evening an passenger train from Katowice to Sosnowiec Główny via Sosnowiec Południowy. Then, drive empty stock back to Katowice Zawodzie and shunt your train to an track at the workshop. The scenario includes shunting with EN57 stock at the beginning and end of the scenario. AI driven trains are present and takes about 50 minutes to complete the scenario. Installation Unzip the "KO_SG_KZ_44698.zip" archive in your `Steam\steamapps\common\SimRail\SimRail_Data\StreamingAssets\Sceneries\1_KatowiceWarszawa\Scenarios` folder. Known problems The game mechanic for changing between shunting and train mode only works if you stand still and the next signal is cleared. You can check if you are in shunting or train mode, if you look at the max allowed speed it will be 25 km/h when shunting. If its wrong, don't pass the signal but stop an extra time. A couple of times the signal trigger at Sosnowiec Główny did not work properly, if the signal is not cleared at 01:19, put the reverser in reverse and then back to normal driving, the signal should clear. I would like to hear your feedback! I hope you all like the scenario. KO_SG_KZ_44698.zip
  18. Hello, I found an bug when making an scenario with lua files. At Katowice Zawodzie, it is not possible to have both set up an train route from signal P to signal E and an shunting route from signal N10 to signal Tm10 (on the shunting track towards the workshop). If you want to clear one of those routes, it works fine. The problem starts when you also want to have the second signal cleared. If you set up the route from signal P to an other signal (D1, D2 or E3), you can have both the train route from signal P and the shunting route from N10 to Tm10 cleared simultaneously. A sketch with what route are and are not possible at the same time is included. The problem occurs if you try to clear the routes with code in the .lua file and with the developer menu.
  19. Luckily the base year for the simulation is 2018... I believe is wass still mechanical at that time.
  20. This will make dispatching at Lazy LC a lot easier, thanks.
  21. Thats the developer menu, which is available to the public. See here: https://wiki.simrail.eu/LUA/developer-tools
  22. The editor is not released yet. The only current option is to code the lua files manually.
  23. I tried some more today and I keep getting stuck with the signal triggers: Code I have tried: -- 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 KO perron 3 --StartPosition = {-10453.90, 271.73, 1498.06} -- spawn close to Katowice dispatcher building --StartPosition = {-8002.45, 265.52, 1563.43} -- spawn at Katowice Zawodzie for testing purposes 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() DisplayMessage("LuaText", 10) DisplayChatText("LuaText2") SetCameraView(CameraView.FirstPersonWalkingOutside) -- Spawn the players train PlayerTrainset = SpawnTrainsetOnSignal("trainset", FindSignal("KO_T"), 64, false, true, false, true, { CreateNewSpawnVehicleDescriptor(LocomotiveNames.EN71_011, false) }) PlayerTrainset.SetState(DynamicState.dsStop, TrainsetState.tsActivation, true) PlayerTrainset.SetRadioChannel(2, true) PlayerTrainset.SetTimetable(LoadTimetableFromFile("Temp/main_vehicle.xml"), false) -- Spawn a scenery train at Katowice Zawodzie SpawnTrainsetOnSignalAsync("static_train_KZ", FindSignal("KZ_N8"), 64, false, false, true, { CreateNewSpawnVehicleDescriptor(LocomotiveNames.ET22_836, false), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames._441V_31516635283_3, false, FreightLoads_412W_v4.Sand, 20, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames._441V_31516635512_5, true, FreightLoads_412W_v4.Sand, 20, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.SGS_3151_3944_773_6, false, "", 0, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.EAOS_3356_5300_177_6, false, FreightLoads_412W.Tree_trunk, 5000, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.SGS_3151_3947_512_5, false, FreightLoads_412W.RandomContainerAll, 10, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.SGS_3151_3944_773_6, false, FreightLoads_412W.RandomContainer2040, 10, BrakeRegime.P), CreateNewSpawnVehicleDescriptor(FreightWagonNames.Zas_8451_7862_699_8, false), CreateNewSpawnVehicleDescriptor(FreightWagonNames.Zaes_3351_7980_031_3, true), CreateNewSpawnVehicleDescriptor(FreightWagonNames.UACS_3351_9307_587_6, false), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.EAOS_3151_5349_475_9, false, FreightLoads_412W.Coal, 10000, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.EAOS_3151_5351_989_9, false, FreightLoads_412W.Coal, 10000, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.EAOS_3356_5300_118_0, false, FreightLoads_412W.Coal, 10000, BrakeRegime.P), CreateNewSpawnFullVehicleDescriptor(FreightWagonNames.EAOS_3351_5356_394_5, false, FreightLoads_412W.Coal, 10000, BrakeRegime.P), CreateNewSpawnVehicleDescriptor(FreightWagonNames.Zaes_3351_0079_375_1, true), }) end --function Test() -- PlayerTrainset.SetTimetable(LoadTimetableFromFile("Temp/main_vehicle2.xml"), true) --end PlayerTrainset = nil --- Function below is called by SimRail when VD is ready to start receiving orders function OnVirtualDispatcherReady() Log("Hello world!") DisplayChatText("Het sein wordt zometeen bedient.") VDSetRoute("KO_T", "KO_M1", VDOrderType.TrainRoute) end CreateSignalTrigger(FindSignal("KO_M1"), 360, { check = function(trainset) return trainset == PlayerTrainset end, result = function(trainset) VDSetRoute("KO_M1", "KO_E13", VDOrderType.TrainRoute) end }) --CreateSignalTrigger(FindSignal("KO_M1"), 150, --{ -- check = function (trainset) -- return true -- end, -- result = function(trainset) -- VDSetRouteWithVariant("KO_E13", "KO_Ckps", VDOrderType.TrainRoute, { -- GetMidPointVariant("z_KO_24cd", false), -- GetMidPointVariant("z_KO_24ab", false), -- GetMidPointVariant("z_KO_13cd", false), -- GetMidPointVariant("z_KO_13ab", false), -- GetMidPointVariant("z_KO_6cd", false), -- GetMidPointVariant("z_KO_6ab", false) --}) -- -- end --}) or: CreateSignalTrigger(FindSignal("KO_M1"), 20, { check = function (trainset) return true end, result = function(trainset) VDSetRoute("KO_M1", "KO_E13", VDOrderType.TrainRoute) end }) Is their anybody with I clue what I am doing wrong?
  24. Unfortunately I was not able to get your code to do anything. I am fully aware of the wiki made by the developers and the example scenario template by them, but they don't provide enough information/explanation of the code to made them understandable for someone hoe does not know how to code with lua already.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy