Author Topic: How exactly collision damage is calculated?  (Read 5625 times)

0 Members and 1 Guest are viewing this topic.

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: How exactly collision damage is calculated?
It seems that the whole collision damage calculation is due to a revision and value exposing. Right now, it's rather inflexible, and the formula seems arcane.
For example, it'd be nice if collision damage could be easily controlled, and ships could be forced to vaporize on a crash. Perhaps a special effect could be defined when crashing into a specific model (useful for ships with unusual hulls or landscape models). I'd also like to be able to make a ship vanish upon a crash (combined with the previous effect, it'd make for a neat "splashdown" effect in the water). I'm sure other modders can think of more uses.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: How exactly collision damage is calculated?
inb4stopBackseatCoding
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grĂ¢ce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: How exactly collision damage is calculated?
inb4nextidiotwhothinkstheywon'tgetasmackforaninb4

Seriously though, there is nothing wrong with Dragon's post.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: How exactly collision damage is calculated?
damage calculation code is insanely complicated (im not even sure if the same code is used to compute collision damage). i dont ever want to look at that code again.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: How exactly collision damage is calculated?
Yet you will have to look at it eventually, personally tho i m more curious about the mass behavior inertia and related, specially when defining it on POF files.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: How exactly collision damage is calculated?
hell no. ive seen it when trying to figure out how to set where difficulty based damage scaling is computed, so that people writing an armor table can decide to do it first, last, or in an arbitrary spot in their computations. i still have nightmares about it. im just going to stay away from damage code from this point forward.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: How exactly collision damage is calculated?
hmm do collisions type damage can be defined in tables? could at least be used along with armors tbl to hack them into doing more or less damage.