Author Topic: OMG I got it working!!! SUPER-3d-SHOCKWAVES!  (Read 24427 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Quote
Originally posted by Kalfireth
That just doesn't look very realistic. I mean... there's no obvious reason for the shockwave to go from white to light blue and then suddenly to orange and dark red. It just doesn't seem to merge very well.  


It's half-scientifically sound, since red-orange-light blue is the order of low energy->high energy.
-C

 

Offline Scuddie

  • gb2/b/
  • 28
  • I will never leave.
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
By that statement, the blue should be on the outside, and the orange red be on the inside, no?
Bunny stole my signature :(.

Sorry boobies.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • Minecraft
    • FLAMES OF WAR
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
too many colors = too cartoony.

Hell the beam cannons and turrets, shields and engine glows are enough.

Now there's flak color, explosion color, shockwave color and God knows what's next!

Window color? Cockpit color? nebula trail color?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
No, space color, ships color :nerd: :crazy:

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
I love the coders.

All shockwaves work 100% correct now:

Try this build.
http://www.hard-light.net/forums/index.php/topic,34181.0.html

Happy. ;7
--------------------------------------------------
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 MetalDestroyer

  • Starwars reborn!
  • 210
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Should we need your tbl file from the first released or not ??

 
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
:yes: :yes: :yes: :yes: :yes: :yes:

So i´m just comming from my two-week vacation and DaBrain makes it look like a whole new game again. I swear, i will never play FSOpen without these shockwaves again AMEN.:eek: :eek: :eek:

 

Offline Boomer

  • 28
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Quote
too many colors = too cartoony.



This coming from the people who included a cell shading feature in FSO?:nervous:
Viva la UBERBOMB!

"I have no gods, only questions." -Me

A man once came to me and asked me to express a profound thought.  I told him.....<Static>...

Look on the bright side, it looks absolutely nothing like a penis.-Turambar

I reject your reality and substitute my own!

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Quote
Originally posted by MetalDestroyer
Should we need your tbl file from the first released or not ??


Well, I use it. :)

I've not investigated this issue though. :nervous:
--------------------------------------------------
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 Flaser

  • 210
  • man/fish warsie
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Quote
Originally posted by Scuddie
The blue one looks awesome, but it also looks like it doesn't belong.  The orange/red one looks awesome, but it also looks overwhelming.  I still think that if you put the two together, it would look perfect.  A redish orange flaming head of explosion followed subtley by a blue trail would work perfectly, IMO.

EDIT:  I was thinking of something like this:


Kalifireth, actually that's the most realistic shockwave I ever saw.
Closer to the epicenter, the matter is hotter, therefore it produces more high energy emission (ergo lower wavelenght, ergo closer to the blue part of the spectrum).
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Fineus

  • I made this.
  • Administrator
  • 212
    • Hard Light Productions
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Then I don't like reality ;)

But that's my personal taste. Doesn't matter. Go ahead and do what looks / works best.

 

Offline Ace

  • Truth of Babel
  • 212
    • http://www.lordofrigel.com
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
I actually like it. More or less accurate, and reminiscent of both the blue FS1 shockwaves and the firey ones now popular.
Ace
Self-plagiarism is style.
-Alfred Hitchcock

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Hey Dab, i found a little bug in Open GL when playing in Nebula.
I don't know why i got that, but i just have the model, the ani doesn't work very well in nebula.
In this picture, i use the Red Shockwave. I didn't try to play with the blue one.

Take a look :



 

Offline Scuddie

  • gb2/b/
  • 28
  • I will never leave.
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
I would actually say that looks pretty awesome in nebulae...  If not for the large opaque figure in the 2nd pic.
Bunny stole my signature :(.

Sorry boobies.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
DB: What are the table changes that I need to do to have the 3D shockwave working right (The blue one?)

Actually, my plan is to have this effect for missile shockwaves, and the blue 3D effect for ship shockwaves, so there may be some combining needed. mv_adveffects hasn't been lagging enough lately. :p
-C

 

Offline FireCrack

  • 210
  • meh...
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
I think it would be best to go the other way around, because GTVA missiles (bombs atleast) are said to use antimatter warheads and i always imagined an antimatter shockwave as being blue-white. But that's why tables are so modifiable i guess.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
@MetalDestroyer It works fine for me, but I use D3D. I'll try OpenGL.

This problem only appears in nebula missions?
It's probably a code bug then I fear.


Quote
Originally posted by WMCoolmon
DB: What are the table changes that I need to do to have the 3D shockwave working right (The blue one?)

Actually, my plan is to have this effect for missile shockwaves, and the blue 3D effect for ship shockwaves, so there may be some combining needed. mv_adveffects hasn't been lagging enough lately. :p


Well, I didn't change much... I've only edited the 'shockwave speed' value in the ships.tbl, but I'll have to tweak that a bit for the 3d shockwaves I think.

It's shouldn't require any other table changes.

Maybe mutliple shockwaves require entries in the weapon_expl.tbl, but I don't know. You're the coder. ;7


Edit: I think I can approve the bug MD found.



The distance to the shockwave seems to affect the opacity.
« Last Edit: July 30, 2005, 07:14:27 pm by 1688 »
--------------------------------------------------
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 WMCoolmon

  • Purveyor of space crack
  • 213
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Well, multiple shockwaves are in as of the latest build, and should be a simple matter of specifying "$Shockwave name:" as the very last shockwave variable in any ship or weapon entry that supports shockwaves. Should behave exactly the same except you can use shockwaves other than "shockwave01".

Of course there's a max of 8 different shockwaves per mission, including the default.
-C

 

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Quote
Originally posted by MetalDestroyer
i found a little bug in Open GL when playing in Nebula.

Caused by fogging.


@WMCoolmon:  I'm not going to have time to test this any time soon so I'll pass it off to you since it's your code. :p :)

Add MR_NO_FOGGING to the shockwave model_render() flags and see if it helps.  You'll probably want to test it in D3D too just to make sure it doesn't do strange stuff there but I don't think that it will.  This is basically the same problem as the laser nebula render error which only seemed to hurt OGL before.  Just making sure that it's rendered without fog should be enough to fix it.  Non-model shockwaves are rendered without fogging already but POF versions will have fog turned back on before render unless you tell it otherwise.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
OMG I got it working!!! SUPER-3d-SHOCKWAVES!
Added it to CVS...don't know if it'll fix it, but i doubt it'll break it since I already use it in the lab.
-C