Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.TimeChargeUpWeapon

Extends
  ChargeUpWeapon
Modifiers
  abstract

    Core.Object
    |
    +-- Engine.Actor
       |
       +-- Gameplay.Equipment
          |
          +-- Gameplay.Equippable
             |
             +-- Gameplay.Weapon
                |
                +-- Gameplay.ChargeUpWeapon
                   |
                   +-- Gameplay.TimeChargeUpWeapon

#### Direct Known Subclasses:

> HandGrenade, MPCarryableThrower

Variables Summary
float | chargeRate
float | tickDelta
float | timeSinceMaxChargeHit
TimeChargeUpWeapon
name | chargeAnimation
float | chargeRateAccel
float | initialChargeRate
float | peakChargeMaxHoldTime
name | releaseAnimation
float | releaseDelay

Inherited Variables from Gameplay.ChargeUpWeapon
bShowChargeOnHUD, charge, chargeScale, maxCharge

Inherited Variables from Gameplay.Weapon
AIAccelerationModifier, aimClass, AIspread, ammoCount, ammoUsage, bBeingSwitched, bFiredWeapon, bGenerateMissSpeechEvents, bMelee, bNeedIdleFX, emptyMaterials, fireAnimation, fireAnimSubString, fireOnce, hudReticule, hudReticuleCenterX, hudReticuleCenterY, hudReticuleHeight, hudReticuleWidth, lastFireTime, localAmmoCount, localPickupDelay, noAmmo, pickupDelay, projectileClass, projectileInheritedVelFactor, projectileSpawnBone, projectileSpawnOffset, projectileVelocity, roundsPerSecond, speedPackScale, startEquippingTime

Functions Summary
|  | attemptFire ())) FirePressed
|  | BeginState ())) FirePressed
|  | BeginState ())) FireReleased
|  | Tick (float Delta)) FirePressed

Inherited Functions from Gameplay.ChargeUpWeapon
BeginState

Inherited Functions from Gameplay.Weapon
addSpeedPackScale, AIAimTrace, aimTrace, allowPrompt, altFire, applyPickupDelay, attemptFire, BeginState, calcProjectileSpawnLocation, canExpire, canFire, canPickup, Destroyed, doSwitch, drawDebug, droppedByCharacter, EndState, extractFirstPersonMeshData, fire, firedEffectProcessing, FireEmpty, fireRatePassed, FireWeapon, getAimAdjustedViewRotation, getAimRotation, getMaxAmmo, getPredictedProjectileGravity, GetProjectileSpreadScale, handleReleaseFire, hasAmmo, heldByCharacter, increaseAmmo, initialiseVelocity, makeProjectile, needPrompt, onThirdPersonFireCount, pickup, playCharacterFireAnim, playEquipAnim, playIdleAnim, playPostFireAnim, playUnequipAnim, PostNetBeginPlay, PostNetReceive, PrecacheWeaponRenderData, releaseAltFire, removeSpeedPackScale, requestEquipmentDrop, setHasAmmoSkins, setOutOfAmmo, setupFirstPerson, Tick, TickFirePressed, TriggerWeaponEffect, UpdatePrecacheRenderData, useAmmo, willHurtFriendly

States Summary

FirePressed Source code
simulated state FirePressed

attemptFire, BeginState, Tick

FireReleased Source code
simulated state FireReleased

BeginState

Variables Detail

#### chargeRate Source code

var float chargeRate;

#### tickDelta Source code

var float tickDelta;

#### timeSinceMaxChargeHit Source code

var float timeSinceMaxChargeHit;

### TimeChargeUpWeapon

#### chargeAnimation Source code

var(TimeChargeUpWeapon) name chargeAnimation;

#### chargeRateAccel Source code

var(TimeChargeUpWeapon) float chargeRateAccel;

> Acceleration of charge rate

#### initialChargeRate Source code

var(TimeChargeUpWeapon) float initialChargeRate;

> Initial rate of charge

#### peakChargeMaxHoldTime Source code

var(TimeChargeUpWeapon) float peakChargeMaxHoldTime;

> The maximum time the player can hold the charge once it is at maximum

#### releaseAnimation Source code

var(TimeChargeUpWeapon) name releaseAnimation;

#### releaseDelay Source code

var(TimeChargeUpWeapon) float releaseDelay;

> Delay in seconds from the button being released to the weapon being fired

Functions Detail

#### attemptFire FirePressed Source code

simulated function attemptFire ( ) )

#### BeginState FirePressed Source code

simulated function BeginState ( ) )

#### BeginState FireReleased Source code

simulated function BeginState ( ) )

#### Tick FirePressed Source code

simulated function Tick ( float Delta) )

Defaultproperties

    defaultproperties
    {
    	initialChargeRate		= 1
    	chargeRate				= 1
    	chargeRateAccel			= 0
    	peakChargeMaxHoldTime	= 3
    	chargeAnimation			= "charge"
    	releaseAnimation		= "fire"
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Creation time: st 23.5.2018 00:10:35.450 - Created with UnCodeX