The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:U2DrakkMedium (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn >> U2PawnBase >> U2PawnBasic >> U2DrakkMedium
Package: 
U2Pawns

U2DrakkMedium.uc

Properties[edit]

Property group 'U2DrakkMedium'[edit]

bDamageWhenDeactivated[edit]

Type: bool

allow Drakk to be damaged when collapsed and deactivated

Default value: True

ChargeLead[edit]

Type: float

fraction of ChargeUpTime (between 0.0 and 1.0) where laser leads target by and subsequently locks in at end of charging

Default value: 0.25

ChargeUpTime[edit]

Type: float

amount of time spent charging up with an armed laser before firing, maximum difficulty setting (lowest time)

Default value: 0.8

DeactivationTimeLimit[edit]

Type: float

time before Drakk self-destructs after being deactivated, maximum difficulty setting (highest time)

Default value: 60.0

LaserDamage[edit]

Type: int

amount of damage caused by laser shot

Default value: 50

RechargeTime[edit]

Type: float

amount of time (in seconds) spent recharging after a shot is fired, maximum difficulty setting (lowest time)

Default value: 2.0

Internal variables[edit]

bClampActive[edit]

Type: bool


bConstructedEffects[edit]

Type: bool


bCutterActive[edit]

Type: bool


BlueScanTimer[edit]

Type: float


bSpinnerActive[edit]

Type: bool


bWelderActive[edit]

Type: bool


ChargeUpEffect[edit]

Type: ParticleGenerator


ClampDummy[edit]

Type: LookTarget


ClampTimer[edit]

Type: float


CutterDummy[edit]

Type: LookTarget


CutterTimer[edit]

Type: float


DamageEffect[edit]

Type: ParticleRadiator


DeactivationTimer[edit]

Type: float


ElectricEffect[edit]

Type: ElectricGenerator


FireTimer[edit]

Type: float


RefurbishFrac[edit]

Type: float


RefurbishHealth[edit]

Type: int


ServiceDroid[edit]

Type: Pawn


ServiceTimer[edit]

Type: float


SmokeEffect[edit]

Type: ParticleSalamander


SparkTimer[edit]

Type: float


SpinnerDummy[edit]

Type: LookTarget


SpinnerTimer[edit]

Type: float


TracerBeamEffect[edit]

Type: PulseLineGenerator


TracerEndDummy[edit]

Type: LookTarget


TracerStartDummy[edit]

Type: LookTarget


WelderDummy[edit]

Type: LookTarget


WelderTimer[edit]

Type: float


Default values[edit]

Property Value
AnimationControllerClass None
bAlwaysGib True
bCanKnockDown False
bDistressedWandering False
bHasRangedAttack True
bIgnoreImpactForces True
bOverridesDamageEffect True
CollisionHeight 90.0
CollisionRadius 39.0
CombatStyle 100.0
DamageFilterClass Class'U2Pawns.DamageFilterDrakk'
GibForSureHealth 0.0
GibMaybeHealth 0.0
GibMaybeOdds 1.0
GibSetClass Class'U2Pawns.GibSetDrakkMedium'
GroundSpeed 375.0
Health 800
JumpZ 0.0
Mass 350.0
Mesh LegendMesh'GlmCharactersG.DrakkMedium'
ParticleHitEffect ParticleSalamander'Impact_Metal_AR.ParticleSalamander0'
PrePivot
Member Value
Z 15.0
RotationRate
Member Value
Pitch 4096
Roll 3072
Yaw 6500
Skins[0] Shader'CharacterFXT.Drakk.DrakkMediumBody2FX'
Skins[1] Shader'CharacterFXT.Drakk.DrakkMediumBody1FX'
Skins[2] Shader'CharacterFXT.Drakk.drakkmediumbody3fx'
SoundRadius 200.0
SoundVolume 250
TeamNumber 42
TossedItems[0] "U2Weapons.ammoLaserRifle"

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: U2Pawn.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: U2PawnBasic.PostBeginPlay


Tick[edit]

event Tick (float DeltaTime)

Overrides: U2Pawn.Tick


Other instance functions[edit]

ChunkUp[edit]

function ChunkUp ()

Overrides: U2Pawn.ChunkUp


ClampStart[edit]

function ClampStart ()


ClampStop[edit]

function ClampStop ()


Cleanup[edit]

function Cleanup ()


ConstructEffect[edit]

simulated function ParticleGenerator ConstructEffect (ParticleGenerator EffectTemplate, optional bool bNoMount)


CutterStart[edit]

function CutterStart ()


CutterStop[edit]

function CutterStop ()


DeathExplosion[edit]

function DeathExplosion ()


DrakkActivate[edit]

simulated function DrakkActivate ()


DrakkDeactivate[edit]

simulated function DrakkDeactivate ()


eventTakeDamage[edit]

function eventTakeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2Pawn.eventTakeDamage


FilterInvalidPawn[edit]

function bool FilterInvalidPawn (Pawn P)


FireLaser[edit]

simulated function FireLaser (Object.Vector EndPoint)


LaserTrace[edit]

simulated function bool LaserTrace (Actor Src, out Actor.CheckResult Hit, bool TracePawns)


LimbDamage[edit]

function LimbDamage (Actor LimbDummy, int Damage)


LimbStart[edit]

function float LimbStart (name ActionName, name InputName, float Time)


LimbStop[edit]

function float LimbStop (name ActionName, name InputName, float Time)


LimbTick[edit]

function LimbTick (float DeltaTime)


MountToLaser[edit]

simulated function MountToLaser (Actor A)


ParticleTick[edit]

simulated function ParticleTick (float DeltaTime)


SpinnerStart[edit]

function SpinnerStart ()


SpinnerStop[edit]

function SpinnerStop ()


UpdateElectricEffect[edit]

function UpdateElectricEffect (float Amount)


UpdateSparkEffects[edit]

function UpdateSparkEffects (float DeltaTime, float Amount)


WelderStart[edit]

function WelderStart ()


WelderStop[edit]

function WelderStop ()