- Joined
- Jan 5, 2009
- Messages
- 219
- Reaction score
- 0
- Points
- 16
- Location
- Near Verona
- Website
- orbiteritalia.forumotion.com
Hi guys ,i'm italian and sorry for my bad-english (i'm used translator )
This is the my next add-on
But is a problem ..
I have used this code in order to try to resolve the problem
if (GetAirspeed() >= 600)
{
SetThrusterMax0 (th_hover ,0.1);
SetThrusterLevel (th_hover,0.1);
SetThrusterGroupLevel (th_hover,0.1);
}
if (GetAirspeed() <= 600)
{
SetThrusterMax0 (th_hover ,0);
SetThrusterLevel (th_hover, 0);
SetThrusterGroupLevel (th_hover, 0);
}
if (GetAltitude() >= 8000)
{
SetThrusterMax0 (th_hover ,0.1);
SetThrusterLevel (th_hover,0.1);
SetThrusterGroupLevel (th_hover,0.1);
}
if (GetAltitude() <= 8000)
{
SetThrusterMax0 (th_hover ,0);
SetThrusterLevel (th_hover, 0);
SetThrusterGroupLevel (th_hover, 0);
}
The coordinates of push of the HOVER are equal to those of the MAIN, therefore when l' airplane exceeds the 8000 meters of height appears the contrail, and when it comes down disappear, the problem is when I extinguish the motors beyond the 8000 meters the contrail remain, would serve one code x to make me to work MAIN and HOVER in parallel, so that if I extinguish motors MAIN the contrail disappear also, also when l' airplane exceeds the 8000 mt of altitude
Someone can help me please?
This is the my next add-on
but i have a little problem with a contrail-texture..
I would want to emulate the contrail real ,than under a sure height they are not visible (vapour trails or contrails usually occur above 8000 metres (26,000 feet). where the temperature is below -40°C )I have used this code in order to try to resolve the problem
if (GetAirspeed() >= 600)
{
SetThrusterMax0 (th_hover ,0.1);
SetThrusterLevel (th_hover,0.1);
SetThrusterGroupLevel (th_hover,0.1);
}
if (GetAirspeed() <= 600)
{
SetThrusterMax0 (th_hover ,0);
SetThrusterLevel (th_hover, 0);
SetThrusterGroupLevel (th_hover, 0);
}
if (GetAltitude() >= 8000)
{
SetThrusterMax0 (th_hover ,0.1);
SetThrusterLevel (th_hover,0.1);
SetThrusterGroupLevel (th_hover,0.1);
}
if (GetAltitude() <= 8000)
{
SetThrusterMax0 (th_hover ,0);
SetThrusterLevel (th_hover, 0);
SetThrusterGroupLevel (th_hover, 0);
}
The coordinates of push of the HOVER are equal to those of the MAIN, therefore when l' airplane exceeds the 8000 meters of height appears the contrail, and when it comes down disappear, the problem is when I extinguish the motors beyond the 8000 meters the contrail remain, would serve one code x to make me to work MAIN and HOVER in parallel, so that if I extinguish motors MAIN the contrail disappear also, also when l' airplane exceeds the 8000 mt of altitude
Someone can help me please?