EDF damagetype reference: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
(Added means of death)
Line 7: Line 7:
   sourceless  <true/false
   sourceless  <true/false
  }
  }
==Default damage types (means of death)==
There are several built-in damage types, as defined in base/things.edf. They're useful in specials like '''DamageThing''' and '''Thing_Damage''':
*0: (Unknown)
*1: Fist
*2: Pistol
*3: Shotgun
*4: Chaingun
*5: Rocket
*6: R_Splash
*7: Plasma
*8: BFG
*9: BFG_Splash
*10: Chainsaw
*11: SShotgun
*12: Slime
*13: Lava
*14: Crush
*15: Telefrag
*16: Falling
*17: Suicide
*18: Barrel
*19: Splash
*20: Hit
*21: BFG11k_Splash
*22: BetaBFG
*23: BFGBurst
*24: PlayerMisc
*25: Grenade
*26: Quake
*27: Fire
[[category:EDF]]
[[category:EDF]]

Revision as of 16:19, 24 February 2016

Back to EDF
damagetype
{
  num          <integer>
  obituary     <string>
  obituaryself <string>
  sourceless   <true/false
}

Default damage types (means of death)

There are several built-in damage types, as defined in base/things.edf. They're useful in specials like DamageThing and Thing_Damage:

  • 0: (Unknown)
  • 1: Fist
  • 2: Pistol
  • 3: Shotgun
  • 4: Chaingun
  • 5: Rocket
  • 6: R_Splash
  • 7: Plasma
  • 8: BFG
  • 9: BFG_Splash
  • 10: Chainsaw
  • 11: SShotgun
  • 12: Slime
  • 13: Lava
  • 14: Crush
  • 15: Telefrag
  • 16: Falling
  • 17: Suicide
  • 18: Barrel
  • 19: Splash
  • 20: Hit
  • 21: BFG11k_Splash
  • 22: BetaBFG
  • 23: BFGBurst
  • 24: PlayerMisc
  • 25: Grenade
  • 26: Quake
  • 27: Fire