Jump to content

Fulcrum/Flanker Overwing Vapor Fix


RYS

Recommended Posts

Hello, Flanker, Fulcrum players and ED team.

 

I am here to bring some love to our forgotten module, and give a little hand to fix some minor things. This is addressed mostly to ED developpers because I am going to give some clues to tweak some parameters for a better world in DCS. It is a bug report with a fix.

 

1. First thing first,

 

Mig-29's overwing vapor is wrong. It is using the F/A18 overwing vapor when it should be using the Mig-29's.

In DCS World OpenBeta\Config\Effects\ParticleSystem2\overwingVapor.lua ; "SpawnLocationsFile = "mig-29.owv""  doesn"t do anything. So it just takes back the F/A18 presets in the "effect" section.

 

2. I think it is time to add some overwing vapor to the Su-27. Please ED, it is just one simple line of code.

 

Here is the tweak :

We need to modify the DCS World OpenBeta\Config\Effects\ParticleSystem2\overwingVapor.lua

Since it is wrong, it has to be modified. The presets code section for the MiG29 isn't working, plus, we can add the preset for the Flanker.

 

What we have to do to make it work, is to create a whole new preset for each aircrafts.

 

New code in DCS World OpenBeta\Config\Effects\ParticleSystem2\overwingVapor.lua

Spoiler

Effect = {
    {
        Type = "overwingVapor",
        ShadingFX = "ParticleSystem2/overwingVapor.fx",
        UpdateFX  = "ParticleSystem2/overwingVaporComp.fx",
        Technique = "techOverwingVapor",

        Texture = "overwingVapor.dds",
        TextureDetailNoise = "puffNoise.png",
        LODdistance = 1500,

        SpawnLocationsFile = "fa-18c_vapor.owv",

        ParticlesCount = 300,
        ParticleSize = 2.7,
        ScaleOverAgeFactor = 1.8, -- scale = ParticleSize * (1 + (normalized age) * ScaleOverAgeFactor)

        VaporLengthMax = 7.0, -- meters

        AlbedoSRGB = 0.86,

        OpacityMax = 0.25,
        OpacityOverPower = {-- vapor power -> normalized opacity. In this case opacity = sqrt(vapor power)
            {0.0,    0.0},
            {0.125,    0.35355339059327376220042218105242},
            {0.25,    0.5},
            {0.5,    0.70710678118654752440084436210485},
            {1.0,    1.0},
        },
    }
}

Presets = {

    -- Presets for the Flanker
    SU27 = {
        {
            Type = "overwingVapor",
            ShadingFX = "ParticleSystem2/overwingVapor.fx",
            UpdateFX  = "ParticleSystem2/overwingVaporComp.fx",
            Technique = "techOverwingVapor",

            Texture = "overwingVapor.dds",
            TextureDetailNoise = "puffNoise.png",
            LODdistance = 1500,

            SpawnLocationsFile = "J-11A_OverwingVapor.owv",

            ParticlesCount = 300,
            ParticleSize = 2.7,
            ScaleOverAgeFactor = 1.8, -- scale = ParticleSize * (1 + (normalized age) * ScaleOverAgeFactor)
            
            VaporLengthMax = 7.0, -- meters
            
            AlbedoSRGB = 0.86,
            
            OpacityMax = 0.85,
            OpacityOverPower = {-- vapor power -> normalized opacity. In this case opacity = sqrt(vapor power)
                {0.000, 0.0},
                {0.125, 0.35355339059327376220042218105242},
                {0.250, 0.5},
                {0.500, 0.70710678118654752440084436210485},
                {1.000, 1.0},
            },
        },
    },
    -- Presets for the Mig-29
    MiG29 = {
        {
            Type = "overwingVapor",
            ShadingFX = "ParticleSystem2/overwingVapor.fx",
            UpdateFX  = "ParticleSystem2/overwingVaporComp.fx",
            Technique = "techOverwingVapor",

            Texture = "overwingVapor.dds",
            TextureDetailNoise = "puffNoise.png",
            LODdistance = 1500,

            SpawnLocationsFile = "mig-29.owv",

            ParticlesCount = 300,
            ParticleSize = 2.7,
            ScaleOverAgeFactor = 1.8, -- scale = ParticleSize * (1 + (normalized age) * ScaleOverAgeFactor)
            
            VaporLengthMax = 7.0, -- meters
            
            AlbedoSRGB = 0.86,
            
            OpacityMax = 0.85,
            OpacityOverPower = {-- vapor power -> normalized opacity. In this case opacity = sqrt(vapor power)
                {0.000, 0.0},
                {0.125, 0.35355339059327376220042218105242},
                {0.250, 0.5},
                {0.500, 0.70710678118654752440084436210485},
                {1.000, 1.0},
            },
        },
    },
}

 

overwingVapor.lua

 

Now we have a brand new overwing Vapor presets for our beloved aircrafts. Since Mig-29 already has his line of code in his Mig-29.lua, ED team just need to add this line (please) in the Su-27.lua (Which we do not have access anymore), so the Su-27 can have his own overwing vapor : 

 

effects_presets = {
        { effect = 'OVERWING_VAPOR', preset = "SU27" },
    },

 

Voilà! Just need to tweak that and we can have good looking Russian aircrafts pulling up some G's.

You can download the new lua file, so you can compare the overwing vapor that you used to see and the real Mig-29's.

 

See you on the battlefield.


Edited by RYS
  • Like 10
Link to comment
Share on other sites

  • ED Team

Hi all

 

this has been reported to the team as a feature request.

 

thanks

  • Like 8

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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