Author Topic: Faster moving debris?  (Read 1869 times)

0 Members and 1 Guest are viewing this topic.

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Faster moving debris?
In the code what determines the speed at which debris moves away from a destroyed ship. Is it hard coded? Can it be influenced by the pof of the ship being destroyed or the ship's table entry? I ask because I'm blowing up a planet and the debris is not flying away at an appropriately planetary speed. Actually I think it's moving away at the speed it normally would. Which on a planetary scale means it looks like it's just sat there.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Good question, i have the problem in an opposite site. My debris (mostly from fighters) is moving ridiculous fast. Would be good, if this can be controlled in some sort

Has it something to do with the "mass" of the model or something ?
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 IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Yes Babylon 5 does that. When it splits the two halves of the station fly about 30km apart or something ridiculous and it flings the debris away so quickly you can't admire it. Which is a shame because I spent a bit of time on it.

Well anyway. Mars. THe model being destroyed. Has a mass of 215999991662455550000.000000. Which is quite a lot really. Although it could be causing some kind of overflow error in the code that uses it to calculate split and debris flinging speed, somehow I doubt that. I find it more likely the mass isn't used for this at all.

Oh I also have to set it to kamikazi otherwise it takes forever to explode. Someone coded a new table entry to make the explode time user definable. Anyone remember what it is? I did a search but I couldn't find it.

Here's some pictures of Mars being blown up for no particular reason.



The rest are in the Screenshots thread in the TBP forum.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Mars getting blown up? Does this happen often in the B5 universe? :p
-C

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
If you've got good textures, I'll blow up any planet you like ;7
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline aldo_14

  • Gunnery Control
  • 213
Magarathea?

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
I'm guessing this probably more closely connected to the moment of inertia code...
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline FireCrack

  • 210
  • meh...
Moment of inirtia is for rotational momentum though...
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 IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Well the bits don't rotate either but that could bust because I didn't set the debris submodels as rotating in the pof.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Moment of inertia isn't rotational; it effects how your ship gets knocked around by impacts from missiles, shockwaves, other ships, etc.

The Mars model was made back before Bob had the MoI code figured out. Quite a few mods from that period had weird behaviour relating to the MoI code.

Granting this is speculation, but here's what I think.

The B5 model is newer and has proper MoI for something of its size: that's why it blows up so rapidly. The Mars model doesn't have proper MoI; it's probably copied from a large stock FS ship, so it blows up at the same speed as a large stock FS ship...which is very slow for a planet-sized object.
"Load sabot. Target Zaku, direct front!"

A Feddie Story