TSW: God Mode - Alpha 0.1.1

  • by Foobian
  • 25 upvotes
  • Downloaded 1964 times

TSW God Mode, currently still in very early alpha, wants to be a utility inside TSW itself in form of a pak mod, accessed by moving your mouse to the top edge of your screen while driving, to help modders with creating their own mods or anyone with just having a bit of fun!

Features

Runtime Timetabling
A UI for some of the ts2.rtt console commands allowing you to spawn any Formation or RVD (Rail Vehicle Definition = a single rail vehicle) at will and routing yourself to a marker or portal (now also via a dropdown field since Alpha 0.1.1)

Environment Settings
A UI for controlling most TSW Environment variables like Date & Time, Cloudiness, Precipitation, Wetness, Ground & Piled Snow, Wind Strength, how autumn- or winter-like the vegitation is, the temperature and Fog Density (and skylight intensity too because that's used pretty often as well)

Modder's Log
Because of Unreal Engine stripping all debugging features, including everything logging related, when TSW is getting cooked for you, the end user, modders have it hard to debug their own Blueprint-based mods. This mod introduces it's own log system to make the process of creating such mods a little easier.
Get the files required in the Editor on GitHub here!

Console
God Mode has a very basic console implemented that feeds the user's input into Unreal Engine's ExecuteConsoleCommand Blueprint node. That means that there's no console output and that SET/GET/GETALL do not work!

Zoomier Zoom
Zoomier Zoom is a seperate zoom system that zooms a lot more than TSW's before! FOV range is between 5 and 130

Changelog

Alpha 0.1.1

  • Window Resizing
  • God Mode added to "Island Line 2022"
  • Marker dropdown system implemented
  • Marker list added to all current routes (latest release: "Island Line 2022: BR Class 484")
  • Modder's Log "Event Begin Play" Fix: When log entries are made before the Widget has spawned (by using Event Begin Play) your entries will no longer be sent to the void, instead to a log buffer
  • Environment Settings Skylight Intensity slider replaced with spin box
  • German Localization added

Installation Instructions

Installed like any other pak-mod by being copied over to your Train Sim World 2's \WindowsNoEditor\TS2Prototype\Content\DLC\ folder

Tags: tsw2

Files

Foob_GodMode.pak 660 KB · Downloaded 937×

Previously uploaded files have been downloaded 1,027 times before being withdrawn.

Comments

Avatar of Laika
Laika 28 days ago

**Fantastic mod, only in alpha and already a game changer **

This comment was written for a prior version of this page.
Avatar of Future
Future 27 days ago

Just brilliant! It amazes me how far mods have come on since the early TSW2020 days to literal God Mode today

This comment was written for a prior version of this page.
Avatar of jorge1981
jorge1981 27 days ago

very good mod I liked it a lot but the locomotives that are generated with the mod do not work they do not advance

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 27 days ago

I've had them work fine for multiple people 🤔
What loco are you trying to sapwn?

This comment was written for a prior version of this page.
Avatar of jorge1981
jorge1981 27 days ago

I already tried with all the locomotives and they do not react

This comment was written for a prior version of this page.
Avatar of Steinchenwelt
Steinchenwelt 22 days ago

Hello,
I´ve tested around a bit and I have also come across multiple locos which didnt work:

RVD:(always as Light engines)
DCZ Railpool 185.2
DRA MRCE 185.5
DRA 363
DRA 146.2
KAH 187
DB BR 182

Formations:
DCZ Railpool 185.2
DRA MRCE 185.5
DRA 363
DRA 146.2 (does work if you drive it from the cab car)
KAH 187

All other trains I tested worked.

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Haven't tested them all but the BR 363 doesn't work for me neither. It runs when I spawn the loco, but as soon as I get seated in the cabin the engine shuts down and there is no possible way to start it up again.

When I spawn another 363 it's the same story, but when that engine shuts down the other loco starts up again!! Unable to drive it anyway. Strange...

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 22 days ago

So after some further testing of the locomotives Steinchenwelt already played around with (thank you very much for that):

The DRA 363 problems I can confirm to be like BassV explained. When spawning multiple DRA 363s they all are actually broken, but others engines turning on when sitting in another 363 is just TSW trying to save resources by simplifying the simulation of those other 363s, which in the process of simplifying seems to turn the engine back on. If you own DCZ I can assure you that the DCZ 363 works, don't know about the RSN one though.

All other locos Steinchenwelt listed I could get moving by toggling AFB on and off once.

Hope this helps and you can understand that I can't do anything about the DRA 363

This comment was written for a prior version of this page.
Avatar of Steinchenwelt
Steinchenwelt 22 days ago

Thanks for the tip with the AFB, its working now!

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Thanks for testing Foobian. I only have the RSN 363 and that one doesn't work. But a Class 66 works fine on dieseltracks too ;-)

Update: I got the RSN 363 working!! Turn off the power and fuel pump switch and then you can start the locomotive.

This comment was written for a prior version of this page.
Avatar of 𝕸𝖗 𝕽𝖔𝖑𝖊𝖝 [FR]

How is the program executed ?

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 24 days ago

The .pak file is installed like any other pak-mod for TSW by being copied over into the game's DLC folder like explained above in the Installation Instructions section of the mod page. In-game you access the mod's functions by moving your mouse to the top edge of the game while loaded into a route

This comment was written for a prior version of this page.
Avatar of Hauptmann Ålex | SFÅlex

How can I create marks for points I want to get guided to?

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 24 days ago

You can't create any, only use the ones DTG made

This comment was written for a prior version of this page.
Avatar of Hauptmann Ålex | SFÅlex

And where can I see/find those?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

The marker name you can either get with UUU (Universal Unreal Engine Unlocker) by entering the following commands:
GETALL TrackMarkerProperty MarkerName
GETALL NetworkPortalJunction PortalName

This comment was written for a prior version of this page.
Avatar of Tom_fresco
Tom_fresco 25 days ago

Absolutely love the ability to spawn locos and trains, great to discover unused brances :)

This comment was written for a prior version of this page.
Avatar of David.68
David.68 25 days ago

Le changement de locomotive ne fonctionne pas, cela provoque un déraillement et le scénario s'arrête

This comment was written for a prior version of this page.
Avatar of renkity
renkity 25 days ago

i literally made an account just to thank you. This is the thing that i needed in tsw. I always felt like there's not enough freedom, but this is something else. Just keep it updated and i'll love you for it.
Thanks<3

This comment was written for a prior version of this page.
Avatar of renkity
renkity 24 days ago

also could you please explain more the 'route me to function'? Does it make a path to the desired marker with setting up juctions and signals? If so, what exactly is a marker that I should put in?
Thanks

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 24 days ago

Yep it does exactly that.
The marker name you can either get with UUU (Universal Unreal Engine Unlocker) by entering the following commands:
GETALL TrackMarkerProperty MarkerName
GETALL NetworkPortalJunction PortalName
or you can wait for me to add manually put together lists for each route giving you a dropdown menu:
WIP: Marker Dropdown Menu

This comment was written for a prior version of this page.
Avatar of renkity
renkity 24 days ago

Thanks for your response, yet I don't feel very confident with the UUU, so I guess I'll just wait ^^

This comment was written for a prior version of this page.
Avatar of DerZugvogel
DerZugvogel 24 days ago

The UUU Does not work. If I press comma (thats the key i configured it to) nothing happens after injection. I really want to try out this feature

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 23 days ago

Train Sim World 2 overwrites the console key specified in UUU. Depending on your keyboard layout the console might actually be on the ~ or ⌃ key

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

If I type "GETALL TrackMarkerProperty MarkerName" in the console of UUU I get a long list of all the Markers (400+).

Is there a way to copy the output from the console to a text file?

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 22 days ago

Nope, i.g. the only way to get something out of that console is via your eyes, which is really hindering in many ways. But just so you know the marker dropdown is progressing well!
LondonFaversham Marker Dropdown

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Awesome!! All we need then is a map with the location of all the markers and portals hahaha! ;-)

This comment was written for a prior version of this page.
Avatar of 2_Transport
2_Transport 24 days ago

Ok first off, this mod is absolutely amazing!
Can there a thing where it disables the game forcing you to restart when passing red signals or derailing? And also when spawning trains or spawning stuff in general, can there be a way to remove them by any chance?

This comment was written for a prior version of this page.
Avatar of renkity
renkity 24 days ago

For passing red signals I use the Save bug (you pass the red signal and at the moment the notification pops up you press ESC and S (to save), then go to main menu and load previous saved game).
For disabling derailing I bet that the command ts2.dbg.DisableDerailment will help.
For deleting trains I use command ts2.dbg.RemoveTrainFromTrack, but I don't know how to use it properly yet.
If I understand correctly, you should use the commands with value (ex. ts2.dbg.DisableDerailment 1, but feel free to correct me on this one)

This comment was written for a prior version of this page.
Avatar of BassV
BassV 23 days ago

There is no need to pass a red signal anymore ;-) Find the name of the signal, let's say it is "LR 11" Then type in the console: "ts2.signals.setroute LR_11 0" without the " and the signal will be no longer red. If this doens't work then type "ts2.signals.setroute LR_11 1" or "ts2.signals.setroute LR_11 2" etc.

EDIT: I found out that some signals just won't change and they just stay red :-(

This comment was written for a prior version of this page.
Avatar of 2_Transport
2_Transport 17 days ago

alright, thanks!

Avatar of EiHowa
EiHowa 24 days ago

When I enter commands in the console they don't work. Do you know why?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 23 days ago

What command did you type? They do not all work, like the "getall" etc

This comment was written for a prior version of this page.
Avatar of EiHowa
EiHowa 24 days ago

I would be extremly happy if you're able to make it possible to add services to the timetable or create completly new ones and then be able to make the set of new timetables to a .pak so we can upload these timetables here on trainsimcommunity

This comment was written for a prior version of this page.
Avatar of scip
scip 24 days ago

awesome thx a lot thats what i always wanted 🥲

This comment was written for a prior version of this page.
Avatar of ~*.Alpha Foxy.*~
~*.Alpha Foxy.*~ 24 days ago

Hey I just downloaded your mod and installed it like it is explained but now my game constantly crashes

This comment was written for a prior version of this page.
Avatar of joakim
joakim 24 days ago

how do i get the train engine started i though the train does not want to run

This comment was written for a prior version of this page.
Avatar of Kian
Kian 24 days ago

Is it possible to get more information for console? How to create routes?

This comment was written for a prior version of this page.
Avatar of at07
at07 23 days ago

Hello,

A question regarding the control of the routes:

I enter in the menu my desired station to which I want to drive ... But the signal remains red for over 10 minutes.

What am I doing wrong?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 23 days ago

Maybe there is another train with a green signal that is blocking your route. And are you sure you typed the right name of the destination?

This comment was written for a prior version of this page.
Avatar of at07
at07 23 days ago

Nope

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Can you see the route on the map? Maybe there is no path from the track you are on? I've had the same issue. Tried another track as starting point and boom, the signal showed green. :)

This comment was written for a prior version of this page.
Avatar of Yazici50.61 02
Yazici50.61 02 22 days ago

Yes, I can see the path. It’s 1 station after Chemnitz Hbf and I start on the normal track.

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Hmm, don't know what's going on... sorry.

This comment was written for a prior version of this page.
Avatar of Ost-Trieb
Ost-Trieb 23 days ago

Is it possible with that mod to get a VR view?

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 23 days ago

No, that is not in the realm of possibilities for a "simple" TSW mod, because that would involve significant changes in the Train Sim World executable. There is paid a program called vorpX , which hacks VR into games on a driver level. But I have no experience with this program and have no idea how well it works with TSW.

This comment was written for a prior version of this page.
Avatar of DerZugvogel
DerZugvogel 22 days ago

I already tried it but the controls are very buggy (looking around) and the performance is very bad

This comment was written for a prior version of this page.
Avatar of Minako
Minako 22 days ago

DerZugvogel, how did you make VR?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 23 days ago

Awesome mod and a lot of fun to mess with! It has a lot of potential. How about adding the possibility to speed up the time with the "slomo" command or run faster with the "ts2.dbg.MaxRunSpeed" command. Or the "ts2.dbg.StrikeBolt" and the commands for more passengers etc

I'm also looking forward to the list with all the portals and markers!

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 23 days ago

In a future version I want to categorise and make many console commands and console variables easily accessible in a Menu Strip style UI. I just have no idea how to tackle that yet, so I hope you can be patient a bit more.

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

The "route me to" menu you showed here before already looks great! I created an account here just to give this mod a thumbs up and to thank you for your work so far. Looking forward to future updates!!!

This comment was written for a prior version of this page.
Avatar of Yazici50.61 02
Yazici50.61 02 22 days ago

Could you explain to me a little more precisely how to set the routes? I've heard that you can do via the console somehow, but I found so far nowhere what exactly is meant by console ... The "Rout me" field? And how do you get access to the "console" if it wasn't the "Rout me" field? And is there the possibility to set signals and soft individual? So, for example, that I can drive on the München-Augsburg line on the stub track at Hackerbrücke?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 22 days ago

Google UUU (Universal Unreal Engine Unlocker) and read about it. It's easy to find and understand.

This comment was written for a prior version of this page.
Avatar of at07
at07 21 days ago

So I have now done that as well as downloaded the program ... Read all markers works ... But the commands to switch the red signal do not work. I am just with a S-Bahn on the route "Munich-Augsburg" in Mammendorf on the track with the buffer stop ... The signal is called according to the sign
"16
P7"
If I enter the command ts2.siggnals.setroute P7_16, ts2.siggnals.setroute P7_16 1 or ts2.siggnals.setroute P7_16 2 nothing happens.
What am I doing wrong?

This comment was written for a prior version of this page.
Avatar of BassV
BassV 21 days ago

It's speld with one g, so signals and not siggnals

This comment was written for a prior version of this page.
Avatar of Luiz DreamMaster
Luiz DreamMaster 22 days ago

seria possivel usar as pinturas feitas por nós...

This comment was written for a prior version of this page.
Avatar of Foobian
Foobian 22 days ago

Short and simple answer: No.

This comment was written for a prior version of this page.
Avatar of CapitolLimited
CapitolLimited 22 days ago

Great work. Only issue I've had so far is that it breaks the zoom if you're using controller in cab view. It works fine for exterior view though which is strange.

This comment was written for a prior version of this page.
Avatar of Froof
Froof 20 days ago

¨Please make it easier to use. i have no clue how i can spawn a train on a route that it TSW2 normally doesnt let you drive and then get it to recognize where i wanna go

This comment was written for a prior version of this page.
Avatar of DarwinZol
DarwinZol 18 days ago

Hello, is it possible to add liveries to train when spawning?
Or, is it possible to remove trains?

Avatar of Foobian
Foobian 18 days ago

Liveries: Nope
Remove trains: Open the console with the [>_] button in the top right and enter the command ts2.dbg.removeTrainFromTrack while sitting in a driver's seat of the train you want to delete

Avatar of DarwinZol
DarwinZol 17 days ago

Thanks!!!!

Avatar of DarwinZol
DarwinZol 17 days ago

Another question (sorry): is it possible to remove locos instead of full consists?

Avatar of Foobian
Foobian 16 days ago

Simply uncouple the loco from the consist

Avatar of BassV
BassV 17 days ago

Nice update! The dropdown menu makes it a lot easier to pick a location. Still too bad that it's not always clear where the location exactly is. Maps like this could be useful as a start: https://umap.openstreetmap.fr/en/map/tsw-rro_463893#14/51.3570/7.4567

I still struggle with the routes, sometimes nothing happens and it's hard to understand why, because there's no feedback why a route is possible yes or no. Well, that's not entirely true, the console of UUU gives some feedback. But even when it says: "done! service quickdrive service##### added" a lot of times the signals don't change, even if the tracks are clear, no other trains are in the way. So a lot of question marks still ;-)

But keep on going Foobian! It's still a lot of fun to experiment!

Avatar of HunsletMidland
HunsletMidland 17 days ago

An absolute game changer!

The only issue I am currently having is that when spawning in an electric train, the train struggles to distinguish whether it is on electrified track meaning that it can't take power. Diesels work completely fine.

Avatar of Electra27000
Electra27000 15 days ago

Oh. My. God! That Zoom function!

Avatar of another_pointless_account

This is awesome. Regarding weather - would it be possible to simulate dynamic weather systems? Cycle up and down wetness/precipitation/wind etc throughout a journey or something with various presets. The static nature of the default weather is pretty dull when traveling long distances.

Avatar of ngc
ngc 13 days ago

Do you think you could have a reference list of commonly used console commands for the console tab? it would be nice to have them accessible from in-game instead of having to look up the list every time.

Avatar of Betzii
Betzii 10 days ago

"Route me to" feature doesn't work at all

Avatar of Bristolian
Bristolian 10 days ago

Excellent work Foobian, I await further developments with eager anticipation :).

Avatar of Bristolian
Bristolian 10 days ago

Do the Northern Trans Pennine route markers appear in the drop-down menu, as I don't see anything in that box.
Thank you.

Avatar of Johani
Johani 8 days ago

Hi, thank you for making this mod, but I would like to know if it is possible to increase the traffic density or add some new trains into the timetable permanent timetable? If so, how?

Avatar of Stexred
Stexred 7 days ago

very nice tool

Add a comment

If you wish to leave a comment on this item, please log in .

About this mod

Created
28 days ago
Updated
18 days ago
Game
Train Sim World 2
Type of content
Utility
Compatibility
Steam version (UE4 4.26), Epic Games Store version (UE4 4.26)