My program doesn't have bugs. It just develops random features.

UE1:Enforcer (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Inventory >> Weapon >> TournamentWeapon >> Enforcer

Contents

Package: 
BotPack
Direct subclass:
DoubleEnforcer

Enforcer

Properties[edit]

Property group 'Enforcer'[edit]

DoubleName[edit]

Type: string

Modifiers: localized


Default value: "Double Enforcer"

hitdamage[edit]

Type: int


Default value: 17

MuzzleFlashVariations[edit]

Type: Texture

Array size: 5


Default value, index 0: Texture'Botpack.Skins.Muz1'

Default value, index 1: Texture'Botpack.Skins.Muz2'

Default value, index 2: Texture'Botpack.Skins.Muz3'

Default value, index 3: Texture'Botpack.Skins.Muz4'

Default value, index 4: Texture'Botpack.Skins.Muz5'

Internal variables[edit]

AltAccuracy[edit]

Type: float


bBringingUp[edit]

Type: bool


bFirstFire[edit]

Type: bool


bIsSlave[edit]

Type: bool


bSetup[edit]

Type: bool

used for setting display properties

DoubleSwitchPriority[edit]

Type: int


Default value: 2

SlaveEnforcer[edit]

Type: Enforcer

The left (second) Enforcer is a slave to the right.

Default values[edit]

Property Value
AIRating 0.25
AltFireSound Sound'UnrealShare.AutoMag.shot'
AltRefireRate 0.87
AmmoName Class'BotPack.MiniAmmo'
AutoSwitchPriority 2
bAltInstantHit True
bDrawMuzzleFlash True
bHidden True
bInstantHit True
bMuzzleFlashParticles True
bNoSmooth False
CockingSound Sound'Botpack.enforcer.Cocking'
CollisionHeight 12.0
CollisionRadius 24.0
DeathMessage "%k riddled %o full of holes with the %w."
FireOffset
Member Value
Y -10.0
Z -4.0
FireSound Sound'Botpack.enforcer.E_Shot'
FiringSpeed 1.5
FlashC 0.035
FlashLength 0.02
FlashO 0.02
FlashS 128
FlashY 0.1
Icon Texture'Botpack.Icons.UseAutoM'
InstFlash -0.2
InstFog
Member Value
X 325.0
Y 225.0
Z 95.0
InventoryGroup 2
ItemName "Enforcer"
Mass 15.0
Mesh LodMesh'Botpack.MagPick'
MFTexture Texture'Botpack.Skins.Muz1'
MuzzleFlashMesh LodMesh'Botpack.muzzEF3'
MuzzleFlashScale 0.08
MuzzleFlashStyle STY_Translucent
MuzzleFlashTexture Texture'Botpack.Skins.Muzzy2'
MuzzleScale 1.0
MyDamageType 'shot'
NameColor
Member Value
G 200
R 200
PickupAmmoCount 30
PickupMessage "You picked up another Enforcer!"
PickupSound Sound'UnrealShare.Pickups.WeaponPickup'
PickupViewMesh LodMesh'Botpack.MagPick'
PlayerViewMesh LodMesh'Botpack.AutoML'
PlayerViewOffset
Member Value
X 3.3
Y -2.0
Z -3.0
RefireRate 0.8
SelectSound Sound'Botpack.enforcer.Cocking'
ShakeMag 200.0
ShakeVert 4.0
StatusIcon Texture'Botpack.Icons.UseAutoM'
ThirdPersonMesh LodMesh'Botpack.AutoHand'
WeaponDescription "Classification: Light Pistol\n\nPrimary Fire: Accurate but slow firing instant hit.\n\nSecondary Fire: Sideways, or 'Gangsta' firing mode, shoots twice as fast and half as accurate as the primary fire.\n\nTechniques: Collect two for twice the damage."

Functions[edit]

Events[edit]

AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.AnimEnd


BotDesireability[edit]

event float BotDesireability (Pawn Bot)

Overrides: Weapon.BotDesireability


Destroyed[edit]

event Destroyed ()

Overrides: Weapon.Destroyed


RenderOverlays[edit]

simulated event RenderOverlays (Canvas Canvas)

Overrides: Weapon.RenderOverlays


Other instance functions[edit]

AltFire[edit]

function AltFire (float Value)

Overrides: TournamentWeapon.AltFire


BringUp[edit]

function BringUp ()

Overrides: Weapon.BringUp


DropFrom[edit]

function DropFrom (Object.Vector StartLocation)

Overrides: TournamentWeapon.DropFrom


Fire[edit]

function Fire (float Value)

Overrides: TournamentWeapon.Fire


HandlePickupQuery[edit]

function bool HandlePickupQuery (Inventory Item)

Overrides: TournamentWeapon.HandlePickupQuery


PlayAltFiring[edit]

simulated function PlayAltFiring ()

Overrides: Weapon.PlayAltFiring


PlayFiring[edit]

simulated function PlayFiring ()

Overrides: Weapon.PlayFiring


PlayIdleAnim[edit]

simulated function PlayIdleAnim ()

Overrides: TournamentWeapon.PlayIdleAnim


PlayRepeatFiring[edit]

simulated function PlayRepeatFiring ()


ProcessTraceHit[edit]

function ProcessTraceHit (Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)

Overrides: Weapon.ProcessTraceHit


SetDefaultDisplayProperties[edit]

function SetDefaultDisplayProperties ()

Overrides: Actor.SetDefaultDisplayProperties


SetDisplayProperties[edit]

function SetDisplayProperties (Actor.ERenderStyle NewStyle, Texture NewTexture, bool bLighting, bool bEnviroMap)

Overrides: Actor.SetDisplayProperties


setHand[edit]

function setHand (float Hand)

Overrides: Weapon.setHand


SetSwitchPriority[edit]

function SetSwitchPriority (Pawn Other)

Overrides: Weapon.SetSwitchPriority


SetTwoHands[edit]

function SetTwoHands ()


SetUpSlave[edit]

function SetUpSlave (bool bBringUp)


SwitchPriority[edit]

function float SwitchPriority ()

Overrides: Weapon.SwitchPriority


TraceFire[edit]

function TraceFire (float Accuracy)

Overrides: Weapon.TraceFire


WeaponSet[edit]

function bool WeaponSet (Pawn Other)

Overrides: Weapon.WeaponSet


States[edit]

Active[edit]

Active.BeginState[edit]

event BeginState ()

Overrides: Weapon.Active.BeginState


Active.EndState[edit]

event EndState ()

Overrides: TournamentWeapon.Active.EndState


Active.PutDown[edit]

function bool PutDown ()

Overrides: Weapon.Active.PutDown


AltFiring[edit]

Inherits from: TournamentWeapon.AltFiring

Ignores: AltFiring.AltFire, AltFiring.AnimEnd, AltFiring.Fire

AltFiring.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


AltFiring.Timer[edit]

event Timer ()

Overrides: Actor.Timer (global)


ClientActive[edit]

ClientActive.AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.ClientActive.AnimEnd


ClientActive.BeginState[edit]

simulated event BeginState ()

Overrides: TournamentWeapon.ClientActive.BeginState


ClientAltFiring[edit]

ClientAltFiring.AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.ClientAltFiring.AnimEnd


ClientAltFiring.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


ClientAltFiring.EndState[edit]

simulated event EndState ()

Overrides: TournamentWeapon.ClientAltFiring.EndState


ClientAltFiring.Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer (global)


ClientAltFiring.ClientFire[edit]

simulated function bool ClientFire (float Value)

Overrides: TournamentWeapon.ClientAltFiring.ClientFire


ClientDown[edit]

ClientDown.AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.ClientDown.AnimEnd


ClientDown.EndState[edit]

simulated event EndState ()

Overrides: Object.EndState (global)


ClientFiring[edit]

ClientFiring.AnimEnd[edit]

simulated event AnimEnd ()

Overrides: TournamentWeapon.ClientFiring.AnimEnd


ClientFiring.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


ClientFiring.EndState[edit]

simulated event EndState ()

Overrides: TournamentWeapon.ClientFiring.EndState


ClientFiring.Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer (global)


ClientFiring.ClientAltFire[edit]

simulated function bool ClientAltFire (float Value)

Overrides: TournamentWeapon.ClientFiring.ClientAltFire


DownWeapon[edit]

Inherits from: TournamentWeapon.DownWeapon

Ignores: AltFire, AnimEnd, Fire

DownWeapon.BeginState[edit]

event BeginState ()

Overrides: TournamentWeapon.DownWeapon.BeginState


Idle[edit]

Idle.AnimEnd[edit]

event AnimEnd ()

Overrides: Weapon.Idle.AnimEnd


Idle.PutDown[edit]

function bool PutDown ()

Overrides: Weapon.Idle.PutDown


NormalFire[edit]

Inherits from: TournamentWeapon.NormalFire

Ignores: NormalFire.AltFire, NormalFire.AnimEnd, NormalFire.Fire

NormalFire.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


NormalFire.Timer[edit]

event Timer ()

Overrides: Actor.Timer (global)