Cities: Skylines

Cities: Skylines

Traffic Light Replacer [Beta]
79 Comments
zarandolph 18 Dec, 2023 @ 1:07am 
ABANDONED MOD! Yes it works, but the dev no longer updates it. To avoid headaches, I suggest you refrain from installing either the beta and/or stable of this mod.
Bottl3 3 Jan, 2023 @ 12:11pm 
Does this mod still work? No errors, no lights facing wrong ways? let me know as soon as you can thanks
lodewijk [NL} 4 Dec, 2022 @ 6:26am 
could i ask you to add these /filedetails/?id=2863066969 dutch traffic lights instead.

as that pack is much better, and includes correct lights for different a host of different situations as well as having dedicated left and right turn lights.
ms55 10 Oct, 2022 @ 1:09pm 
Is this mod P&P compatible?
YLink3416 15 May, 2022 @ 9:19pm 
Reinstalling traffic signal props appeared to help reduce prop issues.
YLink3416 15 May, 2022 @ 11:50am 
Correction. Seems to be more sporadic than I initially thought. Sometimes one or two traffic signals will be rotated by 90 degrees, facing the wrong way.
YLink3416 15 May, 2022 @ 11:27am 
I found using network extensions 2 causes prop errors with both this and the stable version.
Cgameworld  [author] 24 Jan, 2022 @ 7:52pm 
Update:
- TMPE compatibility fix
Cgameworld  [author] 20 Jan, 2022 @ 6:53pm 
If anyone is getting prop counting errors, please post your output_log.txt file for a game session where it occurs. Instructions here: https://sp.zhabite.com/sharedfiles/filedetails/?id=463645931
Thanks
Cgameworld  [author] 20 Jan, 2022 @ 6:53pm 
@LemonsterOG BIG urban lights XML: https://github.com/Cgameworld/TrafficLightReplacer/blob/master/TrafficLightReplacer/DefaultXMLS/BIGUrbanLights.xml

Yes, currently the mod only does global replacements
Cgameworld  [author] 20 Jan, 2022 @ 6:51pm 
@CarolinaSeeker94 No this is just where updates are posted first
Cgameworld  [author] 20 Jan, 2022 @ 6:49pm 
Back again after a hiatus!

Update:
- Added Dutch, Portuguese, Polish, Russian, Spanish, French, Korean, Ukrainian, Japanese, and Chinese (Traditional) translations (Big thanks to the community for the contributions!)
- Fixed Typos
CarolinaSeeker94 1 Dec, 2021 @ 5:55pm 
Does this replace the old version?
LemonsterOG 25 Jul, 2021 @ 8:58am 
@Cgameworld -- Also...where can I find the xml file for BIG Urban Traffic Lights pack? I'd like to look at it to see all the formatting and maybe use it as a template for creating my own pack.
LemonsterOG 24 Jul, 2021 @ 9:37am 
@Cgameworld -- I forget where we ended up on this. Can this mod change the lights for each intersection and each direction at the intersection? Meaning, can we apply one specific traffic light for each of the 4 directions at one intersection, but have them completely different at another intersection with the same types of roads?

I *think* we ended up not continuing down that path because it was too difficult.

Where I'm left now is I can change the lights overall with this mod for small, medium and large roads, then use BOB to change them for specific roads (or all roads), but there's no way to customize each light at each intersection. Am I correct?
LemonsterOG 11 Jul, 2021 @ 8:18am 
@Cgameworld -- Got it! It works perfectly! Thank you!
Cgameworld  [author] 11 Jul, 2021 @ 3:25am 
@LemonsterOG In the Pack Creator Helper window, click on the folder icon. In the folder that opens copy the file into it
LemonsterOG 10 Jul, 2021 @ 11:00pm 
@Cgameworld -- Thanks so much for the info. I've been able to follow all the directions except for the final step. I can't find the TRLLocal folder on my system. I'm on Mac. I've been able to find the TRLModSettings.xml file, but I can't seem to local the TRLLocal folder.

For reference, here is the path to the TRLModSettings.xml file:

/Users/LemonFiles/Library/Application Support/Steam/steamapps/common/Cities_Skylines/TLRModSettings.xml

Any insight you can provide will be greatly appreciate. :droute66:
Cgameworld  [author] 8 Jul, 2021 @ 9:42pm 
It likely won’t work, to make it work first show the Pack Creator Helper window (in the game settings) and enable the Load TLRLocal Folder checkbox. Then download the xml config file for the lights from the GitHub repo [github.com] and place it in the TLRLocal folder
LemonsterOG 8 Jul, 2021 @ 11:09am 
I have a question regarding the New American Traffic Lights - Yellow Style mod's traffic lights. It's listed in the description above that this is included. My question is, if I don't use the New American Traffic Lights - Yellow Style mod, but have extracted its traffic lights .crp files and have the locally loaded, will your mod still work with them?
Vortek Gamer 5 Jun, 2021 @ 5:41am 
is there a way that we are able to change the traffic light or single intersection?
Chamëleon TBN 4 Mar, 2021 @ 12:24am 
I'll stay with the beta ;)
Cgameworld  [author] 3 Mar, 2021 @ 8:42pm 
Update:
v1.0 Stable Released!
Download here
Cgameworld  [author] 3 Mar, 2021 @ 4:50pm 
Update:
-added checking for internal blank prop
bunker13 3 Mar, 2021 @ 10:11am 
Oh~ I thought who would make this!! In the end you made it!! Good!! I've been waiting for this for a long time~!! Let's go!! GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD!!
Moch 28 Feb, 2021 @ 8:30am 
do you think it's possible to get different types of lights at separate intersection in the same city? great mod by the way
Cgameworld  [author] 27 Feb, 2021 @ 9:27pm 
Update:
- Chinese and German translations added
- USRP street light effects reenabled (NS2 mod updated)
jakeroot 7 Feb, 2021 @ 4:52pm 
@Wh!teRh!no -- I have issues with rotation if I open the options panel. If you close and reopen the game, they should reset. Check to see if that might be a problem?
LemonsterOG 6 Feb, 2021 @ 10:29am 
@Wh!teRh!no -- Knowing what mods you're subscribed to provides the best information. Also, your game log. You can find instructions on how to do both here in the "Game Errors, Freezes or Crashes" section. Please be sure to follow ALL the instructions.
Wh!teRh!no 6 Feb, 2021 @ 10:14am 
Awesome mod but i am getting a "prop counting error" traffic lights may have incorrect positions and rotations...any idea why?
Cgameworld  [author] 19 Jan, 2021 @ 5:50am 
Update:
- added new localization strings
oscarmark79 15 Jan, 2021 @ 7:39pm 
This is such an awesome mod! THANK YOU for creating it!
Cgameworld  [author] 15 Jan, 2021 @ 1:18am 
Update:
- fix for t-intersection patch not applying when manually toggling traffic lights
Cgameworld  [author] 12 Jan, 2021 @ 4:20pm 
@GavinMartinez001 Did you select US horizontal traffic lights, unsubscribe from the pack and load a new game?
GavinMartinez001 12 Jan, 2021 @ 2:24pm 
The prefab with name 1108278552.HorizontalTrafficLights1_Data cannot be found in your game

Broken XML filepath:
RESOURCE.TrafficLightReplacer.DefaultXMLS.USHorizontal_Cristolisto.xml
Cgameworld  [author] 10 Jan, 2021 @ 6:04pm 
Update:
- check for mismatched prop count
Cgameworld  [author] 10 Jan, 2021 @ 5:06am 
Update:

- fix for disappearing street light icon in Network Skins 2
- fix for loaded customized Network Skins 2 roads not replacing some lights
jakeroot 6 Jan, 2021 @ 11:23am 
I remember noticing that peculiarity with the NAF lights before and thought it was interesting. But I don't think it was related to this mod. Or at least I don't think since NAF seems to be programmed to be automatically placed on the far side of the road (with the near-side signals being placed where the standard traffic lights would normally be). Not sure if that's what you two are talking about below.

Have you considered starting a donation option for those interesting in helping fund additional research? What about a free-to-access alpha?
Cgameworld  [author] 6 Jan, 2021 @ 5:30am 
@RAFARIO Thanks for the reference images. In my previous comment, I meant screenshots in game but this is great too. For the vanilla lights showing up, if you are using network skins 2, that should be fixed in the next upcoming update (if not let me know).

For the issues with the oneway roads always displaying red lights on the opposite side, thanks for pointing this out, this probably happens since there are usually only pedestrian lights there before replacement. I’ll try to fix this specific situation.

Traffic lights currently display the current phase on the side of the road it is on, regardless of the settings in the mod. This as a side effect also makes many TM:PE custom timed traffic light configurations not display correctly when lights are placed on the opposite side of the road. Mismatched displayed light phases between sides will be an issue until I can figure out how to flip them along with the props.

Not sure why NAF lights work in that situation, strange
Rafario 5 Jan, 2021 @ 11:56am 
I -kind of- found of a fix for one way roads, using "NAF traffic lights" isntead, since they use.... the pedestrian lights instead.

https://gph.is/g/4Lj7rvg

However this is not always viable, specially when theres a lot of pedestrians

It would really be awesome to, allow per node customization since it could allow to just, use the traffic lights in the default placement on intersections that having them in the oposite side doen't work well.
Rafario 5 Jan, 2021 @ 11:43am 
All prints taken with "NATL- Grey Style", with "place on the oposite side of the stop line" and with "Show Signal Pole Style Lights on Default Side"

I don't know if you actually meant photos, like real life photos, or screenshots of the game but I went on Streetview to get some examples in any case since my city uses the exact same locations and streets as the Brazilian city Belo Horizonte.

https://i.imgur.com/L5pGee0.jpg
Traffic light is closed on one side, and open on the other. One way road. Also notice that the vanilla traffic light is still there on the left side. Real life Reference: https://i.imgur.com/4BMLqcf.jpg


https://i.imgur.com/DHccfnU.jpg
Huge Roundabout with traffic lights, the traffic light on the other side is always visually closed. RL ref: https://i.imgur.com/zFyb32J.jpg


Not the same city but https://i.imgur.com/2onHYHL.jpg notice that the traffic light on the other side of the road is closed. Only the one at the same side as the stop is correct.
Cgameworld  [author] 4 Jan, 2021 @ 9:21pm 
@RAFARIO Can you give photo examples of intersections with the network names/window settings where it is not working?

Per node customization is not possible currently, though I want to add this eventually in the future. It would require a lot more code to make it happen.
Rafario 4 Jan, 2021 @ 9:35am 
Great mod! However traffic lights in the oposite side of the road rarely works properly in one way intersections, T intersections and non-4 way intersections.

Is it possible to let the user set the trafic lights per node? and allow the user to set a specific traffic light to obey this or that rule?
LemonsterOG 31 Dec, 2020 @ 6:37am 
@xMateoRO -- If you'd like me to review your subscribed mods, you can find instructions on how to share your mod compatibility report here in the "Sharing Your Mod Compatibility Report" section. Please follow ALL the directions.
Mat 31 Dec, 2020 @ 1:55am 
@LemonsterOG ok, and also i dont find any mod
LemonsterOG 28 Dec, 2020 @ 6:27am 
@xMateoRO -- I had that happen to me too, but it's not this mod's fault. I was subscribed to another mod that caused it. American Sign Replacer was my culprit. Do you have any other mods that change road related things?
Mat 28 Dec, 2020 @ 3:22am 
This will be the best update i think:
Compatibility for Network Skins 2

(bcz if i have the mod enabled the custom street light function will dispared!)
,also cool mod, no more ugly vanilla traffic lights.
Mat 27 Dec, 2020 @ 8:50am 
can u pliz add compatibility for Network Skins 2? Also, pretty good job!
Cgameworld  [author] 20 Dec, 2020 @ 4:15am 
Update:
- added prop tester in pack creator helper
Cgameworld  [author] 20 Dec, 2020 @ 2:18am 
@LemonsterOG I don't see the issue on my end, network skins shows all options. Is it only on specific networks?