Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
Hi Shaun.I have dynamic lights working in V4 with out a hitch, but in v5 they show on the photoscenery 1000x brighter than in v4. They still display properly on the ground polygons however.
Any suggestions?
Hi Christian, I need some guidance...I followed your details regarding "ParticleAttributes" and tried it on a dynamic lighting effect that I created with MCX. I modified the effect file (since MCX does not include the items you stated above in RED) but running the latest P3Dv5 hotfix 1 and SDK, the effect "Intensity" remains as the last number in the Color End statement. Setting that to a 1 as you mentioned, reduces the "intensity" to 1 (aka, near zero), the Intensity Day and Intensity Night have no effect.Hi Shaun.
The glaring light could be that the developers of the P3Dv5 have made changes to the particle system. In my projects, all P3Dv4 Effects files for the P3Dv5 have to be revised. There are 2 new values in the "ParticleAttributes" section:
[ParticleAttributes.0]
Color Start=0, 0, 0, 0
Color End=255, 196, 136, 1
Bounce=0.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Falloff Exponent=1.0
Inner Cone Angle=45.00
Outer Cone Angle=180.00
Intensity Day=0.00
Intensity Night=100.00
In addition, the effect is now switched on or off via the "Color End" value: 0 = OFF, 1 = On
So much for my discoveries regarding the changed particle system. Hopefully it will help you a little
I don't know if you did something wrong or if you read something wrong. The post above from me relates to the light type Spotlight (type 28). Do you use this type of light or do you use a different type of light?After all, it may also be possible that with Hotfix 1 this problem described by Shaun no longer occurs.Hi Christian, I need some guidance...I followed your details regarding "ParticleAttributes" and tried it on a dynamic lighting effect that I created with MCX. I modified the effect file (since MCX does not include the items you stated above in RED) but running the latest P3Dv5 hotfix 1 and SDK, the effect "Intensity" remains as the last number in the Color End statement. Setting that to a 1 as you mentioned, reduces the "intensity" to 1 (aka, near zero), the Intensity Day and Intensity Night have no effect.
What in the world have I done wrong..or misread?
Turn the ground splash off during the day. You need to abandon the [lights] section of the aircraft.cfg file and use [smoke] instead to control your lighting fx. There are 99 entries available in the [smoke] section: start at 1 because 0 (zero) doesn't work.
The bad news is that the PBR channel in v5 creates a much brighter intensity at a lower alpha value than v4.x, so if you are developing for both sims then you will need to make fx files that are specific to each sim.
is the landing lights switch off? // Don't care about the time of day
{
set the landing_lights_splash to false (off)
}
else
is the landing lights switch on?
{
Does time-of-day = day
{
set the landing_lights_splash to false (off)
}
else
{
set the landing_lights_splash to true (on)
}
}
Ahhhh.... you're modifying existing aircraft?