Author Topic: Fix the "damage lightning"!  (Read 14669 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Fix the "damage lightning"!
decals need a change in the model format, not shaders.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Fix the "damage lightning"!
lol, bum mapping.

Is it true that Turey is a smaller version of you ?

Dude, seriously, thanks.......I just sprayed Mt. Dew all _over_ my monitor.....

*sighs*

:)
:lol: Oops!  I guess I should rely less on FireFox's spell-checker, eh?
The Trivial Psychic Strikes Again!

 

Offline DaBrain

  • Screensniper
  • Moderator
  • 212
    • Shadows of Lylat board
Re: Fix the "damage lightning"!
Shaders!!!

And what exactly do you want the 'shaders' to do?

I don't think this is the right place to use a shader...
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Fix the "damage lightning"!
I just wanted to say it.
Freelance Modeler | Amateur Artist

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Fix the "damage lightning"!
:lol:

Shaders, the new Coke :)

Seriously though, thing about shaders is that they aren't the end-all of graphical problems. In some ways they will be the beginning of it. Remember, there are commercial games out there written by professional paid programmeres that lag horribly when Shaders start to be used heavily.

While I completely support the idea of expanding FS2 so that the high level systems can feel the benefit while low level systems can turn off the extra effects, relying too heavily on shaders for all the pretty effects will still put a strain on the system, especially if we 'go large', which we usually do ;)

As far as the electricity arcs are concerned, must admit, I haven't looked at them for ages :nervous:

 

Offline Agent_Koopa

  • 28
  • These words make the page load that much slower.
Re: Fix the "damage lightning"!
So, the little orange squares that show up on the fighters aren't supposed to be like that?
Interestingly enough, this signature is none of the following:
A witty remark on whatever sad state of affairs the world may or may not be in
A series of localized forum in-jokes
A clever and self-referential comment on the nature of signatures themselves.

Hobo Queens are Crowned, but Hobo Kings are Found.

 

Offline Sparky

  • 24
  • Former JBX MegaRaptors
Re: Fix the "damage lightning"!
Has anybody come up with a solution to this? I've just let mine be... but it's getting annoying playing the Derelict campaign... wingmen are always critical.

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Fix the "damage lightning"!
It can and will be fixed, eventually.  But it's just not high enough of a priority, or big enough of a deal, that anyone is going to go out of their way to fix it anytime soon.  There are far more important things to work at the moment.
« Last Edit: April 05, 2007, 11:46:03 am by taylor »

 

Offline Sparky

  • 24
  • Former JBX MegaRaptors
Re: Fix the "damage lightning"!
Just wondering if it's one of those "I didn't download something" things... or if this is pretty much for everyone.

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Fix the "damage lightning"!
Just wondering if it's one of those "I didn't download something" things... or if this is pretty much for everyone.
There is no additional data or anything used for the damage arcs.  It if looks extra strange then it's most likely a driver/video-card/settings issue, but I don't know that you can actually do anything about that.  The effect doesn't look that great even in perfect conditions though and is meant mainly to look ok at distance, not up close.  But when the effect is re-coded then that won't be an issue any longer.

 

Offline Sparky

  • 24
  • Former JBX MegaRaptors
Re: Fix the "damage lightning"!
It only looks strange on small craft, like on the 1st page. Capital ships look fine. I'll just wait for the next release :)

 

Offline takashi

  • Better than TrashMan
  • 29
Re: Fix the "damage lightning"!
i get 2 pixel-wide "bolts". the squares must be with only certain peoples computers.

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Fix the "damage lightning"!
There is no additional data or anything used for the damage arcs.  It if looks extra strange then it's most likely a driver/video-card/settings issue, but I don't know that you can actually do anything about that.

Maybe. I did have all my stock driver settings, but I've changed them around since then. Maybe it has something to do with transparent anti-aliasing?
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

  

Offline Agent_Koopa

  • 28
  • These words make the page load that much slower.
Re: Fix the "damage lightning"!
i get 2 pixel-wide "bolts". the squares must be with only certain peoples computers.

