Content Designer on Stellaris
- Jan 22, 2018
Snow Crystal, please give information about road modding (file roads.roads.).
So to generate a roads.roads file (which it uses to understand where all the potential roads in the game should be), you enter the game in debug mode and write "Roads.GenerateAssets" in the console. Then the game will start working on generating the file, which will take quite a bit of time, and you need to wait until the white barely readable text in the top left corner disappears and the game looks a bit like this:
Simply close the game, and a new file will have been generated in your documents folder, and you simply grab that and put it into the right folder in your mod folder. If you want to check that it worked, you can re-open the game and try the console command "Roads.AllRoadsLeadToRome", this will immediately build every potential road in the game, and you can see if your new province have roads or not.
If you want to define specific roads on startup, you can open the setup.txt file, go down to "road_network", and define a road between province IDs.