Cities: Skylines

Cities: Skylines

Loading Screen Mod [Test]
thale5  [utvecklare] 13 okt, 2018 @ 6:52
Guide: How to skip prefabs
What does skipping mean?

Prefabs are the assets that come with the game and its DLCs.
When you skip a prefab that you don't need, it will not be available in game, saving some memory.

You can skip buildings, vehicles and props using this mod.

How?

Create a text file (for example skip.txt) that lists prefabs by name, like this:

Buildings: Ore 4x3 Processing Space Elevator Vehicles: Donut Van Bugspray Van Props: Clown

Then start the game and open the Options dialog of this mod.
Enable skipping (check box). Also set the file path for skip.txt in the dialog.

Where are the prefab names?

I have created a web page that shows all buildings, vehicles and props available in the game, including all DLCs: Prefab names and pictures[thale5.github.io]

That's many names to type

You can use wildcards and there's even more.
I have created an example of a skip.txt that explains it all: skip.txt example[thale5.github.io]

Notice!

If a building is already placed in your city, the mod will not skip it.
If it did, there would be errors. Just bulldoze the ones you don't want and the mod starts skipping them.

Vehicles and props are different. When included in your skip file, they will be skipped.

Mod compatibility

Some mods will give you trouble if you skip important props, such as traffic lights or street lights. Network Extensions 2 in particular requires certain props. Those are listed in the skip.txt example file.

Prop It Up will create errors if you skip prefabs that are on its list. So, you must not skip, replace, or remove the same prefabs in both mods. If you do, you'll get errors from Prop It Up.

Tips

The mod puts info like this in the log: Cargo Harbor -> not skipped because used in city.
Open your output_log.txt to see them.

Any errors in your skip.txt are also reported in the log.

Skipping everything

As explained in my skip.txt example, you can skip everything if you want.
However, if you use the * pattern to skip all buildings, the mod will keep these buildings anyway to prevent errors:

- Statue of Shopping because the game requires at least one unique building.
- Electricity Pole because it is special in the game.
- Wind Turbine because the game requires at least one source.
- Dam Node Building and Dam Power House because dams are special.
- Water Pipe Junction and Heating Pipe Junction because pipes are special.
Senast ändrad av thale5; 20 dec, 2018 @ 22:26
< >
Visar 1-15 av 62 kommentarer
sindar 16 okt, 2018 @ 8:37 
What an outstanding effort! Amazing!
HamsterVolant 22 okt, 2018 @ 8:54 
Great job - it helps to be able to remove quite a bit of this !
Now, is it possible to do the same thing to props and trees?
thale5  [utvecklare] 22 okt, 2018 @ 10:33 
@HamsterVolant I'm working on props and vehicles. Not decided about trees yet. Doable but is it worth the effort, not sure yet.
Fret 28 okt, 2018 @ 3:59 
Does it work only on "Loading Screen mod [Test]" or also on the regular "Loading Screen mod"?
thale5  [utvecklare] 28 okt, 2018 @ 7:30 
Testing phase. Not released for LSM yet.
Danoir_ 28 okt, 2018 @ 11:45 
First, thanks for this amazing feature.

Second, do you know if using the text " IndustrialForestry:* " (or ore/farming/oil) will skip the Industries DLC forestry/oil/ore/farming buildings too, or just the base game prefabs?
thale5  [utvecklare] 29 okt, 2018 @ 11:51 
@Danoir_ Your patterns will skip old base game prefabs only. They added new prefixes for the new content.

By the way, I'm updating the web page right now, with Industries names and pictures.

If you would like to have all the buildings information in one very compact text file, it is now here:
https://cdn.rawgit.com/thale5/Buildings/2018b/config/buildings.txt
The information content is the same as what's on the web page.

Lascivia 18 dec, 2018 @ 10:44 
I tried to start a new game with aggressive mode+exceptions you suggested, but it doesn't work. No problems with buildings but when I try to skip props (*+your exceptions) the game start with a pale blue screen with a sort of citizen moving in the center. Any suggestion?

PS: I use a custom map, Berlin 1:1 by Amipolizeifunk, maybe it uses some important props?
PPS: I tried to load a save with just "grill" in prop skipping list. I have some buildings with this prop, but I removed all of them time ago with prop it up. It shows the message "object reference not set to an instance of an object". I have to remove the entire building first?
Senast ändrad av Lascivia; 18 dec, 2018 @ 12:57
thale5  [utvecklare] 18 dec, 2018 @ 22:21 
@Lascivia My guess is it's a conflict between mods. I would need to see your output_log.txt.

Notice that you cannot remove props from buildings for good ("time ago"), it needs to be done every time a map is loaded.
Lascivia 19 dec, 2018 @ 2:17 
I cannot link my output log right now, anyway I haven't understand what you talking about. Prop it up removes permanently the props from the asset, so, everytime I load a game the asset doesn't have the props I've already removed. I can't remove props as you say "every time a map is loaded", they are already removed. I can't understand what do you mean. Thank you very much
Senast ändrad av Lascivia; 19 dec, 2018 @ 2:17
thale5  [utvecklare] 19 dec, 2018 @ 3:06 
@Lascivia Game prefabs are provided by Unity. The prefabs are always the same, so building prefabs always contain the props they are supposed to contain. Mods do not make permanent changes to prefabs.

This means that if a mod wants to remove or replace a prop from a building prefab, it must do so every time the map is loaded.

Prop it Up says the same clearly: the 3rd image on the Prop it Up Steam page says that the changes are applied when you load your city.

What I guess is happening here, you have two or more mods removing/skipping/replacing the same prop.

Anyway, I would like to see your output_log.txt.
Lascivia 19 dec, 2018 @ 3:12 
Ok thank you. if I have time i will link my output file today in the evening. otherwise I have to wait the end of christmas holidays. Thank you
Lascivia 19 dec, 2018 @ 10:49 
These are my output logs of yesterday, when i tried some experiments with your skipping functionality:

https://www.filedropper.com/outputlog1
https://www.filedropper.com/outputlog2
https://www.filedropper.com/outputlog3
Senast ändrad av Lascivia; 19 dec, 2018 @ 10:49
thale5  [utvecklare] 19 dec, 2018 @ 22:12 
@Lascivia Thank you. I'll look at these.
thale5  [utvecklare] 20 dec, 2018 @ 12:04 
@Lascivia Checked your logs. In all of them, lots of buildings are skipped. There is no prop or vehicle skipping. If you want to skip them, too, there's an example at the top of this page.

In all logs loading and skipping is fine.

A stack trace of the crash is visible in each log. The crash comes from the Prop It Up GUI dialog.

I tested the Berlin map, with Prop It Up and prefab skipping. I didn't manage to get any crash but I got errors from Prop It Up. I then checked its sources. That mod does not handle properly the situation where prefabs have been skipped.

So, it is not possible to skip, replace, or remove the same prefabs in the two mods. If you do, you'll get errors from Prop It Up. These kind of things are fixable but it seems the mod is not maintained at the moment.

Thanks for the logs!
< >
Visar 1-15 av 62 kommentarer
Per sida: 1530 50