I'm a doctor, not a mechanic

UE1:Mercenary (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT Object >> Actor >> Pawn >> ScriptedPawn >> Mercenary
Package: 
UnrealI
Direct subclass:
MercenaryElite
This class in other games:
RTNP, U1

Mercenary

Properties[edit]

Property group 'Mercenary'[edit]

bButtonPusher[edit]

Type: bool


bCanFireWhileInvulnerable[edit]

Type: bool


bHasInvulnerableShield[edit]

Type: bool


Default value: True

bSquatter[edit]

Type: bool


bTalker[edit]

Type: bool


invulnerableCharge[edit]

Type: float


Default value: 9.0

OrdersGiven[edit]

Type: byte


PunchDamage[edit]

Type: byte


Default value: 20

Property group 'Sounds'[edit]

breath[edit]

Type: Sound


CheckWeapon[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.weapon1mr'

Flip[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.flip1mr'

footstep1[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.walk2mr'

Punch[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.swat1mr'

PunchHit[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.hit1mr'

syllable1[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl1mr'

syllable2[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl2mr'

syllable3[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl3mr'

syllable4[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl4mr'

syllable5[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl5mr'

syllable6[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl6mr'

WeaponSpray[edit]

Type: Sound


Default value: Sound'UnrealI.Mercenary.spray1mr'

Internal variables[edit]

bAlertedTeam[edit]

Type: bool


bIsInvulnerable[edit]

Type: bool


bPatroling[edit]

Type: bool


invulnerableTime[edit]

Type: float


phrase[edit]

Type: name


phrasesyllable[edit]

Type: byte


sprayoffset[edit]

Type: int


voicePitch[edit]

Type: float


Default values[edit]

Property Value
AccelRate 800.0
Acquire Sound'UnrealI.Mercenary.chlng2mr'
Aggressiveness 0.5
AirSpeed 300.0
AmbientSound Sound'UnrealI.Mercenary.amb1mr'
bCanStrafe True
bGreenBlood True
bHasRangedAttack True
bMovingRangedAttack True
Buoyancy 150.0
CarcassType Class'UnrealI.MercCarcass'
CollisionHeight 48.0
CollisionRadius 35.0
CombatStyle 0.5
Die Sound'UnrealI.Mercenary.death1mr'
DrawType DT_Mesh
Fear Sound'UnrealI.Mercenary.chlng3mr'
GroundSpeed 280.0
Health 180
HitSound1 Sound'UnrealI.Mercenary.injur2mr'
HitSound2 Sound'UnrealI.Mercenary.injur3mr'
Intelligence BRAINS_HUMAN
Land Sound'UnrealI.Mercenary.land1mr'
LightBrightness 255
LightEffect LE_NonIncidence
LightHue 170
LightRadius 12
LightSaturation 96
Mass 150.0
MeleeRange 50.0
Mesh LodMesh'UnrealI.Merc'
RangedProjectile Class'UnrealI.MercRocket'
ReFireRate 0.5
Roam Sound'UnrealI.Mercenary.nearbymr'
RotationRate
Member Value
Pitch 3072
Roll 0
Yaw 65000
Texture Texture'UnrealI.Skins.Silver'
Threaten Sound'UnrealI.Mercenary.chlng3mr'
UnderWaterTime -1.0

Functions[edit]

Events[edit]

FootZoneChange[edit]

event FootZoneChange (ZoneInfo newFootZone)

Overrides: Pawn.FootZoneChange


HeadZoneChange[edit]

event HeadZoneChange (ZoneInfo newHeadZone)

Overrides: Pawn.HeadZoneChange


PainTimer[edit]

event PainTimer ()

Overrides: Pawn.PainTimer


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: ScriptedPawn.PreBeginPlay


SpeechTimer[edit]

event SpeechTimer ()

Overrides: Pawn.SpeechTimer


TakeDamage[edit]

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)

Overrides: Pawn.TakeDamage


ZoneChange[edit]

event ZoneChange (ZoneInfo newZone)

Overrides: ScriptedPawn.ZoneChange


Other instance functions[edit]

See Mercenary instance functions.

States[edit]

Invulnerable[edit]

Ignores: Bump, HearNoise, SeePlayer

Invulnerable.AnimEnd[edit]

event AnimEnd ()

Overrides: Actor.AnimEnd (global)


Invulnerable.TryToDuck[edit]

function TryToDuck (Object.Vector duckDir, bool bReversed)

Overrides: TryToDuck (global)


RangedAttack[edit]

Inherits from: ScriptedPawn.RangedAttack

Ignores: HearNoise, SeePlayer

RangedAttack.BeginState[edit]

event BeginState ()

Overrides: ScriptedPawn.RangedAttack.BeginState


RangedAttack.TryToDuck[edit]

function TryToDuck (Object.Vector duckDir, bool bReversed)

Overrides: TryToDuck (global)


SpeakOrders[edit]

Ignores: Bump, HearNoise, SeePlayer

SpeakOrders.EnemyNotVisible[edit]

event EnemyNotVisible ()

Overrides: Pawn.EnemyNotVisible (global)


SpeakOrders.TakeDamage[edit]

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)

Overrides: TakeDamage (global)


SpeakOrders.Killed[edit]

function Killed (Pawn Killer, Pawn Other, name damageType)

Overrides: ScriptedPawn.Killed (global)