Cogito, ergo sum

UE2:WeaponInvTakkra (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
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[edit]

Property group 'WeaponInvTakkra'[edit]

DefaultHeight[edit]

Type: float


Default value: 24.0

DefaultWidth[edit]

Type: float


Default value: 32.0

MaxHeight[edit]

Type: float


Default value: 48.0

MaxWidth[edit]

Type: float


Default value: 64.0

MinHeight[edit]

Type: float


Default value: 12.0

MinWidth[edit]

Type: float


Default value: 16.0

NoTargetSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_NoTarget'

PickupSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Pickup'

Internal variables[edit]

DefensiveUseHealth[edit]

Type: float

Health below which NPCs will use Takkra defensively

Default value: 30.0

DefensiveUsePowerPct[edit]

Type: float

Power armor % below which NPCs will use Takkra defensively

Default value: 0.25

FireTarget[edit]

Type: Pawn

cache result

NextRatingCheckTime[edit]

Type: float

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

PosA[edit]

Type: Object.Point


PosB[edit]

Type: Object.Point


PosC[edit]

Type: Object.Point


PosD[edit]

Type: Object.Point


Target[edit]

Type: Pawn


TargetTimestamp[edit]

Type: float


TimeBetweenRatingChecks[edit]

Type: float


Default value: 15.0

TweenRate[edit]

Type: float


Default values[edit]

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[edit]

AuthorityAltFire[edit]

function AuthorityAltFire ()

Overrides: U2Weapon.AuthorityAltFire


AuthorityFire[edit]

function AuthorityFire ()

Overrides: U2Weapon.AuthorityFire


EverywhereAltFire[edit]

simulated function EverywhereAltFire ()

Overrides: U2Weapon.EverywhereAltFire


EverywhereFire[edit]

simulated function EverywhereFire ()

Overrides: U2Weapon.EverywhereFire


FindTarget[edit]

function FindTarget ()


Fire[edit]

simulated function Fire ()

Overrides: U2Weapon.Fire


GetCrossPosA[edit]

function Object.Point GetCrossPosA ()


GetCrossPosB[edit]

function Object.Point GetCrossPosB ()


GetCrossPosC[edit]

function Object.Point GetCrossPosC ()


GetCrossPosD[edit]

function Object.Point GetCrossPosD ()


HandleTargetDetails[edit]

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

Overrides: U2Weapon.HandleTargetDetails


PostSetAimingParameters[edit]

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

Overrides: U2Weapon.PostSetAimingParameters


PreSetAimingParameters[edit]

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

Overrides: U2Weapon.PreSetAimingParameters


ProjectileFire[edit]

function Projectile ProjectileFire (class<ProjectileProjClass)

Overrides: U2Weapon.ProjectileFire


SetTarget[edit]

function SetTarget (Pawn NewTarget)


ShouldUseDefensively[edit]

function bool ShouldUseDefensively ()


TweenDesired[edit]

simulated function TweenDesired (out float A, float Desired)


ValidTarget[edit]

function bool ValidTarget (Pawn P, out float InView)


States[edit]

DelayAltFire[edit]

Modifiers: simulated

Ignores: AltFire, Fire

DelayFire[edit]

Modifiers: simulated

Ignores: AltFire, Fire