Jump to content

[SOLVED] strange pink ghost light, where does it come from


Go to solution Solved by grim_reaper68,

Recommended Posts

Posted (edited)

Hi 

I'm starting modding, but I encounter a strange pink light in my learning model. I checked for hidden object, but nothing. Does anyone have an idea from where it comes?

DCS 2024-04-22 00-36-03.png

DCS 2024-04-22 00-34-39.png

DCS 2024-04-22 00-36-17.png

Edited by grim_reaper68
  • grim_reaper68 changed the title to [SOLVED] strange pink ghost light, where does it come from
Posted

Look in the main lua for the lights section

Find any references to light color or type

comment out any sections which may be suspect and try once more.

The lights need a connector and arg, placed correctly on the model before export.

This way, your lights will show where they belong.

Hope this helps

With a nod to @Urbi for sharing this info.

  • Thanks 1

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Posted

I made several tests to come to this conclusion. I think, it comes effectively from the lua file. I used a lua file from the NH90 from Damien as an example. And now I just see that the M2000 or Mirage F1 haven't the intensity_max parameter in there files... As I am discovering the modding, I think I didn't took the most optimized example, but by the way it's good, so I discovered some strange behavior, and now I better understand those sections of the lua file. 

I'm glad that I could help TeTeT, and hopefully new modder too.

  • Thanks 1
  • 1 month later...
Posted

Is there an idiots guide to setting up spot/landing lights anywhere? I too have the hideous purple light, tried the connectors, and the args, edited out the line's etc but still shows

AMD Ryzen 9 7845HX with Radeon Graphics           3.00 GHz

32 GB RAM

2 TB SSD

RTX 4070 8GB

Windows 11 64 bit

Posted

Max !

I've watched skatez video's I've sussed out the Nav and strobes, but the landing/taxi lights... not so good.

AMD Ryzen 9 7845HX with Radeon Graphics           3.00 GHz

32 GB RAM

2 TB SSD

RTX 4070 8GB

Windows 11 64 bit

Posted

Can you share the  lua file where the lights are in? So I can take a look. As said above, by setting the intensity_max = 0 in the lua file, the pink light disappear. 

 You didn't  tell me if you are using 3DSmax or blender for your mod. 

Here an example for the taxi light in 3DS

Capture d'écran 2024-06-21 180847.png

The default argument used is 209 (208 for the landing light), as you can see it's a target spot. You have to set the color and the multiplier in directly in 3DS. 

Then setup tthe visibilty argument like that

Capture d'écran 2024-06-21 180916.png

After what, you have to set the mulitplier, so your light lights up gradually.Capture d'écran 2024-06-21 180957.png 

If you set the multiplier of the target spot to 2 for example, then you must start the curve at -2 (at  step 0), and finish at 0 at the step 100. In my case, I set it up to 4.5 but it was to bright, so I ended it at -2.4. 

 

  • 2 weeks later...
Posted

Grim, many thanks, just noticed this post now, will give this a try ... and then get back to you for more advice, help, but this goes a long way to helping for sure

  • Like 1

AMD Ryzen 9 7845HX with Radeon Graphics           3.00 GHz

32 GB RAM

2 TB SSD

RTX 4070 8GB

Windows 11 64 bit

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...