Announcement

Collapse
No announcement yet.

flak cannon code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    flak cannon code

    look at this code for DamTypeFlakChunk

    class DamTypeFlakShell extends DamTypeFlakChunk;

    defaultproperties
    {
    DeathString="%o was ripped to shreds by %k's shrapnel."
    MaleSuicide="%o blew himself up with a flak shell."
    FemaleSuicide="%o blew herself up with a flak shell."

    GibPerterbation=0.25
    bDetonatesGoop=true
    bThrowRagdoll=true
    }
    look at this part, GibPerterbation=0.25, does this mean that this is how much damage its does? does GibPerterbation mean how close a damage type will bring a character to death or to be gibbed?

    #2
    From Wiki:
    float GibPerterbation
    When gibbing, the chunks will fly off in random directions.

    To me that means that the higher the number, the more randomly gibs fly.

    Comment


      #3
      ...and that wiki entry is taken directly from DamageType.uc, the parent class of WeaponDamageType.

      Code:
      var() float                 GibPerterbation;    // When gibbing, the chunks will fly off in random directions.
      Amazing the things you can learn by just being logical and searching through the code a bit.....

      Comment

      Working...
      X