Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 |
//============================================================================= // DamTypeHuskGunProjectileImpact //============================================================================= // Damage type for the husk gun projectile impacting something //============================================================================= // Killing Floor Source // Copyright (C) 2011 Tripwire Interactive LLC // - John "Ramm-Jaeger" Gibson //============================================================================= class DamTypeHuskGunProjectileImpact extends KFProjectileWeaponDamageType; static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth) { HitEffects[0] = class'HitSmoke'; if( VictimHealth <= 0 ) HitEffects[1] = class'KFHitFlame'; else if ( FRand() < 0.8 ) HitEffects[1] = class'KFHitFlame'; } static function AwardDamage(KFSteamStatsAndAchievements KFStatsAndAchievements, int Amount) { KFStatsAndAchievements.AddFlameThrowerDamage(Amount); } defaultproperties { HeadShotDamageMult=1.500000 WeaponClass=Class'KFMod.Huskgun' DeathString="%k killed %o (Husk Gun)." FemaleSuicide="%o blew up." MaleSuicide="%o blew up." bRagdollBullet=True bBulletHit=True DeathOverlayMaterial=Combiner'Effects_Tex.GoreDecals.PlayerDeathOverlay' DeathOverlayTime=999.000000 KDamageImpulse=10000.000000 KDeathVel=300.000000 KDeathUpKick=100.000000 HumanObliterationThreshhold=200 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |