Author Topic: Debris Particle effect  (Read 2795 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Debris Particle effect
Hello,

I got a question and hope someone can help me on this. The question is regarding the original freespace 2 demo.
2 Years back we ( WCS) used the freespace2 demo to release an aprils fools joke. Unfortunately, I lost our release package, and I also can't get the demo to run, so I need your help.

When a capship exploded in the demo, there were not only the normal explosion ani's, but there were lots of small yellow glowing thingies remaining for quite some time which look like small firelike debris, i guess those were simple partice effects.

However, I'm not able to reproduce that in the new SCP installation. Either I'm missing the correct particle files, or it has been coded out.
(Sorry that I can't post a picture right now).

Can anyone tell me if that's a missing effect, or if it is no longer supported by the engine ? I find the explosion quite boring when the fire and debris vanquish after a few seconds into nothing.

Starman©
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Debris Particle effect
Don't people refer to that effect as "popcorn"?
The Trivial Psychic Strikes Again!

 

Offline FireCrack

  • 210
  • meh...
Re: Debris Particle effect
Like when the lucifer died in the fs1 ending cutscene?
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 Trivial Psychic

  • 212
  • Snoop Junkie
Re: Debris Particle effect
Or the Shivan Comm Nodes?
The Trivial Psychic Strikes Again!

 

Offline Prophet

  • 210
  • The know-it-all
Re: Debris Particle effect
That would fit in fighters u know... Tone down the explosion ani, and add the "popcorn". So it would look like the fighter goes splash. It would look great if it could be used when a beam kills you...  :nod:
I'm not saying anything. I did not say anything then and I'm not saying anything now. -Dukath
I am not breaking radio silence just cos' you lot got spooked by a dead flying ****ing cow. -Sergeant Harry Wells/Dog Soldiers


Prophet is walking in the deep dark places of the earth...

 

Offline redsniper

  • 211
  • Aim for the Top!
Re: Debris Particle effect
That crackly sound that capship explosions make is the popcorn popping. :nod:
"Think about nice things not unhappy things.
The future makes happy, if you make it yourself.
No war; think about happy things."   -WouterSmitssm

Hard Light Productions:
"...this conversation is pointlessly confrontational."

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Re: Debris Particle effect
Besides getting hungry (i made myself now a big portion of popcorn :D ) anyone knows if this can be built in again, or is it a code-issue ? :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Sorry to dig this up, but it's what I want to discuss. [Just curious, which is better: to do this, or make a new thead about something discussed before?]

I was quite interested in this effect, so I started trying things.  I see the popcorn is still there, it just never lasts long.  I changed ParticleSmoke02 (which is the one we want) to have a VERY slow framerate, so in theory that would make the particles be visible longer, right?  But instead they vanish (mid-animation) after a certain short time period.  Fighters are the best example of this.  Capships, it sticks around longer but still not long enough.

So, is there something else I should change, perhaps in tables (that I have not found so far)?  Or like Starman01 asks, is it just in the code?  Perhaps it is proportion to ship size or total hitpoints?

 

Offline aceofspades

  • 26
  • Janitor on a SJ Sathanas
Re: Debris Particle effect
You know, inferno has 'dust' that stays around for a while. It's really visible when you take down a Peregrine or something and first there's a series of small shockwaves and an orange glow, than you see this grey and brown stuff spraying in this cloud-like shape.
I wonder if the Shivans eat chocolate? Or play FS2, for that matter.

 

Offline gevatter Lars

  • Another wingnut
  • 213
    • http://gevatter_lars.tripod.com/
Re: Debris Particle effect
What about changing the length instead of the framerate? That would have been my first idea when I want something longer.
"Yes! That is my plan, and I see nothing wrong with it. I figure that if I stick to a stupid strategy long enough it might start to work."
 - comment to "Robotech: The Masters"

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Debris Particle effect
Heh, good idea.

Now I've tried that (with the older popcorn-looking one), and it's even more apparent.  You can try it for yourself if you like (attached):

[attachment deleted by admin]

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Re: Debris Particle effect
Excellent, that was exactly what I mean, thanks Backslash :)

Now there are just a few questions that remain

a) How can I increase their numbers after a capship explosion
b) Where is this effect used else (since there might be situations where this long glowing could be strange, i.e. missile trails or stuff)
« Last Edit: March 19, 2006, 05:19:15 am by Starman01 »
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Turnsky

  • FOXFIRE Artisté
  • 211
  • huh?.. Who?.. hey you kids, git off me lawn!
Re: Debris Particle effect
a debris effect on impacts with larger ships would be cool, tho, like a smattering of 2d hullplate things with a mix of the odd particle "popcorn" whenever a beam cannon, torp, or energy weapon shot strikes the hull of a large capital vessel, the system's partially in place, incase you haven't noticed, just fly your fighter into the engine wash sometime and watch the little bits fly off.
   //Warning\\
---------------------------------------------------------------------------------
do not torment the sleep deprived artist, he may be vicious when cornered,
in case of emergency, administer caffeine to the artist,
he will become docile after that,
and less likely to stab you in the eye with a mechanical pencil
-----------------------------------------------------------------------------------

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Debris Particle effect
I found it!  I found it!

In fs2_open/code/ship/shipfx.cpp, there's a bit like so:
Code: [Select]
#ifdef FS2_DEMO
pe.min_life = 2.0f*range;   // How long the particles live
pe.max_life = 10.0f*range;  // How long the particles live
#else
pe.min_life = 0.5f*range;   // How long the particles live
pe.max_life = 6.0f*range;   // How long the particles live
#endif
and a few other similar settings (involving number of particles, speed, range and scale) surrounding it.  This stuff is some of what we want to customize!

Course, in my opinion I like the FS2_DEMO look so much that I don't see why it isn't the default, but I dunno, others may disagree?  And being able to customize this even further through tables or something would be awesome.   :yes:

  

Offline Dark RevenantX

  • 29
  • anonymity —> animosity
Re: Debris Particle effect
Explosions should be just little random explosions around the ship whose size and length of usage should be dependant on the ship, finaled by a large number of little explosions across the entire hull at the same time.  The ship would break apart into its debris chunks without losing 90% of them right after the explosion.