• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

AnKor's shader question

grover1

Charter Member
Hi,

I'm just wondering how I'd go about setting up the new contrail effects? I can't seem to get them to work.

I've got the February 27, 2017 version of the shaders package, but for some reason they just won't work for me.

Any suggestions?

Thanks
 
No luck. Tried modifying both the effects.xml file and setting the altitude to 30,000 feet. Still have no contrail effects
 
It's worth figuring it out

6 on 6 (no FPS impact)

Shot03-04-17-23-05-56_zpsorxua0jo.jpg

one minute the sky is full of trails

Shot03-04-17-23-07-25_zpstqyp9xuf.jpg

the next only a couple of pairs left.

30 seconds later I was alone in an empty sky.
 
FYI,

In the xdp file of most aircraft the universal lines of code to use are:

<Effect Type="Track" EffectName="fx_high_contrail" Location="emitter_eng0_exh_r" />
<Effect Type="Track" EffectName="fx_high_contrail" Location="emitter_eng0_exh_l" />

You can tell that this will work if you see

<Effect Type="StartEngine0" EffectName="fx_engstrt" Location="emitter_eng0_exh_r" />
<Effect Type="StartEngine0" EffectName="fx_engstrt" Location="emitter_eng0_exh_l" />

already in the effects section.

Only aircraft like ETO_P_51d_100_45 that didn't choose to incorporate the engine emitter locations in the model file need the x, y, z coordinates.
 
<high_contrail_1 ClassName="TrackEffect" FlatTrack="0" Lifetime="0" InitialDelay="0" ParticleLifetime="30" FadeInTime="5" FadeOutTime="25" PosX="0" PosY="-0.5" PosZ="0" CountSegments="2000" SegmentLength="12" Width="3.6" WidthGrow="1" InitialAlpha="0.0" InitialColor="255 255 255" Alpha="0.33" Color="255 255 255" FinalAlpha="0.0" FinalColor="222 222 255" BlendMode="QuadSprite" Texture="tr_condenstrail_basis1.dds" ZBias=".03"/>
<high_contrail_2 ClassName="TrackEffect" FlatTrack="0" Lifetime="0" InitialDelay="0" ParticleLifetime="30" FadeInTime="5" FadeOutTime="25" PosX="0" PosY="0.5" PosZ="0" CountSegments="2743" SegmentLength="8.75" Width="3.6" WidthGrow="1" InitialAlpha="0.0" InitialColor="255 255 255" Alpha="0.33" Color="255 255 255" FinalAlpha="0.0" FinalColor="222 222 255" BlendMode="QuadSprite" Texture="tr_condenstrail_basis2.dds" ZBias=".03"/>
<fx_high_contrail ClassName="GroupEffect" Effect0="high_contrail_1" Effect1="high_contrail_2" Effect2=""/>

This is in my effects.xml. I've got the two .dds files needed in my effects/fxtextures folder
 
<Effect Type="Track" EffectName="fx_ac_Light_formation_red" PosX="5.32" PosZ="-0.12" PosY="-0.18" MinVel="1" MaxVel="70"></Effect>
<Effect Type="Track" EffectName="fx_ac_Light_formation_green" PosX="5.32" PosZ="-0.34" PosY="-0.18" MinVel="1" MaxVel="70"></Effect>
<Effect Type="Track" EffectName="fx_ac_Light_formation_yellow" PosX="5.32" PosZ="-0.56" PosY="-0.18" MinVel="1" MaxVel="70"></Effect>
<Effect Type="Track" EffectName="fx_ac_Light_nav_green" PosX="5.65" PosZ="-0.15" PosY="-0.09" MinVel="1" MaxVel="70"></Effect>
<Effect Type="Track" EffectName="fx_ac_Light_nav_red" PosX="-5.65" PosZ="-0.15" PosY="-0.09" MinVel="1" MaxVel="70"></Effect>


<Effect Type="Track" EffectName="fx_ac_Light_tail" PosX="0" PosZ="-6.32" PosY="0.38" MinVel="1" MaxVel="70"></Effect>
<Effect Type="StartEngine0" EffectName="fx_engstrt" PosX="0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="StartEngine0" EffectName="fx_engstrt" PosX="-0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="0.52" PosZ="1.7" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="0.52" PosZ="1.95" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="-0.52" PosZ="1.7" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="-0.52" PosZ="1.95" PosY="0.0"/>
<Effect Type="Track" EffectName="fighter_exhaust_blue_flame" PosX="-0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Shells2" EffectName="fx_shells_s" Location="gun_grp2b0"/>
<Effect Type="Shells3" EffectName="fx_shells_s" Location="gun_grp3b0"/>
<Effect Type="Track" EffectName="fx_high_contrail" PosX="0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Track" EffectName="fx_high_contrail" PosX="-0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Track" EffectName="fx_high_contrail" PosX="0.52" PosZ="2.2" PosY="0.0"/>
<Effect Type="Track" EffectName="fx_high_contrail" PosX="-0.52" PosZ="2.2" PosY="0.0"/>

I wonder if I need the fx_N_gtrail effect? Maybe that has something to with it? But does my effects.xml look about right?
 
Back
Top