UE2:WeaponInvTakkra (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Inventory >> Weapon >> U2Weapon >> WeaponInvTakkra
Package:
U2Weapons

WeaponInvTakkra.uc Created by: Mark Poesch Created on: 1/31/2001 $Author: Aleiby $ $Date: 12/11/02 1:59p $ $Revision: 33 $

Properties

Property group 'WeaponInvTakkra'

DefaultHeight

Type: float


Default value: 24.0

DefaultWidth

Type: float


Default value: 32.0

MaxHeight

Type: float


Default value: 48.0

MaxWidth

Type: float


Default value: 64.0

MinHeight

Type: float


Default value: 12.0

MinWidth

Type: float


Default value: 16.0

NoTargetSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_NoTarget'

PickupSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Pickup'

Internal variables

DefensiveUseHealth

Type: float

Health below which NPCs will use Takkra defensively

Default value: 30.0

DefensiveUsePowerPct

Type: float

Power armor % below which NPCs will use Takkra defensively

Default value: 0.25

FireTarget

Type: Pawn

cache result

NextRatingCheckTime

Type: float

time for next rating check (to possibly modify Takkra use)

PosA

Type: Object.Point


PosB

Type: Object.Point


PosC

Type: Object.Point


PosD

Type: Object.Point


Target

Type: Pawn


TargetTimestamp

Type: float


TimeBetweenRatingChecks

Type: float


Default value: 15.0

TweenRate

Type: float


Default values

Property Value
AIRating 0.5
AIRatingAltFire 0.05
AIRatingFire 0.05
AltFireLastDownTime 1.625
AltFireLastReloadTime 1.625
AltFireSound Sound'U2WeaponsA.Takkra.T_AltFire'
AltFireTime 1.375
AltProjectileClass Class'U2Weapons.projectileTakkraDefensive'
AltRefireRate 1.0
AltShakeMag 0.0
AltShakeTime 0.0
AmmoName Class'U2Weapons.ammoInvTakkra'
bAimAltFire False
bCrosshairGlows True
BobDamping 0.972
bWarnTarget True
CrosshairName "Takkra_Cross"
FireLastDownTime 1.625
FireLastReloadTime 1.625
FireOffset
Member Value
X 46.0
Y 6.0
Z -8.0
FireSound Sound'U2WeaponsA.Takkra.T_Fire'
FireTime 1.375
FiringSpeed 1.0
FirstPersonOffset
Member Value
X -14.0
Y 26.0
Z -8.0
GroupOffset 1
IconIndex 6
InstFlash -0.4
InstFog
Member Value
X 650.0
Y 450.0
Z 190.0
InventoryGroup 5
ItemID "T"
ItemName "Takkra"
Mesh LegendMesh'GlmWeaponsG.T_FP'
MyDamageType Class'U2.DamageTypeTakkra'
PickupAmmoCount 1
PickupClass Class'U2Weapons.weaponTakkra'
PlayerViewOffset
Member Value
X 41.8
Y 13.4
Z -12.6
ProjectileClass Class'U2Weapons.projectileTakkra'
RefireRate 1.0
ReloadTime 1.181
SelectSound Sound'U2WeaponsA.Takkra.T_Select'
ShakeMag 0.0
ShakeTime 0.0
ThirdPersonMesh LegendMesh'GlmWeaponsG.T_TP'
WeaponAnimationType AT_Small

Instance functions

AuthorityAltFire

function AuthorityAltFire ()

Overrides: U2Weapon.AuthorityAltFire


AuthorityFire

function AuthorityFire ()

Overrides: U2Weapon.AuthorityFire


EverywhereAltFire

simulated function EverywhereAltFire ()

Overrides: U2Weapon.EverywhereAltFire


EverywhereFire

simulated function EverywhereFire ()

Overrides: U2Weapon.EverywhereFire


FindTarget

function FindTarget ()


Fire

simulated function Fire ()

Overrides: U2Weapon.Fire


GetCrossPosA

function Object.Point GetCrossPosA ()


GetCrossPosB

function Object.Point GetCrossPosB ()


GetCrossPosC

function Object.Point GetCrossPosC ()


GetCrossPosD

function Object.Point GetCrossPosD ()


HandleTargetDetails

simulated function HandleTargetDetails (Actor A, Canvas Canvas, Object.Vector ViewLoc, Object.Rotator ViewRot)

Overrides: U2Weapon.HandleTargetDetails


PostSetAimingParameters

function PostSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: U2Weapon.PostSetAimingParameters


PreSetAimingParameters

function bool PreSetAimingParameters (bool bAltFire, bool bInstant, float FireSpread, class<ProjectileProjClass, bool bWarnTarget, bool bTrySplash)

Overrides: U2Weapon.PreSetAimingParameters


ProjectileFire

function Projectile ProjectileFire (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire


SetTarget

function SetTarget (Pawn NewTarget)


ShouldUseDefensively

function bool ShouldUseDefensively ()


TweenDesired

simulated function TweenDesired (out float A, float Desired)


ValidTarget

function bool ValidTarget (Pawn P, out float InView)


States

DelayAltFire

Modifiers: simulated

Ignores: AltFire, Fire

DelayFire

Modifiers: simulated

Ignores: AltFire, Fire