I don't need to test my programs. I have an error-correcting modem.

UE1:Mercenary (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Pawn >> ScriptedPawn >> Mercenary
Package: 
UnrealI
Direct subclass:
MercenaryElite
This class in other games:
RTNP, UT

Mercenary

Properties

Property group 'Mercenary'

bButtonPusher

Type: bool


bCanFireWhileInvulnerable

Type: bool


bHasInvulnerableShield

Type: bool


Default value: True

bSquatter

Type: bool


bTalker

Type: bool


invulnerableCharge

Type: float


Default value: 9.0

OrdersGiven

Type: byte


PunchDamage

Type: byte


Default value: 20

Property group 'Sounds'

breath

Type: Sound


CheckWeapon

Type: Sound


Default value: Sound'UnrealI.Mercenary.weapon1mr'

Flip

Type: Sound


Default value: Sound'UnrealI.Mercenary.flip1mr'

footstep1

Type: Sound


Default value: Sound'UnrealI.Mercenary.walk2mr'

Punch

Type: Sound


Default value: Sound'UnrealI.Mercenary.swat1mr'

PunchHit

Type: Sound


Default value: Sound'UnrealI.Mercenary.hit1mr'

syllable1

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl1mr'

syllable2

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl2mr'

syllable3

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl3mr'

syllable4

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl4mr'

syllable5

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl5mr'

syllable6

Type: Sound


Default value: Sound'UnrealI.Mercenary.syl6mr'

WeaponSpray

Type: Sound


Default value: Sound'UnrealI.Mercenary.spray1mr'

Internal variables

bAlertedTeam

Type: bool


bIsInvulnerable

Type: bool


bPatroling

Type: bool


invulnerableTime

Type: float


phrase

Type: name


phrasesyllable

Type: byte


sprayoffset

Type: int


voicePitch

Type: float


Default values

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

Events

FootZoneChange

event FootZoneChange (ZoneInfo newFootZone)

Overrides: Pawn.FootZoneChange


HeadZoneChange

event HeadZoneChange (ZoneInfo newHeadZone)

Overrides: Pawn.HeadZoneChange


PainTimer

event PainTimer ()

Overrides: Pawn.PainTimer


PreBeginPlay

event PreBeginPlay ()

Overrides: ScriptedPawn.PreBeginPlay


SpeechTimer

event SpeechTimer ()

Overrides: Pawn.SpeechTimer


TakeDamage

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

Overrides: Pawn.TakeDamage


ZoneChange

event ZoneChange (ZoneInfo newZone)

Overrides: ScriptedPawn.ZoneChange


Other instance functions

See Mercenary instance functions.

States

Invulnerable

Ignores: Bump, HearNoise, SeePlayer

Invulnerable.AnimEnd

event AnimEnd ()

Overrides: Actor.AnimEnd (global)


Invulnerable.TryToDuck

function TryToDuck (Object.Vector duckDir, bool bReversed)

Overrides: TryToDuck (global)


RangedAttack

Inherits from: ScriptedPawn.RangedAttack

Ignores: HearNoise, SeePlayer

RangedAttack.BeginState

event BeginState ()

Overrides: ScriptedPawn.RangedAttack.BeginState


RangedAttack.TryToDuck

function TryToDuck (Object.Vector duckDir, bool bReversed)

Overrides: TryToDuck (global)


SpeakOrders

Ignores: Bump, HearNoise, SeePlayer

SpeakOrders.EnemyNotVisible

event EnemyNotVisible ()

Overrides: Pawn.EnemyNotVisible (global)


SpeakOrders.TakeDamage

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

Overrides: TakeDamage (global)


SpeakOrders.Killed

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

Overrides: ScriptedPawn.Killed (global)