Cities: Skylines

Cities: Skylines

New American Traffic Lights - Grey Style
Error on savegame load
I'm getting this error when opening a save game preventing the gray lights from showing up.

The version of the mod with the yellow traffic lights works for me.

The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\1548117573 [NewAmericanTrafficLightsGray.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at NewAmericanTrafficLightsGray.NATLG.ReturnStyleFromRoadname (System.String name) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceTL (IEnumerable`1 roads) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceAllTL () [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
< >
Näytetään 1-6 / 6 kommentista
Are you see the vanilla traffic lights after seeing this error message?
ol' rdtg  [kehittäjä] 27.10.2018 klo 1.22 
I've fixed the bug, that error appears when props are missing. There was a small bug in there that was causing the mod to goof up prop names. Should be all better now. Please report back if you still have issues.
I still seem to get the same error message, vanilla traffic lights appear instead

The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\1548117573 [NewAmericanTrafficLightsGray.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at NewAmericanTrafficLightsGray.NATLG.ReturnStyleFromRoadname (System.String name) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceTL (IEnumerable`1 roads) [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.NATLG.ReplaceAllTL () [0x00000] in <filename unknown>:0
at NewAmericanTrafficLightsGray.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
ol' rdtg  [kehittäjä] 27.10.2018 klo 15.22 
Try now
It works now! Thanks for your hard work
This mod works great for vanilla and NeXt2 roads, but many roads from the workshop don't seem to render the traffic lights correctly.

Would it be possible to assign custom roads from the workshop to a road type based on the road width and global direction alone?

Example: https://imgur.com/a/3gyIaP9

So for example all roads that have a half width of 8m would get categorized automatically under "small roads". The traffic light prop positions on the side of the road would be the same regardless of the what the road specifies.
Viimeisin muokkaaja on Cgameworld; 28.10.2018 klo 10.29
< >
Näytetään 1-6 / 6 kommentista
Sivua kohden: 1530 50