Cities: Skylines

Cities: Skylines

Roundabout Builder
Sander4786 Aug 12, 2022 @ 6:57am
Vehicle Connection
I accidentally created "vehicle connections" and with the Roundabout builder and can't delete it. It can't be selected, when I use the button remove glitched roads, it says that there are no glitched roads in the map. screenshot as illustration: https://prnt.sc/8Z83YH95O2a3/

You reccommended to use the Mod: Ptyhon Console mod - https://steamcommunity.com/sharedfiles/filedetails/?id=2415465635
To delete this connection, but this mod could not select the vehicle connection and gave the Error: "'Point' object has no attribute 'delete'
Screenshot as illustration: https://prnt.sc/IkxD4Wrh2r-n

A few days you said that it should now be possible to remove it with the glitched roads butten, but that still doesn't work in my safe? Do you have any updates about this?
https://prnt.sc/DAe4Unld8hM9 https://prnt.sc/qc1Y_dX9wSDN

It would be really helpful
< >
Showing 1-1 of 1 comments
Strad  [developer] Aug 21, 2022 @ 12:00pm 
When you click the "Remove glitched roads" button, it is not that easy to determine whether the Vehicle Connection can be deleted or not as it actually might be there on purpose.

Anyway, there is another option how to delete the vehicle connections with Python console, which should 100% work:

First, save your game to a new file. Then run this script:

for seg in game.segments: if seg.prefab_name == "Vehicle Connection": print(seg.id)

This will spit out a few numbers corresponding to the IDs of the roads. For example - 611, 14896, 3744 etc.

For each of these numbers, call this script:

game.get_segment(611).delete()

Replace the number 611 accordingly. After each deletion check that one of the invisible roads disappeared. If not, you just deleted something you didn't want to be deleted. I suggest reloading the savefile and skipping that number next time.
< >
Showing 1-1 of 1 comments
Per page: 1530 50