Author Topic: Question about debris-strength  (Read 1423 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Question about debris-strength
I have a small problem, so maybe one of you guys can help me out here.

I noticed many mods and models that have debris in the centerpart of the pof-file.

Everytime I try that, the debris will be destroyed nearly instantly once the mainship explodes. I guess this is because the explosion is starting in the center of the model, and the value from "Expl blast" or "expl damage" is destroying the debris-chunk right away.

So what can be done, to increase the strength of the debrisparts (though I don't want to decrease the "expl blast" at all). I hope there is a solution. Until now , I never made any center debris, since it was just a waste of modelling time.

Thanks :)

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 Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Re: Question about debris-strength
:bump:

Sorry to bump this one here up, but I need the Info. Can anyone help me ?

Thanks
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 StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: Question about debris-strength
Unless your explosion damage is of value on magnitude with a small nova, I doubt it's the explosion itself causing them to blow up.  Unless someone can point out where hitpoints are assigned, debris hitpoints are hardcoded and are set very high.  Furthermore the number of debris that can be present is fixed as well IIRC, which means that if you have more debris chunks in your model than are allowed the extra ones will blow up basically as soon as they are spawned. 
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Re: Question about debris-strength
Large debris pieces that aren't from subsystem explosions have ship_strength/8 hitpoints and will blow up when more than 10000 meters from the player.  There is a 1/6 chance that the a hull debris piece lifetime will last between 1.5-2.5 seconds.  All subsystem debris pieces live between 1.5-2.5 seconds.  A debris piece will also explode if its the oldest active piece, the debris limit is reached (10) and a new piece needs to be created.
« Last Edit: November 20, 2005, 05:24:35 pm by PhReAk »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline FireCrack

  • 210
  • meh...
Re: Question about debris-strength
Speaking of such... how can you make subsystem debris?
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 Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Re: Question about debris-strength
Large debris pieces that aren't from subsystem explosions have ship_strength/8 hitpoints and will blow up when more than 10000 meters from the player.  There is a 1/6 chance that the a hull debris piece lifetime will last between 1.5-2.5 seconds.  All subsystem debris pieces live between 1.5-2.5 seconds.  A debris piece will also explode if its the oldest active piece, the debris limit is reached (10) and a new piece needs to be created.

Sounds complicated. Guess the "ship_strength/8 hitpoints " could be my problem.
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.