I'm talking about the ones in nebula missions.
Interestingly enough, this signature is none of the following:
A witty remark on whatever sad state of affairs the world may or may not be in
A series of localized forum in-jokes
A clever and self-referential comment on the nature of signatures themselves.

Hobo Queens are Crowned, but Hobo Kings are Found.

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Fix the "damage lightning"!
Test pic of new arcs...


 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Fix the "damage lightning"!
For inspiration: The Z Machine (melts diamond!)





Others:






Also try this site: (more and different images): http://www.tcbouk.org.uk/corby2001/index.htm
« Last Edit: April 18, 2007, 01:59:49 am by jr2 »

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Fix the "damage lightning"!
For inspiration: The Z Machine (melts diamond!)

<-snip->

Also try this site: (more and different images): http://www.tcbouk.org.uk/corby2001/index.htm
If you intend to code it up then get started.  Otherwise none of that is going to happen, so there isn't much point in wanting it. :)


 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Fix the "damage lightning"!
Heh, heh.  Code it?  So the effect doesn't rely on pictures; it is completely generated?  Give me a way to tweak the code if it's human - readable, I might give it a try.  I've no clue how to code, but I can adjust code values until I get close to what I want, I think.  Can you post a sample of the said code?

EDIT: What I'm saying is, is it sort of like tweaking a table file?

 

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Fix the "damage lightning"!
Hmm, I think I might see the major difference - is it that the new one is neither a single pixel wide line nor a string of polys? It doesn't have that nasty fracturing that stringing multiple rectangular textured polygons would give, yet it's not a single pixel thick anymore either. :)

Though I'd need to see it in motion to say for sure, it doesn't look quite right yet. A bit thick, sharp and one solid colour to be at it's full potential. Does it use a graphic to draw it or is it value based? Either way would mean just a small amount of tweaking to make it look awesome.

Oooh, and is this to be another feature of the ship lab? :D
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Fix the "damage lightning"!
EDIT: What I'm saying is, is it sort of like tweaking a table file?
Deffinitely not.  If you wanted anything remotely like what you have in those images you would have to code it all in from scratch.  You'd almost have to completely rip out of the existing code for the arcs and do it all over again, but far more complicated than it is now. :)

Hmm, I think I might see the major difference - is it that the new one is neither a single pixel wide line nor a string of polys? It doesn't have that nasty fracturing that stringing multiple rectangular textured polygons would give, yet it's not a single pixel thick anymore either. :)

Though I'd need to see it in motion to say for sure, it doesn't look quite right yet. A bit thick, sharp and one solid colour to be at it's full potential. Does it use a graphic to draw it or is it value based? Either way would mean just a small amount of tweaking to make it look awesome.
Previously, each section of each arc was a separate polygon.  They were never truely connected in any way, they just happened to use the same basic points.  It also was generally too big on smaller ships.

I changed it to use a quad strip instead.  That makes it a solid poly rather than the separate stuff from before, and it also means that there won't ever be a gap in the arcs.  I also changed it so that the width will vary between 0.2 (for small ships) and 0.6 (for larger ships) depeding on the radius of the ship.  The width is x2 though, off of each side of each point.  That makes sure that it doesn't end up too large in small fighters (like the pic in the first post shows).  I originally set the width at 0.09 for smaller ships, and though that looks pretty good in the lab it doesn't look as good in-game.  You just have to be too close to the ship in question to actually see the arcs, so I increased the size little by little until I found something that works better in-game, and that was 0.2.

I can change the size around though, quite easily.  Making it smaller doesn't work all that well in-game, but it's easy enough to change the max size.  And it is just a solid color and no textures are involved.  It doesn't always look like it's a single color though, but that is just some byproduct of the effect/rendering rather than the color actually being different.

Oooh, and is this to be another feature of the ship lab? :D
Hehe, I haven't decided actually.  I did actually make all ships in the lab have damage arcs in the lab so that I could test it out easier, so the code is basically there to do such a thing.  It's just not really a useful thing though, so I had never planned to leave that capability in place and was just going to rip it out after I got done testing.  But I suppose I could be convinced to leave it in, if everyone really, really wants it. :)