Maxloef

Directional based shield FX

Directional based shield FX

Work in progress

Title says it all, 

A shader augmentation by a good friend of mine (https://twitter.com/RC_1290

based on impact effect, this shader also uses the race color as specified in Racefile.entity.

This shader effect will be used in an unnamed upcoming mod, the theme of the mod is not hard to guess from the picture.

hope you enjoy

231,262 views 70 replies
Reply #51 Top

Quoting RC-1290, reply 51
I would love to say that it'll be released this week, but it turns out that graphics programming is a lot easier than web development .

Like anything it depends how far you want to go with it. Web pages are just easier to fall victim to the "endless tweaking syndrome".

 

Reply #52 Top

Quoting RC-1290, reply 51
I'm sorry it is taking so long. I've been working on some other projects that needed to be finished before I could release my free work. I'm writing the page for this mod right now.
It'll be released when I launch my site.

I would love to say that it'll be released this week, but it turns out that graphics programming is a lot easier than web development .

Or just host it up somewhere, and feed the link here.  Problem solved.

Reply #53 Top

Wannnt..  :meow:

Reply #54 Top

Quoting GoaFan77, reply 51

Like anything it depends how far you want to go with it. Web pages are just easier to fall victim to the "endless tweaking syndrome".


Hehe, I know the problem, but it was less of endless tweaking and more a lack of functionality ;).

So the site is still a bit of a mess, but I guess there's no better way to determine priorities than to test it a bit. So, here you go. I would love to hear what you like, what you don't like, and what breaks first :D.

Reply #55 Top

Quoting RC-1290, reply 55
So the site is still a bit of a mess, but I guess there's no better way to determine priorities than to test it a bit.

Ya, maybe an off white rounded box or something besides the gray background with dark gray text ;)

Reply #56 Top

I also would suggest an increase of contrast between text and background to make it easier to read.

harpo

Reply #57 Top

Ah, I was wondering whether that would be a problem. It's entirely possible that my screen makes it easier to read dark grey on light grey.

Reply #58 Top

Quoting RC-1290, reply 55
I would love to hear what you like, what you don't like, and what breaks first

Well it all seems to work. I'm assuming this is just the early content, and you haven't had time to get the page layout setup. Having a bunch of divs doesn't mean anything if it doesn't make your page look any more organized.

Still, thanks for putting that out there, I'll be glad to give more web advice once you get things more situated.

Reply #59 Top

Quoting GoaFan77, reply 59

Quoting RC-1290, reply 55I would love to hear what you like, what you don't like, and what breaks first

Well it all seems to work. I'm assuming this is just the early content, and you haven't had time to get the page layout setup. Having a bunch of divs doesn't mean anything if it doesn't make your page look any more organized.

Still, thanks for putting that out there, I'll be glad to give more web advice once you get things more situated.


Ah yes, especially that random div after the video iframe is quite glorious, right? I was in the middle of making it float decently between a small and big screen layout when I decided that I was better off just placing it somewhere for the time being and focussing on actually releasing something :P.

Oh and of course the wonderful piece of text next to the water simulation, which starts with:
Quoting Myself,

Please Note: the following text was written while sleep deprived and is intended more as filler and reminder than as something that's actually readable.

Reply #60 Top

Love the effect, good job!

One question, how do I change the color of the shields, I'd like them all to be blue?

 

Reply #61 Top

Quoting AxelDude, reply 61

One question, how do I change the color of the shields, I'd like them all to be blue?

The standard version uses the colors set in the race file of each...well... race. So, changing those colors also changes the shield.

Download
However, this version uses the default blue color.

Changing the Color

If you want to change the color, you can open the 'GS_ShieldImpact.fx' file inside the PipelineEffect folder of the mod, with a simple text editor like notepad (not a rich text editor like Word) and search for 'shieldColor'.

Code: HLSL
  1. float4 shieldColor = float4(99.f / 255.f, 184.f / 255.f, 255.f / 255.f, 1.f);


Some background information:

The 'float()' on the right of the equals sign contains the Red, Green, Blue and Alpha components of the color. These are values between 0 and 1, in stead of the 0-255 (8-bit per channel) values you might find in Photoshop or MS Paint. You will also see they have an f right behind them. This is to tell the game (or well... the compiler) that it is a specific kind of floating point value.

What you need to do:
Simply find a color you like with a standard color picker, copy over the R, G and B values, add and "f / 255.f" (without the quotation marks) at the end of each value. The shader currently doesn't use the alpha channel for anything, so just leave that at 1.f.

+2 Loading…
Reply #62 Top

Quoting RC-1290, reply 62

Quoting AxelDude, reply 61
One question, how do I change the color of the shields, I'd like them all to be blue?

The standard version uses the colors set in the race file of each...well... race. So, changing those colors also changes the shield.

Download
However, this version uses the default blue color.



Changing the Color

If you want to change the color, you can open the 'GS_ShieldImpact.fx' file inside the PipelineEffect folder of the mod, with a simple text editor like notepad (not a rich text editor like Word) and search for 'shieldColor'.


Code: HLSLfloat4 shieldColor = float4(99.f / 255.f, 184.f / 255.f, 255.f / 255.f, 1.f);



Some background information:

The 'float()' on the right of the equals sign contains the Red, Green, Blue and Alpha components of the color. These are values between 0 and 1, in stead of the 0-255 (8-bit per channel) values you might find in Photoshop or MS Paint. You will also see they have an f right behind them. This is to tell the game (or well... the compiler) that it is a specific kind of floating point value.

What you need to do:
Simply find a color you like with a standard color picker, copy over the R, G and B values, add and "f / 255.f" (without the quotation marks) at the end of each value. The shader currently doesn't use the alpha channel for anything, so just leave that at 1.f.

 

Great, just what I needed, thanks dude!  :meow:

Reply #63 Top

Wow, nice work.  :thumbsup:   k1

Are you making this public for modders, like me, for Star Trek - SoA2.
with credit of coarse. 

If you are, may I suggest putting that info in the OP along with the coloured and not coloured download links.

I can also mirror files on soase.x90x.net if you like. This site is also a work in progress.

 

Quoting RC-1290, reply 62
The standard version uses the colors set in the race file of each...well... race. So, changing those colors also changes the shield.
Download
However, this version uses the default blue color.

k1

Reply #64 Top

Quoting myfist0, reply 64

Are you making this public for modders, like me, for Star Trek - SoA2.
with credit of coarse. 

If you are, may I suggest putting that info in the OP along with the coloured and not coloured download links.

I can also mirror files on soase.x90x.net if you like. This site is also a work in progress.

Feel free to include this in a mod, preferably with a reference to my site ;).

I'll make a release thread for this later™ :), with all important stuff in the main post, because I don't own this thread (I signed up AFTER Maxloef made the post for me ;) ), so I can't change the main post. That might also be a nice place to reference mods that end up using it.

 

Right now, my site seems to be handling it, despite the fact that it's running custom code, instead of a well known stable framework. If it ends up exploding because of heavy traffic, I'd like to take you up on your offer :).

Reply #65 Top

Amazing mod, thank you very much! I've always wanted better shield effects in Sins, and as a hardcore Trekkie, this satisfies my desire for shieldy awesomeness :D

I've been trying to find this "shieldColor" you've been referring to in the file since I want the TEC shield bubble to be blue, like the Advent, but I can't find any reference to it. Any ideas?

Reply #68 Top

Only found about this now and it looks great. Good job and thanks!

Reply #69 Top

Awesome sauce! :-D

Reply #70 Top

Glad you guys are sharing it and it looks perfect so far.