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 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 |
/** * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class UTProj_Rocket extends UTProjectile native; simulated function PostBeginPlay() { // force ambient sound if not vehicle game mode bImportantAmbientSound = !WorldInfo.bDropDetail && (UTOnslaughtGRI(WorldInfo.GRI) == None); Super.PostBeginPlay(); if ( (InstigatorController == None) && (UTVehicle(Instigator) != None) && (Instigator.Instigator != None) ) { InstigatorController = Instigator.Instigator.Controller; } } defaultproperties { bWaitForEffects=True bAttachExplosionToVehicles=False bAttachExplosionToPawns=False bCheckProjectileLight=True AmbientSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Travel_Cue' ExplosionSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Impact_Cue' ProjFlightTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_RocketTrail' ProjExplosionTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_RocketExplosion' ExplosionDecal=MaterialInstanceTimeVarying'WP_RocketLauncher.Decals.MITV_WP_RocketLauncher_Impact_Decal01' DecalWidth=128.000000 DecalHeight=128.000000 CheckRadius=42.000000 ProjectileLightClass=Class'UTGame.UTRocketLight' ExplosionLightClass=Class'UTGame.UTRocketExplosionLight' Speed=1350.000000 MaxSpeed=1350.000000 Damage=100.000000 DamageRadius=220.000000 MomentumTransfer=85000.000000 MyDamageType=Class'UTGame.UTDmgType_Rocket' Begin Object Class=CylinderComponent Name=CollisionCylinder ObjName=CollisionCylinder Archetype=CylinderComponent'UTGame.Default__UTProjectile:CollisionCylinder' ObjectArchetype=CylinderComponent'UTGame.Default__UTProjectile:CollisionCylinder' End Object CylinderComponent=CollisionCylinder Components(0)=CollisionCylinder LifeSpan=8.000000 CollisionComponent=CollisionCylinder RotationRate=(Pitch=0,Yaw=0,Roll=50000) DesiredRotation=(Pitch=0,Yaw=0,Roll=30000) Name="Default__UTProj_Rocket" ObjectArchetype=UTProjectile'UTGame.Default__UTProjectile' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |