wolfram44 Posted April 24, 2014 Report Posted April 24, 2014 Here is two for testing, please report back to this thread or xp-developer.com Place them into the FlyWithLua/Script folder art_test.lua = Athmospheric Scattering by Michel T minus the light entry light_test.lua = All my light entry with personally tweak. PS..Besides those two, my script folder is emtpy, SkyMaxx Pro is installed (settings included) Upload failed due to restrictions, so here is the code... Lightset( "sim/private/controls/light/random_percent=", 0.10)set( "sim/private/controls/lighting/deferred_uses_stencil", 0.00)set( "sim/private/controls/lights/3d/constant_atten", 1.00)set( "sim/private/controls/lights/3d/rheo_rgb_curve", 1.00)set( "sim/private/controls/lights/3d/rheo_size_curve", 1.00)set( "sim/private/controls/lights/always_night_lights", 1.00)set( "sim/private/controls/lights/beacon_rotate_billboard", 1.00)set( "sim/private/controls/lights/beacon_rotate_spill", 0.20)set( "sim/private/controls/lights/beacon_strobe_billboard", 1.00)set( "sim/private/controls/lights/beacon_strobe_spill", 0.10)set( "sim/private/controls/lights/bloom_far", 100.00 )set( "sim/private/controls/lights/bloom_for_zoom", 1.00)set( "sim/private/controls/lights/bloom_near", 10.00 )set( "sim/private/controls/lights/dist_far", 100.00)set( "sim/private/controls/lights/dist_near", 80.00)set( "sim/private/controls/lights/exponent_far", 0.45)set( "sim/private/controls/lights/exponent_near", 0.40)set( "sim/private/controls/lights/fat_omni_cutoff", 0.707)set( "sim/private/controls/lights/hdr_mix", 0.60)set( "sim/private/controls/lights/kill_dynamic_billboards", 0.00)set( "sim/private/controls/lights/kill_dynamic_spill", 0.00)set( "sim/private/controls/lights/lod_max_static_bb", 1.00)set( "sim/private/controls/lights/lod_max_static_gnd", 1.00)set( "sim/private/controls/lights/lod_max_static_sp", 1.00)set( "sim/private/controls/lights/mix_big", 64.00)set( "sim/private/controls/lights/mix_small", 16.00)set( "sim/private/controls/lights/mix_weather_fog", 0.30)set( "sim/private/controls/lights/mix_weather_rain", 0.10)set( "sim/private/controls/lights/scale_far", 0.80)set( "sim/private/controls/lights/scale_near", 0.50)set( "sim/private/controls/lights/spill_scale", 66.00)set( "sim/private/controls/lights/srgb_gamma", 2.20)set( "sim/private/controls/lights/use_srgb", 1.00)set( "sim/private/controls/lights/vasi_papi_red_b", 0.90)set( "sim/private/controls/lights/vasi_papi_red_g", 0.60)set( "sim/private/controls/lights/vasi_papi_red_r", 0.80)set( "sim/private/controls/lights/vasi_papi_white_b", 1.00)set( "sim/private/controls/lights/vasi_papi_white_g", 0.50)set( "sim/private/controls/lights/vasi_papi_white_r", 1.00)artset( "sim/private/controls/clouds/cloud_shadow_lighten_ratio", 0.85 )set( "sim/private/controls/atmo/atmo_scale_raleigh", 20.0 )set( "sim/private/controls/atmo/inscatter_gain_mie", 5.0 )set( "sim/private/controls/atmo/inscatter_gain_raleigh", 10.0 )set( "sim/private/controls/atmo/scatter_raleigh_b", 40 )set( "sim/private/controls/atmo/scatter_raleigh_g", 10.30 )set( "sim/private/controls/atmo/scatter_raleigh_r", 0.010 )set( "sim/private/controls/skyc/white_out_in_clouds", 0.5 )set( "sim/private/controls/clouds/plot_radius", 1.20 )set( "sim/private/controls/clouds/soft_occlude", 1.00 )set( "sim/private/controls/skyc/mie_scattering_foggy", 25.000 )set( "sim/private/controls/skyc/mie_scattering_ocast", 7.00 )set( "sim/private/controls/lights/bloom_far", 3000.00 )set( "sim/private/controls/lights/bloom_near", 120.00 )set( "sim/private/controls/lights/mix_big", 80.000 )set( "sim/private/controls/lights/mix_small", 25.00)set( "sim/private/controls/lights/bloom_for_zoom", 0.60)set( "sim/private/controls/hdr/gain_min", -4.8)set( "sim/private/controls/clouds/ambient_gain", 4.0)Love the night lites, but on my airport approaches, The runway lights don't appear until I'm almost touched down. Then they just pop into view. The same with streetlights. Is there any adjustment to increase the visibility distance for the lights. Quote
Tom Knudsen Posted April 24, 2014 Author Report Posted April 24, 2014 You have to old code, update to latest version now out v1.02 http://xp-developer.com/index.php?/files/file/8-fly-with-lua-light-tweak/ Quote
wolfram44 Posted April 24, 2014 Report Posted April 24, 2014 You have to old code, update to latest version now out v1.02 http://xp-developer.com/index.php?/files/file/8-fly-with-lua-light-tweak/OK...downloaded the 1.02 code. Still having the same issue. City lights are ok now, but airport runway lights and general airport lighting only illuminate when I'm almost overhead. I was using KJFK as a test. At first I tried KTPA which of course is a smaller airport and it was fine. I am also using the latest Lua I could find. I do have the Raleigh tweak in the plugins also, but have not installed the Aerosoft sky tools light tweak. I am using HDR in gfx settings. Quote
puffy Posted April 24, 2014 Report Posted April 24, 2014 What a coincedence! I downloaded a new scenery pack last evening, Florida Central from Ted Davis, and noticed the same issue. Runway lights were only visible upon being very close to the touchdown zone. Further out the lights were just not visible. I assumed this was an issue with the scenery pack. I shortly shutdown the simulator and went away from the computer. I hadn't even thought that the runway lighting problem could have been related to Tom's Fly With Lua scripts. I will be interested to read what others have to say about this and to test further with X-Plane when I have an opportunity to. Quote
captainamerican Posted April 24, 2014 Report Posted April 24, 2014 I just use Real Terra Haze Lighting and these scripts for art. Its a temporary fix until they get the runway lights issue figured out, because i had it too. Quote
Tom Knudsen Posted April 24, 2014 Author Report Posted April 24, 2014 (edited) but have not installed the Aerosoft sky tools light tweak Try using that Please elaborate on the runway lights, mine is like this Edited April 24, 2014 by Tom Knudsen Quote
wolfram44 Posted April 24, 2014 Report Posted April 24, 2014 Try using that Please elaborate on the runway lights, mine is like this jfk2.PNG jfk3.PNGOK.. adding the aerosoft sky tools "lights" seemed to do the job. Wondered how I can fix the intense star filter effect on the ramp lighting at KJFK? Thanks for the help. Quote
Tom Knudsen Posted April 24, 2014 Author Report Posted April 24, 2014 Version 1.3 is now out, you can find it here What is new!Bugfixes.Changed the code for the spill light.Changed the code for the HDR.Cangeed the code for the runway lights.Adjusted aircraft beacon light size and spill Known bugs!Radio Towerlight blacks out for unknown reason http://xp-developer.com/index.php?/files/file/9-fly-with-lua-light-tweak/ Screenshots are showing before and after Aerosoft Light Fix (white light) Before After Quote
puffy Posted April 24, 2014 Report Posted April 24, 2014 Try using that Please elaborate on the runway lights, mine is like this jfk2.PNG jfk3.PNG As an aside, Tom, would you mind showing a screenshot of your rendering settings from which those screenshots were taken? Thanks. Quote
chaps Posted April 24, 2014 Report Posted April 24, 2014 (edited) Version 1.3 is now out, you can find it here What is new!Bugfixes.Changed the code for the spill light.Changed the code for the HDR.Cangeed the code for the runway lights.Adjusted aircraft beacon light size and spill Known bugs!Radio Towerlight blacks out for unknown reason http://xp-developer.com/index.php?/files/file/9-fly-with-lua-light-tweak/ Screenshots are showing before and after Aerosoft Light Fix (white light) Beforejfk6.PNG Afterjfk4.PNGYour 'readme' file says it needs xsquawkbox installed. I don't use it and cannot remember what it is for but why would it be required to 'interact' with the light_tweak script? Will it work without it? Also do you leave the RTH_lights.lua in the scripts folder with the light-tweak? Edited April 24, 2014 by chaps Quote
Tom Knudsen Posted April 24, 2014 Author Report Posted April 24, 2014 Have not tried without, I fly on Vatsim so xsquawkbox is mandetory. Fly With Lua uses XSB as console for interaction, that is if you need to. Try without and tell us the result plz Quote
chaps Posted April 24, 2014 Report Posted April 24, 2014 What about the Rth-lights.lua ? Does it stay with the tweak file? I.e both installed? Sent from my iPhone using Tapatalk Quote
chaps Posted April 24, 2014 Report Posted April 24, 2014 Have not tried without, I fly on Vatsim so xsquawkbox is mandetory. Fly With Lua uses XSB as console for interaction, that is if you need to. Try without and tell us the result plzI tried it without xsquawkbox installed and both the runway lights and street lights only come on when you are very close. I tried with both RTH_lights.lua and lights_tweak.lua together and installed separately with the same results each time. Only come on when very close. Quote
wolfram44 Posted April 24, 2014 Report Posted April 24, 2014 kjfk.JPGOK.. adding the aerosoft sky tools "lights" seemed to do the job. Wondered how I can fix the intense star filter effect on the ramp lighting at KJFK? Thanks for the help.Guess issue is not gone after all. See sequence of screen shots showing flyover of Rnwy 310 at KJFK. Progression shows approach with only 1/2 of runway lites on. Then sequentially, rest of runway comes on then ramp illumination and last the pole lights. Using the new 1.3 script with white aerosoft light tweak. Quote
Tom Knudsen Posted April 24, 2014 Author Report Posted April 24, 2014 (edited) My runway lights work fine, see them far and near so I cannot bugfix it. I am using XSB64, SkyMaxxPro v1.3 and Aerosoft Light Fix, HDR on Edited April 24, 2014 by Tom Knudsen Quote
wolfram44 Posted April 25, 2014 Report Posted April 25, 2014 I removed XSB and all is well. I will ck to see if I have the latest XSB 64 though. Quote
Tom Knudsen Posted April 25, 2014 Author Report Posted April 25, 2014 I don't know If I think of the same thing as you guys. So I made a short video (low quality) to ask you to see if theissue is the same at my end. That will eliminate my view and narrow it down a bit in regards to the runway lights.This video is shot inbound KJFK Aerosoft lights is not present in this video! http://youtu.be/YNx-C_cKJME Quote
wolfram44 Posted April 25, 2014 Report Posted April 25, 2014 I don't see the problem I had, but I do have KJFK airport from Naps Sceneries installed. Doesn't look like you have any terminal scenery loaded. Quote
captainamerican Posted April 25, 2014 Report Posted April 25, 2014 (edited) After downloading the latest update, I still get this bug. Any suggestions? My runway is completely dark, until i come within a few meters from it, and as i am about about to land, only about 1/3 lights up, then after i touch down and proceed down the runway another 1/3 lights up/ and finally the final 1/3 at the end of the runway, as if the runway lights are being switched on as i progress with my landing. Screenshots below, how it looks compared to my distance in Night Vision. The 4 Red/white Glide slope lights are all thats visible. Started up on the runway at Heathrow: Proceeding down the runway and the lights go on Now a 3NM approach and runway is dark Zoom in a bit Night Vision is only way to see it As I approach, it begins to light up slightly Touched down, but still not lit further down the runway. Is there anything I can do, I have HDR enabled, i only have the light tweak and the art scripts running, aerosoft sky tools white lights, and World detail distance set to medium (to maximized my fps but I figured it might have something to do with this lighting issue) For now ill turn off the lights script but i hope theres something I can do because its my favorite add-on! Thanks in advance guys Edited April 25, 2014 by captainamerican Quote
Tom Knudsen Posted April 25, 2014 Author Report Posted April 25, 2014 World detail distance set to medium (to maximized my fps but I figured it might have something to do with this lighting issue) Set it to far (second highest) Not sure if this would help though.I will try Heathrow to see if I can reproduce this PS.. The first two pictures does not load Quote
Tom Knudsen Posted April 25, 2014 Author Report Posted April 25, 2014 Here is mine over Heathrow Quote
3saul Posted April 25, 2014 Report Posted April 25, 2014 I too am having this issue. Have 1.3 of your (fantastic) script, XSB and aerosoft lights. Quote
Tom Knudsen Posted April 25, 2014 Author Report Posted April 25, 2014 Do you all have Sky Maxx Pro installed? Please elaborate what plugins you have too, i.e any texture enhancements etc.Lets try to narrow it down Quote
3saul Posted April 25, 2014 Report Posted April 25, 2014 (edited) Do you all have Sky Maxx Pro installed? Please elaborate what plugins you have too, i.e any texture enhancements etc.Lets try to narrow it downSo I have the following: FlyWithLuaHeadShakeHSAIR (AirTrack)MissionXPilotViewSky Maxx ProMaxx FXXChecklistLinuxTrackXSquawkBoxXRemoteFMCI also have HD Moon and Aerosoft lights Edited April 25, 2014 by 3saul Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.