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 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 00148 00149 00150 00151 00152 00153 00154 00155 00156 00157 00158 00159 00160 00161 00162 00163 00164 00165 00166 00167 00168 00169 00170 00171 00172 00173 00174 |
/** * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class GameExplosion extends Object native editinlinenew; // // Gameplay parameters // /** * If TRUE, this will be a "directional" explosion, meaning that all radial effects will be applied only * within DirectionalExplosionAngleDeg degrees of the blast's facing direction (which should be supplied via Explode()). */ var() bool bDirectionalExplosion; /** Half-angle, in degrees, of the cone that defines the effective area of a directional explosion. */ var() float DirectionalExplosionAngleDeg; /** Delay before applying damage after spawning FX, 0.f == no delay */ var() float DamageDelay; /** Amount of damage done at the epicenter. */ var() float Damage; /** Damage range. */ var() float DamageRadius; /** Defines how damage falls off. High numbers cause faster falloff, lower (closer to zero) cause slower falloff. 1 is linear. */ var() float DamageFalloffExponent; /** Optional actor that does not receive any radial damage, to be specified at runtime */ var transient Actor ActorToIgnoreForDamage; /** If set, ignore instigator when doing damage/effects. Can be set in addition to above */ var transient bool bIgnoreInstigator; /** The actor class to ignore for damage from this explosion **/ var() class<Actor> ActorClassToIgnoreForDamage; /** The actor class to ignore for knockdowns and cringes from this explosion **/ var() class<Actor> ActorClassToIgnoreForKnockdownsAndCringes; /** True to allow teammates to cringe, regardless of friendly fire setting. */ var() bool bAllowTeammateCringes; /** Unused? Option to force full damage to the attachee actor. */ var transient bool bFullDamageToAttachee; /** What damagetype to use */ var() class<DamageType> MyDamageType<AllowAbstract>; /** radius at which people will be knocked down/ragdolled by the projectile's explosion **/ var() float KnockDownRadius; /** @fixme, base this on MomentumTransferScale? */ var() float KnockDownStrength; /** radius at which people will cringe from the explosion **/ var() float CringeRadius; /** duration of the cringe. X=duration at epicenter, Y=duration at CringeRadius. Values <0 mean use default cringe. */ var() vector2d CringeDuration; /** Percentage of damagetype's momentum to apply. */ var() float MomentumTransferScale; /** Whether or not we should attach something to the attachee **/ var() bool bAttachExplosionEmitterToAttachee; // // Particle effect parameters // /** Which particle effect to play. */ var() ParticleSystem ParticleEmitterTemplate; /** Scalar for increasing/decreasing explosion effect size. */ var() float ExplosionEmitterScale; /** Track if we've hit an actor, used to handle cases such as kidnapper protected from hostage damage */ var Actor HitActor; /** We need the hit location and hit normal so we can trace down to the actor to apply the decal (e.g. hitting wall or floor) **/ var vector HitLocation; var vector HitNormal; // // Audio parameters // /** Audio to play at explosion time. */ var() SoundCue ExplosionSound; // // Dynamic light parameters // /** Defines the dynamic light cast by the explosion */ var() PointLightComponent ExploLight; /** Dynamic Light fade out time, in seconds */ var() float ExploLightFadeOutTime; /** If true, will perform an EffectIsRelevant check before spawning the radial blur */ var() bool bPerformRadialBlurRelevanceCheck; /** Defines the blurred region for the explosion */ var() RadialBlurComponent ExploRadialBlur; /** Radial blur fade out time, in seconds */ var() float ExploRadialBlurFadeOutTime; /** Radial blur max blur amount */ var() float ExploRadialBlurMaxBlur; // // Fractured mesh parameters // /** Controls if this explosion will cause fracturing */ var() bool bCausesFracture; /** How far away from explosion we break bits off */ var() float FractureMeshRadius; /** How hard to throw broken off pieces */ var() float FracturePartVel; /** If true, attempt to get effect information from the physical material system. If false or a physicalmaterial is unavailable, just use the information above. */ var() bool bAllowPerMaterialFX; /** So for tagged grenades we need override the particle system but still want material based decals and such. **/ var() bool bParticleSystemIsBeingOverriddenDontUsePhysMatVersion; /** This tells the explosion to look in the Map's MapSpecific info **/ var() bool bUseMapSpecificValues; var() bool bUseOverlapCheck; // // Camera parameters // /** TRUE to rotate CamShake to play radially relative to the explosion. Left/Right/Rear will be ignored. */ var() bool bOrientCameraShakeTowardsEpicenter; /** Shake to play when source is in front of the camera, or when directional variants are unspecified. */ var() editinline CameraShake CamShake; /** Anim to play when the source event is to the left of the camera. If None, CamShake will be used instead. */ var() editinline CameraShake CamShake_Left; /** Anim to play when the source event is to the right of the camera. If None, CamShake will be used instead. */ var() editinline CameraShake CamShake_Right; /** Anim to play when the source event is behind of the camera. If None, CamShake will be used instead. */ var() editinline CameraShake CamShake_Rear; /** Radius within which to play full-powered camera shake (will be scaled within radius) */ var() float CamShakeInnerRadius; /** Between inner and outer radii, scale shake from full to zero */ var() float CamShakeOuterRadius; /** Exponent for intensity falloff between inner and outer radii. */ var() float CamShakeFalloff; /** TRUE to attempt to automatically do force feedback to match the camera shake */ var() bool bAutoControllerVibration; /** Play this CameraLensEffect when ever damage of this type is given. This will primarily be used by explosions. But could be used for other impacts too! **/ var() class<EmitterCameraLensEffectBase> CameraLensEffect; /** This is the radius to play the camera effect on **/ var() float CameraLensEffectRadius; defaultproperties { ExplosionEmitterScale=1.f MomentumTransferScale=1.f bCausesFracture=TRUE bPerformRadialBlurRelevanceCheck=false ExploRadialBlurMaxBlur=2.0 CringeDuration=(X=-1.f,Y=-1.f) CamShakeFalloff=2.f bAutoControllerVibration=true } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |