|
发表于 2013-7-5 11:06:03
|
显示全部楼层
来自 中国–湖北–黄冈
本帖最后由 KzFun.小鱼 于 2013-7-5 11:33 编辑
sakulekingz 发表于 2013-7-3 19:40
喂,打酱油的 - -
原来都在hlsdk_const.inc
- // Instant damage values for use with gmsgDamage 3rd value write_long(BIT)[/color]
- #define DMG_GENERIC 0 // Generic damage was done
- #define DMG_CRUSH (1<<0) // Crushed by falling or moving object
- #define DMG_BULLET (1<<1) // Shot
- #define DMG_SLASH (1<<2) // Cut, clawed, stabbed
- #define DMG_BURN (1<<3) // Heat burned
- #define DMG_FREEZE (1<<4) // Frozen
- #define DMG_FALL (1<<5) // Fell too far
- #define DMG_BLAST (1<<6) // Explosive blast damage
- #define DMG_CLUB (1<<7) // Crowbar, punch, headbutt
- #define DMG_SHOCK (1<<8) // Electric shock
- #define DMG_SONIC (1<<9) // Sound pulse shockwave
- #define DMG_ENERGYBEAM (1<<10) // Laser or other high energy beam
- #define DMG_NEVERGIB (1<<12) // With this bit OR'd in, no damage type will be able to gib victims upon death
- #define DMG_ALWAYSGIB (1<<13) // With this bit OR'd in, any damage type can be made to gib victims upon death.
- #define DMG_DROWN (1<<14) // Drowning
- #define DMG_PARALYZE (1<<15) // Slows affected creature down
- #define DMG_NERVEGAS (1<<16) // Nerve toxins, very bad
- #define DMG_POISON (1<<17) // Blood poisioning
- #define DMG_RADIATION (1<<18) // Radiation exposure
- #define DMG_DROWNRECOVER (1<<19) // Drowning recovery
- #define DMG_ACID (1<<20) // Toxic chemicals or acid burns
- #define DMG_SLOWBURN (1<<21) // In an oven
- #define DMG_SLOWFREEZE (1<<22) // In a subzero freezer
- #define DMG_MORTAR (1<<23) // Hit by air raid (done to distinguish grenade from mortar)
- #define DMG_TIMEBASED (~(0x3fff)) // Mask for time-based damage
复制代码 |
|