Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

OnslaughtFull.ONSAutoBomberBomb


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
class ONSAutoBomberBomb extends RedeemerProjectile;

//we don't have bots shoot bomber bombs because we'd rather they shoot the bomber itself instead
function BeginPlay()
{
    Super(Projectile).BeginPlay();
}

function Timer()
{
}

state Dying
{
    function BeginState()
    {
    bHidden = true;
    SetPhysics(PHYS_None);
    SetCollision(false,false,false);
    ShakeView();
    InitialState = 'Dying';
    if ( SmokeTrail != None )
        SmokeTrail.Destroy();
    }

Begin:
    PlaySound(sound'WeaponSounds.redeemer_explosionsound');
    HurtRadius(Damage, DamageRadius*0.500, MyDamageType, MomentumTransfer, Location);
    Sleep(0.5);
    HurtRadius(Damage, DamageRadius, MyDamageType, MomentumTransfer, Location);
    Destroy();
}

defaultproperties
{
     ExplosionEffectClass=Class'OnslaughtFull.ONSAutoBomberBombExplosion'
     Damage=600.000000
     DamageRadius=660.000000
     StaticMesh=StaticMesh'VMWeaponsSM.PlayerWeaponsGroup.bomberBomb'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Wed 7/2/2007 19:12:48.000 - Creation time: Wed 7/2/2007 19:16:45.890 - Created with UnCodeX