Cities: Skylines

Cities: Skylines

Custom Light Effects
108 Comments
Dvasong_***** Mar 9, 2023 @ 6:14am 
⚠️Memory leaks and crashes. Do not use.!⚠️

REPLACEMENT:
Custom Effect Loader (by boformer)
yao_zhou Dec 14, 2022 @ 8:02pm 
Use Custom Effects Loader instead!!!
piotr_zgniot Dec 10, 2022 @ 3:10pm 
dont like
JukΣboҲ Sep 17, 2022 @ 7:58pm 
Not P&P compatible.

The Mod G:\Games\Steam\steamapps\workshop\content\255710\959894658 [LightEffect.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at LightEffects.LightEffectsMod.ApplyParams () <0x01ea5>
at LightEffects.LightEffectsMod.OnLevelLoaded (ICities.LoadMode) <0x00047>
at (wrapper dynamic-method) LoadingWrapper.LoadingWrapper.OnLevelLoaded_Patch2 (LoadingWrapper,SimulationManager/UpdateMode) <0x000c1>
Jav-aniceday Feb 9, 2022 @ 12:15pm 
is there a mod that "dims" street (and others) lights with distance? Anyone know of anything like that?

usually the game keeps all lights super bright, no matter how far the camera is - so every street lamp looks like a miniature sun.
Abkuerzung Dec 24, 2021 @ 10:01am 
bad
LordDevorkian69 Mar 31, 2021 @ 6:53pm 
More like Custom Leaky Effects that WILL break your game.
LemonsterOG Oct 29, 2020 @ 8:15am 
:redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare:

:vright: :vright: THIS MOD MAY CAUSE PROBLEMS IN-GAME :vleft: :vleft:

Broken Mods/Assets (read description)

Outdated Mods/Assets (read description)

Problem Mods/Assets (read description)

How to Find Broken and Bloated Assets

:redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare: :redflare:
Dovahseod Apr 21, 2020 @ 12:20am 
Any possibility to fix this? I could really use some working runway lights now...
RoomMic Apr 3, 2020 @ 9:25pm 
should be marked as incompatible
MDHansen Mar 28, 2020 @ 5:47pm 
unsubbed. but it's been active since released and I play for hours at a time and never had a crash or any lag
nhatanh0475 Mar 26, 2020 @ 8:53am 
Memory leaks and crashes. Do not use.
Caesar Feb 20, 2020 @ 5:59am 
AVOID. After unsubscribing it i gained half time loading time (from 20 to 10 minutes) and no lag in game.
Bœser Marco Feb 15, 2020 @ 6:20am 
@Carbon
I can confim massive performance decrease. I get 4 fps in options menu - becomes unusable ingame. Does not effect game fps as far as i I can see.
LordDevorkian69 Dec 16, 2019 @ 2:09am 
Boformer? Your mod looks one million times better.
boformer Nov 24, 2019 @ 5:38am 
Dolpherinoo Oct 8, 2019 @ 6:28am 
F
MjolnirRecon May 2, 2019 @ 5:18pm 
I can confirm a MASSIVE performance hit as well as errors n load. AVOID!

Which really sucks as I really wanted to use the Airport Light Networks, which requires this mod. :steamsad:
borg2003 Feb 12, 2019 @ 6:08am 
Hello. Is it possible to add other glow colors to the mod templates? For example, green, pink and others? I tried to do this, but, changing the intensity settings and others in the script, I cannot adjust the shape of the light source. For some reason he is always in the shape of a ball.
Lolindir Jan 28, 2019 @ 6:34am 
Hi Ronyx69! is it possible to update the mod? i can't load an existing save or a complete new cities, I tried to disable every other mod but i had the same result.
Have you any ideas why i can't use this mod?
Mister[PL] Dec 28, 2018 @ 10:39am 
Can you make this some lights for emergency cars props? It could be useful especially when you want to create realistic crash scene etc.
ArtehFailz Dec 26, 2018 @ 5:29pm 
So this mod may be helpful for adding emergency lights to vehicles, but I'm worried if it will work at all. I'm wondering if it is really worth it.
< blank > Dec 14, 2018 @ 5:31pm 
Thank you Ronyx!
Now I can build the more realistic tunnel
https://youtu.be/eKzE9-jqh74
Judgmentkazzy1988 Dec 4, 2018 @ 4:36am 
this mod is broken don't download it
xave Sep 23, 2018 @ 9:55am 
When I activate this mod and open the options panel during gameplay something goes wrong. The games becomes horribly slow, i cannot scroll, select, change etc anything in the options panel. On esc I return to the games and nothing seems wrong. When I turn the mod off, no problem at all. Any idea what could be the cause? Perhaps a prop with a custom light?
Hikke_Pakke Jul 15, 2018 @ 2:49pm 
I would also report the problem with the FPS. It dropped from 20 to 3 when the mod was enabled...
AzureD Jun 17, 2018 @ 12:19pm 
Is there any way to increase the distance in which the custom light effect is visible?
Khaist Jun 8, 2018 @ 3:23pm 
I got some problem with this mod since the Parklife update: With this mod installed, even on a new map, my fps drops from ~30-40 to ~1-3. Before the Parklife update, i had no problems with this mod. Luckily i didn't need it for my new city, but I thought its better to report the issue
ManuRamos May 26, 2018 @ 2:04pm 
Ups. The new effect disappears when I restart the game.
ManuRamos May 26, 2018 @ 3:26am 
Ok solved. It was not so difficult. You have to apply an existing effect, modify some variables and that's it, without presaver or anything. Thank you anyway
ManuRamos May 23, 2018 @ 5:08am 
Help, please.
ManuRamos May 23, 2018 @ 5:08am 
Sorry, I can not get the MOD to work. I have taken a lamp in the asset editor, I have run the script in full. It has worked because a light has been turned on. then I ran the presave script, and the light went out. I have saved the lamp and when I reloaded it, I had no light. What am I doing wrong?
Ronyx69  [author] May 21, 2018 @ 11:24am 
@PelusoNN That's literally the point of the script, you can't save it like that, that's what the mod is for, and it's also explained in the script descriptions.
ManuRamos May 21, 2018 @ 11:17am 
Hello Rony, I have used your script to create a new streetlight and it works perfectly,. I have run the Presave Script before saving it but this script remove the effect totally. How can I save it please?
Ronyx69  [author] Apr 29, 2018 @ 10:18am 
@sergio_collina91 Use Emergency Lights Manager by Cryptkeeper https://steamcommunity.com/sharedfiles/filedetails/?id=1192250578
sergio_collina91 Apr 29, 2018 @ 9:46am 
is possible to use this mod for modify police/ambulances strobe light?
Sandiozo Apr 4, 2018 @ 10:08am 
I think you need to update it cause after the game updates this mod is dropping my frame rate to 2-3 FPS
Lamar17 Dec 8, 2017 @ 10:10am 
error
Ronyx69  [author] Nov 15, 2017 @ 6:47am 
@nickvet419 Yeah I get it as well even though it works, I have no idea why it's there.
Nickvet419 Nov 15, 2017 @ 6:44am 
still seems to work, but got an error on load.
Nickvet419 Nov 15, 2017 @ 6:42am 
The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\959894658 [LightEffect.dll] has caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at LightEffects.LightEffectsMod.ApplyParams () [0x00000] in <filename unknown>:0
at LightEffects.LightEffectsMod.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
Polarstorm Aug 20, 2017 @ 11:33pm 
Thx for the quick reaction ronyx. Hope the leak is history, i will report if there are still problems.
Ronyx69  [author] Aug 20, 2017 @ 11:30pm 
@Polarstorm The mod is now updated to be disabled in the asset editor. But I did test it before, and couldn't reproduce a memory leak, I have 109 mods, tried loading a custom light effect asset and adding lights, worked fine.
Ronyx69  [author] Aug 20, 2017 @ 10:37pm 
@Polarstorm I have never ran the mod in the asset editor, I didn't think of this since I always run the editor in no workshop mode, which is recommended anyway. But yeah that is advice in general, don't try to go back to the menu, don't try loading a save from ingame, don't run asset editor with the workshop enabled. Also make sure you run the presave script before saving the asset.
Polarstorm Aug 20, 2017 @ 8:22pm 
Vasimr and me did a bit of testing and it seems that the problem is based on the "OnLevelLoad" param. Vasimr will inform ronyx about the problem, as long as there is no updatedt Version of the mod all of you guys (who have the same problem) should do it the way i made it work (as posted below).
Polarstorm Aug 20, 2017 @ 7:38pm 
Will do, gimme a sec.
vasimr22  [author] Aug 20, 2017 @ 7:35pm 
Can you try one more thing? Disable any assets that use the mod, leave the mod enabled, and run the script to add a light, omitting the part where it modifies the mesh name (or maybe it's the LOD name). It should work as if the mod was disabled... If that is the case, then CO changed the editor to continually call "OnLevelLoad"... There may be a flag that can be checked to see if it's in the game or if its in the editor, and if so, we can update the mod source to check for that.
Polarstorm Aug 20, 2017 @ 7:33pm 
it is enough to have an asset in your list what was created/edited while the mod was active, even if you don´t use it, while starting a game, the game trys to load all active assets and fills the ram, at least in my case.
Polarstorm Aug 20, 2017 @ 7:28pm 
Ok, heres how it works: Start Game, deactivate custom light mod, go to editor, import model add lights run scripts and stuff, save. CLOSE GAME. Restart game, activate custom lights mod, start a game place things and so on, everything works. EVERY other combination i tried leads up to CS fills up all avialable ram and game comes to an halt. Trying to reload an object in the editor ,with activated custom lights mod, also leads to full ram, everytime i have to activate/deactivate and restart the game after every step. Trying to load an asset (doesn´t matter if ingame or in the editor) what was created while custom lights mod was active leads to full ram. Maybe this is helpfull to you guys, maybe not, i´am just happy that i have found a way i can work on my stuff again. :)