Updated to version 3.0
Special thanks to Ilias Tselios, the original author of ITXD Light Controls for X Plane 11. Their work was the primary inspiration for ITC Light Controls, and without their work, ITC would not exist.
---------------------------------
Check out TheFlyingScotsman's X Plane channel running ITC:
See ITC in action on the ITC channel:
A lighting and atmosphere Lua script for X Plane 12.
ITC allows you to customize X Plane 12's lighting and atmosphere. It also includes night lighting enhancements for a more realistic look.
Key features:
Adjust intensity of night lighting to suit your preference.
Adjust daytime lighting and atmosphere.
Kill 3D rain to help with performance/if you don't like it. (other rain effects remain).
Adjust intensity of night sky.
Enable/disable Volumetric Lights for great screenshots.
Save and load up to three presets, with keybind support (search ITC in keybind menu).
Adjust cloud size, scale, and shape.
Change color of far night lighting in real time.
The lua script is fully compatible with other light mods and default lighting.
--
v3.0 has been released, likely the final feature update, compatibility updates will continue to exist. Thank you to everyone who has supported the mod with downloads. ITC has been a fun project and I hope it has enhanced your X Plane experience. As always, ITC is free and will remain free forever.
--
Note screenshots represent custom values (the mod is customizable), they're used to give an idea of what types of changes can be achieved. Find your own preset and use that!
The mod is versatile. You can use just the lights, just the lua script, your own lights, other light mods, or any combination. It's up to you.
Requires FlyWithLua NG for X Plane 12. Get it here:
Installation:
Extract the zip file and copy all lua, .itc, and the ITC Jetway Sounds folder to:
C:\X-Plane 12\Resources\plugins\FlyWithLua\Scripts
Go to C:\X-Plane 12\Resources\bitmaps\world\lites, make a copy of 1000_lights_close.png, and copy 1000_lights_close.png from the zip file to the C:\X-Plane 12\Resources\bitmaps\world\lites folder.
For the optional light changes:
Go to C:\X-Plane 12\Resources\bitmaps\world\lites and make a copy of lights.txt, then copy the files from the Optional Lights folder and paste them into the C:\X-Plane 12\Resources\bitmaps\world\lites folder.
For the optional urban far textures:
Go to C:\X-Plane 12\Resources\default scenery\1000 world terrain\textures12\urban_FAR and paste the files from Optional - Urban FAR.
--
Make a copy of default files prior to installing. If you have issues with the mod, you can restore default files:
On Steam, go to your Library, right click X Plane 12, select Properties>Local Files, and click Verify Integrity of game files.
On Standalone, go to your X Plane 12 folder and run the X Plane 12 Installer, click to Update, allow it to scan files, and when prompted, allow it to replace old files.
--
Launch X Plane and find it under Plugins>FlyWithLua>FlywithLua Macros>ITC Lighting Controls
To use preset keybinds:
Go to your keybind menu and search for "ITC." They may be at the bottom of the list. You can load presets without opening the ITC window.
To use the jetway sounds:
Search your keybinds for "ITC Jetway" and bind a key/key combo to that. Jetways will activate and play relevant sound files. Some aircraft have jetway sounds built in. In that case you can use the default keybind, "Service the airplane with Jetways." Choose your own keybind or use both, it's up to you.
To modify jetway volume, go to the Extra Options menu and set your desired volume level. Jetway volume is saved to your presets.
Note: Jetway sounds are compatible with default airport jetways. SAM and Autogate jetways play their own sounds and will not activate with the ITC Jetway keybind or the default keybind.
---------------------------------
I am the author of this script. This mod is free and always will be free, I will not accept donations. This tool is copyrighted, 2023-2024.
thebhoy27
THANK YOU! typicalskeleton for the mention
i love your mod, still using it, its my fav one so far, keep up the awesome work😊❤️😊
imperativeoz
Does this also work using VR?
typicalskeleton 24 day(s) ago
Yes, it is fully compatible with VR. Tested on Oculus 2 and HP Reverb.
efsenable
Please help if possible.
Thanks in advance.
typicalskeleton 1 month(s) ago
Will look into and get back to you. Thanks for reporting the issue!
typicalskeleton 18 day(s) ago
I did some testing on v3.0 using Preset 2. The ozone shaders did save and load correctly for me. Can you tell me more about what's going on?
Maupilot81
Great mod, but some street lights do not light up the ground. please check and fix it!
typicalskeleton 1 month(s) ago
This is by design. However, if you want light spills on all lights (which I believe is not entirely realistic), I can create a version for that.
Maupilot81 1 month(s) ago
Oh thanks! I will appreciate it!
typicalskeleton 1 month(s) ago
There are other, excellent night lighting mods on here too. ITC is compatible with them. You could try them out to see if the night lighting is more to your preference.
HornetAircraft
Mod doesn't work with 12.06 betas. just quarantines the script.
typicalskeleton 1 month(s) ago
Will look into it. Thanks for reporting the issue.
typicalskeleton 1 month(s) ago
I've just tested it with the latest beta and it is working correctly.
If it's being quarantined it usually means there's a conflict with another Lua script. You can check FlyWithLua_Debug in your X Plane folder to see what caused it to be quarantined.
You can also email the log to [email protected] if you'd like me to look for you.
HornetAircraft 1 month(s) ago
hmm ok.
the flywithlua debug file hasn't been touched by X-Plane for a while. the only scripts I have currently are LFD Auto View distance, Simple Ground Service and Enhanced Visuals which changes the sky colors to the accurate style
typicalskeleton 1 month(s) ago
It's conflicting with Enhanced Visuals. Unfortunately the two are not compatible. ITC does allow you to make some of the same changes as EV, but if you prefer that one then I would recommend not using ITC.
airfighter
You are welcomed @typicalskeleton!
Happy to see my work being improved and updated!
Ilias Tselios
typicalskeleton 2 month(s) ago
Happy to hear from you. Thank you for giving me the the inspiration to learn FlyWithLua.
trevog
How do I keep the settings when restarting XP? I always have to adjust the settings again after restarting x-plane. Also for me the "Save preset" and "Load preset" function doesn't work for me. Other than that, it's amazing, I love the blue preset!
typicalskeleton 2 month(s) ago
That's odd.
Can you tell me if you have the preset1, 2, and 3 files in your FlywithLua/Scripts folder? ITC Light Mod should also build the files if they aren't present.
trevog 2 month(s) ago
The files are there. The date for changes in the file also changes when I press Save Preset. For e.g. I saved my settings on Preset 1. Then I switch to Preset 2 and press Load Preset. When I go back to Preset 1 and press Load Preset, the settings are not the ones I had, when I last pressed Save Preset for Preset 1. Maybe there could be a conflict with an addon?
typicalskeleton 2 month(s) ago
Sorry for the delayed response, had some real life obligations.
Thanks for completing that troubleshooting step, as that would have been my next question.
I would suspect either a conflict with another Lua script, or even possibly anti-malware/antivirus software preventing the files being loaded.
trevog 2 month(s) ago
No problem we all got something to do. I will try to check my lua scripts and antivirus
kelvinzzz
How do I install ITC JETWAY SOUNDS into xplane 12. Thanks
typicalskeleton 4 month(s) ago
Copy the ITC Jetway Sounds folder to your Flywithlua/Scripts folder.
In X Plane, bind a key to "ITC Jetway" in the keybind menu. Note they only activate default jetways. SAM and Autogate jetways are automatic.
moheeb
Is there is a way to not change the skycolors?
I really love the lights in this tweak but I prefer the default xp12 sky colors at dawn or dusk. is it possible to only edit the night lights without changing the skycolors?
typicalskeleton 5 month(s) ago
ITC Light Mod does not change X Plane sky colors unless you're using the day/atmosphere or ozone sliders.
If you want to change only the night lighting, use the Lighting Controls and don't make changes to the day/atmosphere or ozone.
kelvinzzz
Hello.
Where should I put folder Jeway sounds in xplane 12 ? Thanks
typicalskeleton 5 month(s) ago
It goes in your Flywithlua/Scripts folder along with all .lua and .itc files.
To use the sounds you need to bind a key to ITC Jetway in the keybind menu (this will also activate default jetways).
FlyingScot
Love the mod, really made night flying great.
One think I noticed on my first flight at dawn the stars seem to reflect a lot in the water - is there anyway to turn down this reflection?
typicalskeleton 5 month(s) ago
Are you using v2.5? There was a bug in previous versions which made that worse.
However I've also noticed that occasionally XP12 seems to process night atmosphere a little weird. If I roll time of day back and then forward suddenly the water will go back to being dark/black.
Edit: Also check your Light Storage setting, as that will cause a more reflective look to the water.
FlyingScot 5 month(s) ago
Yeah it is the latest version. Tried a few more flight since and sometimes there seems to be a lot of reflection on the water but like you said it goes away if you adjust the slider back and forth. Thanks
johnbla
I must be doing something wrong. I change the Light Storage to about 4.5 and the cockpit is nice and bright. I then save the preset and as soon as I load the preset again everything is dark. Am I missing a step? Thanks.
typicalskeleton 6 month(s) ago
I'll do some testing when I get a chance and get back to you.
typicalskeleton 6 month(s) ago
I did some testing, it may be a bug. Loading the preset sets the correct Light Storage value, but it doesn't change in X Plane. Easiest fix is just to "rock" the Light Storage slider a few degrees to get it back.
I will continue to investigate this when I have some time to see if I can make it work correctly without a workaround, as it happens with a couple other sliders also.
johnbla 6 month(s) ago
Thanks typicalskeleton
johnbla 6 month(s) ago
Hi typicalskelton, just wondering how you are going in fixing the profiles not saving? Sorry to hassle you but I cannot find the airports from the air without your wonderful mod. Many thanks again, John
typicalskeleton 6 month(s) ago
Sorry for the delayed response. It's spring time where I live which means a lot of real life projects to do!
However I will start investigating the issue and hopefully figure something out. I appreciate your continued support of the mod!
Edit: Needs some more testing but I think I found the issue and am working on a fix. Thanks for reporting the bug.
typicalskeleton 6 month(s) ago
Version 2.5 has been released and hopefully fixes the issue with Light Storage. Let me know if you continue to have the problem.
johnbla 6 month(s) ago
Hi typicalskeleton, many thanks for the upgrade. All seems fine so far, but I will test over the next few days and if I encounter a problem I will post here. Thanks again and thanks for the mention in the read me and here. John
tommypank
Love this mod. One thing I don't like is you can't see the volumetric lights in 3D cockpit view. Can this be implemented? Would be amazing.
typicalskeleton 7 month(s) ago
Can you clarify what you mean? I'm testing the volumetric lights from inside the Zibo cockpit and I can see them outside.
ITC changes only external lighting and doesn't change any lighting inside the aircraft.
krdrives
Hi, will there be an update for this soon? I can no longer save presets as of 12.04r1 update.
typicalskeleton 7 month(s) ago
I will test this right away and get back to you.
Update: I installed version 12.04r2 (the latest build) and was able to save and load presets. In the current version of ITC you do have to select a radio button to save or load the respective preset.
I would recommend removing ITC, loading X Plane, closing X Plane, reinstalling ITC, then restarting X Plane.
The presets use Lua file read/write functions which shouldn't change with X Plane version. If you continue to have the issue get back to me either here, or email me at [email protected] so we can continue to look into the issue.
flight0820
Hello, and excellent work, would there be the possibility of being able to adjust the lower intensity of the Spill function without checking the killing spill box, thanks for all
typicalskeleton 7 month(s) ago
I don't think it's possible, but I will look into it.
flight0820 7 month(s) ago
Thanks you 😉
typicalskeleton 7 month(s) ago
I have added what I could of your feature request to v2.2.
flight0820 7 month(s) ago
many thanks, i try that immediatly, very good job 😊
Dennis98BE
I briefly used it but now FlyWithLua puts your script in quarantine?
typicalskeleton 7 month(s) ago
This is usually caused by conflicting Lua scripts. Check if you're using any other lighting or atmosphere scripts, you may have to remove them.
You can also email your Flywithlua Debug log to [email protected] if you'd like me to take a look for you.
thebhoy27
THANK YOU! typicalskeleton for the mention
i love your mod, still using it, its my fav one so far, keep up the awesome work😊❤️😊
tadeuprimo
The results !
https://www.youtube.com/watch?v=KuCvlUqp6FI
Toni0909
"make a copy of 1000_lights_close.png, and copy 1000_lights_close.png from the ITC Lights zip folder."
There's no "ITC_lights"- folder!
typicalskeleton 9 month(s) ago
I'll update this to make it more clear. The instructions are referring to the zip file you downloaded from here.
kelvinzzz
Very nice and works well in latest xplane 12. very appreciate your work. Hope you have tweak landing lights Toliss. Thanks
johnbla
typicalskeleton, many thanks for adding in the airport lights mods that I requested. I really appreciate your efforts. Merry Christmas!
Also, I have assigned a keybind to preset one as per your suggestion but I noticed that it does not save the extras, eg airport lights on. Is this possible? Thanks again and sorry for all the requests but I am really loving your plug in.
typicalskeleton 10 month(s) ago
That's true, it doesn't save anything from the Extras menu. I will see what I can do for a future release, but unfortunately it may be a little while before I can get to it.I'm glad you're enjoying the tool though.typicalskeleton 9 month(s) ago
Your feature request has been added to v1.8.