Jump to content

Invisible shield impact and smaller or less sparks


Lfan

Recommended Posts

Posted

Hello there!

I'm trying to achieve a more immersive gameplay by getting rid of those blueish / greenish shield effects in MP, when a player gets hit or even kicked (in JA++).

Which file controls this effect and how can I make it completely invisible? Is it text based in "/effects" folder or is there some kind of .tga that I need to replace with an empty .png?

I'm alos not happy with the huge amount and the size of sparks when someone gets hit with the saber.
I'm using "Enhanced Impact Effects" mod and I already tried to reduce the "count" and "size" in /effects/saber/saber_cut.efx of that mod, but there are still too many and too big sparks; i can't determine a change at all.

 

 

 

shield efx.jpg

sparks.jpg

Smoo likes this
  • Lfan changed the title to Invisible shield impact and smaller or less sparks
Posted

I made this like 15 years ago so I can't remember if it also works in MP. I originally made it for SP but not sure if it's the same effect in both. 

 

Smoo likes this
Posted

Thank you very much Circa!

Your mod didn't work in MP but it helped me to look at the right place and what to do.

So basically there are 2 files that need to be edited:
 

in folder:
/gfx/effects/

replace
shieldshell1.jpg with an all black image at the same size (128x128)
shieldshellring.jpg with an all black image at the same size (256x256)



Now I just need to come along with those sparks. In /effects/ there are 2 folders: /saber/ and /sparks/.
Both have a lot of attributes to control the sparks but I'm not sure how they behave. Is there any guide for handling sparks?
I want less sparks and way smaller sparks.

This is saber_clash.efx which is included in "Enhanced Impact Effects" by kalamaray

Spoiler

// Directed spark explosion effect

// Exploding tails with no gravity
Tail
{
    count    0     0
    life    200    400

    radius    2

    vel    175 0 0        375 0 0
    spawnflags     orgOnSphere     axisFromSphere

    size
    {
        start    0.3    0.5
    }

    length
    {
        start    5.0    
        end    15.0    25.0
        flags     linear
    }

    alpha
    {
        start    1.0
        end    0.0
        parms    60
        flags     nonlinear
    }

    shaders
    [
        gfx/misc/spark
    ]
}

Tail
{
    count                0 0

    life                700 1100

    intensity            0.25 0.4

    origin                0 -20 0

    velocity            -120 -80 -80 250 80 80

    gravity                -350 -450

    size
    {
        start            0.3 0.4
    }

    length
    {
        start            4 10
        end                0.1 1
        flags            linear
    }

    shaders
    [
        gfx/misc/spark
        gfx/misc/spark2
                gfx/misc/spark4
    ]
}

Line
{
    count                0 0

    life                100

    cullrange            1000

    origin2                6 -10 -10 12 10 10

    alpha
    {
        start            0.25 1
        end                0
        flags            linear
    }

    size
    {
        start            0.2 0.5
    }

    shaders
    [
        gfx/misc/spark
        gfx/misc/spark2
                gfx/misc/spark4
    ]
}

Tail
{
    count                0 0

    life                700 900

    cullrange            1000

    intensity            0.25 0.4

    velocity            150 -90 -90 300 90 80

    gravity                -350 -450

    size
    {
        start            0.3 0.4
    }

    length
    {
        start            4 10
        end                0.1 1
        flags            linear
    }

    shaders
    [
        gfx/misc/spark
        gfx/misc/spark2
                gfx/misc/spark4
    ]
}

Particle
{
    life                75

    origin                2 0 0

    alpha
    {
        start            0.8 1
        end                0.7
        flags            linear
    }

    size
    {
        start            55 65
        end                75
        flags            linear
    }

    shaders
    [
        gfx/misc/borgeyeflare
    ]
}

Particle
{
    life                70

    origin                2 0 0

    alpha
    {
        start            0.8 1
        end                0.7
        flags            linear
    }

    size
    {
        start            5 20
        end                15
        flags            linear
    }

    shaders
    [
        gfx/misc/flare
    ]
}

Particle
{
    life                50

    origin                2 0 0

    alpha
    {
        start            0.8 1
        end                0.7
        flags            linear
    }

    size
    {
        start            75 5
        end                2
        flags            linear
    }

    shaders
    [
        gfx/effects/whiteflare
    ]
}

Particle
{
    count                0 0

    life                300 400

    origin                0 -20 0

    velocity            8 -12 -12 16 12 12

    alpha
    {
        start            0.2 0.4
        end                0
        flags            linear
    }

    size
    {
        start            8 12
        end                2 4
        flags            linear
    }

    shaders
    [
        gfx/misc/steam
    ]
}

FxRunner
{
    count                0 0

    delay                0 100

    origin                0 -20 0

    playfx
    [
        volumetric/smoke
    ]
}

Sound
{
    sounds
    [
        sound/weapons/saber/saberhitwall1.mp3
        sound/weapons/saber/saberhitwall2.mp3
        sound/weapons/saber/saberhitwall3.mp3
    ]
}

 

 

 

Circa likes this
  • 1 month later...
Posted
On 10/14/2023 at 12:43 PM, Lfan said:

Thank you very much Circa!

Your mod didn't work in MP but it helped me to look at the right place and what to do.

So basically there are 2 files that need to be edited:
 

in folder:
/gfx/effects/

replace
shieldshell1.jpg with an all black image at the same size (128x128)
shieldshellring.jpg with an all black image at the same size (256x256)



Can you make the green shield smaller and more transparent instead of removing it altogether? I'm looking for a mod that makes it look better without just disabling it entirely. For example it would be cool to have just a green aura like with amempower instead of a huge green sphere.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...