Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTVWeap_LeviathanTurretBase

Extends
UTVehicleWeapon
Modifiers
abstract

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Inventory
      |   
      +-- Engine.Weapon
         |   
         +-- GameFramework.GameWeapon
            |   
            +-- UTGame.UTWeapon
               |   
               +-- UTGame.UTVehicleWeapon
                  |   
                  +-- UTGame.UTVWeap_LeviathanTurretBase

Direct Known Subclasses:

UTVWeap_LeviathanTurretBeam, UTVWeap_LeviathanTurretRocket, UTVWeap_LeviathanTurretShock, UTVWeap_LeviathanTurretStinger

Variables Summary
boolbPutShieldUp
boolbShieldActive
floatShieldAvailableTime
floatShieldDuration
floatShieldRecharge
Inherited Variables from UTGame.UTVehicleWeapon
AimingTraceIgnoredActors, AimTraceRange, AltFireTriggerTags, AltImpactEffects, bCurrentlyZoomed, bDebugTurret, bIgnoreDownwardPitch, bIgnoreSocketPitchRotation, bPlaySoundFromSocket, BulletWhip, CurrentCrosshairScaling, DefaultAltImpactEffect, DefaultImpactEffect, FireTriggerTags, ImpactEffects, LastCorrectAimTime, LastInCorrectAimTime, MaxFinalAimAdjustment, MyVehicle, SeatIndex, VehicleClass
Inherited Variables from UTGame.UTWeapon
AdditionalHintString, AimError, AimingHelpRadius[2], AmmoCount, AmmoDisplayType, AmmoPickupClass, AmmoRechargeRate, ArmFireAnim, ArmIdleAnims, ArmsAnimSet, ArmsEquipAnim, ArmsPutDownAnim, AttachmentClass, bAllowFiringWithoutController, bAutoCharge, bCanDestroyBarricades, bConsiderProjectileAcceleration, bDebugWeapon, bExportMenuData, bFastRepeater, bForceHidden, bHasLocationSpeech, bLeadTarget, bLockedAimWhileFiring, bMuzzleFlashAttached, bMuzzleFlashPSCLoops, bNeverForwardPendingFire, BobDamping, bPendingShow, bRecommendSplashDamage, bShowAltMuzzlePSCWhenWeaponHidden, bSmallWeapons, bSniping, bSplashJump, bSuperWeapon, bSuppressSounds, bTargetAdhesionEnabled, bTargetFrictionEnabled, bUseCustomCoordinates, bUsesOffhand, bUsingAimingHelp, bWarnIfInLocker, bWasLocked, bZoomedFireMode, CrosshairColor, CrossHairCoordinates, CrosshairImage, CrosshairScaling, CrouchHintString, CurrentLockedScale, CurrentRating, CustomCrosshairCoordinates, DroppedPickupOffsetZ, EffectSockets, FinalLockedScale, FireCameraAnim, GroupWeight, HiddenWeaponsOffset, HitEnemy, IconCoordinates, IconHeight, IconWidth, IconX, IconY, InventoryGroup, InventoryWeight, JumpDamping, JumpHintString, LastHitEnemyTime, LastRotation, LastRotUpdate, LastWeaponFireTime, LocationSpeech, LockedCrossHairCoordinates, LockedScaleTime, LockedStartTime, LockerAmmoCount, LockerOffset, LockerRotation, MaxAmmoCount, MaxPitchLag, MaxYawLag, MinReloadPct, MuzzleFlashAltPSCTemplate, MuzzleFlashColor, MuzzleFlashDuration, MuzzleFlashLight, MuzzleFlashLightClass, MuzzleFlashPSC, MuzzleFlashPSCTemplate, MuzzleFlashSocket, NeedToPickUpAnnouncement, OldLeadMag[2], OldMaxDiff[2], OldRotDiff[2], OverlayMesh, PartialCharge, PivotTranslation, PlayerViewOffset, PrimaryFireHintString, ProjectileSpawnOffset, QuickPickGroup, QuickPickWeight, ReturnChgSpeed, RotChgSpeed, SecondaryFireHintString, ShotCost, SimpleCrossHairCoordinates, SmallWeaponsOffset, StartLockedScale, SwitchAbortTime, TargetAdhesionAimDistY, TargetAdhesionAimDistZ, TargetAdhesionDistanceMax, TargetAdhesionPlayerVelocityMin, TargetAdhesionScaleAmountMin, TargetAdhesionScaleRange, TargetAdhesionTargetVelocityMin, TargetAdhesionTimeMax, TargetAdhesionZoomedBoostValue, TargetFrictionDistanceCurve, TargetFrictionDistanceMax, TargetFrictionDistanceMin, TargetFrictionDistancePeak, TargetFrictionMultiplierRange, TargetFrictionOffset, TargetFrictionPeakHeightScale, TargetFrictionPeakRadiusScale, TargetFrictionZoomedBoostValue, UseHintString, WeaponCanvasXPct, WeaponCanvasYPct, WeaponColor, WeaponEquipAnim, WeaponEquipSnd, WeaponFireAnim, WeaponFireSnd, WeaponFireWaveForm, WeaponIdleAnims, WeaponPutDownAnim, WeaponPutDownSnd, WideScreenOffsetScaling, WidescreenRotationOffset, ZoomedFireModeNum, ZoomedRate, ZoomedTargetFOV, ZoomedTurnSpeedScalePct, ZoomFadeTime, ZoomInSound, ZoomOutSound

Enumerations Summary
Inherited Enumerations from UTGame.UTWeapon
AmmoWidgetDisplayStyle, EZoomState

Functions Summary
function BeginFire (byte FireModeNum))
function BeginFire (Byte FireModeNum ))
WeaponFiring
functionbyte BestMode ()))
function DeactivateShield ()))
functionfloat GetPowerPerc ()))
functionbool HasAmmo (byte FireModeNum, optional int Amount))
function NotifyShieldHit (int Damage)
Inherited Functions from UTGame.UTVehicleWeapon
Activate, AttachWeaponTo, BeginFire, CanHitDesiredTarget, DetachWeapon, DrawKillIcon, DrawTowingIndicator, DrawWeaponCrosshair, EndFire, EndZoom, GetAdjustedAim, GetCrosshairScaling, GetDesiredAimPoint, GetFireInterval, GetFireStartLocationAndRotation, GetFireTriggerTag, GetImpactEffect, GetMaxFinalAimAdjustment, GetPhysicalFireStartLoc, GetTraceOwner, GetZoomedState, InstantFireEndTrace, InstantFireStartTrace, IsAimCorrect, NotifyVehicleDeployed, NotifyVehicleUndeployed, PostBeginPlay, ProjectileFire, PutDownWeapon, ReplicatedEvent, ServerSetZoom, StartZoom, WeaponPlaySound
Inherited Functions from UTGame.UTWeapon
Activate, ActiveRenderOverlays, AddAmmo, AdjustPlayerDamage, AdjustWeaponTimingForConsole, AllowSwitchTo, AmmoMaxed, AttachMuzzleFlash, AttachWeaponTo, BeginFire, BeginState, BestMode, BotDesireability, bReadyToFire, CalcInventoryWeight, CanAttack, CanHeal, CanThrow, CanViewAccelerationWhenFiring, CauseMuzzleFlash, CauseMuzzleFlashLight, ChangeVisibility, CheckZoom, ClientEndFire, ClientWeaponSet, ClientWeaponThrown, ConsumeAmmo, CoversScreenSpace, CreateOverlayMesh, DenyClientWeaponSet, DenyPickupQuery, DesireAmmo, Destroyed, DetachMuzzleFlash, DetachWeapon, DetourWeight, DisplayDebug, DrawKillIcon, DrawLockedOn, DrawWeaponCrosshair, DropFrom, EnableFriendlyWarningCrosshair, EndFire, EndState, EndZoom, EnsureWeaponOverlayComponentLast, FireAmmunition, FireHack, FireOnRelease, FiringPutDownWeapon, GetAmmoCount, GetArmAnimNodeSeq, GetEffectLocation, GetEquipTime, GetFireInterval, GetHand, GetOptimalRangeFor, GetOwnerName, GetPhysicalFireStartLoc, GetPowerPerc, GetViewAxes, GetWeaponRating, GetZoomedState, GivenTo, HasAmmo, HasAnyAmmo, HolderEnteredVehicle, InstantAimHelp, InstantFire, InstantFireEndTrace, InstantFireStartTrace, IsFullyCharged, LagRot, Loaded, MuzzleFlashTimer, NeedAmmo, OnAnimEnd, PerformWeaponChange, PlayArmAnimation, PlayFireEffects, PlayFiringSound, PlayWeaponAnimation, PlayWeaponEquip, PlayWeaponPutDown, PostBeginPlay, PreloadTextures, ProcessInstantHit, ProjectileFire, ReadyToFire, RefireCheckTimer, ReplicatedEvent, SendToFiringState, ServerReselectWeapon, ServerStartFire, SetMuzzleFlashParams, SetPosition, SetSkin, SetupArmsAnim, SetWeaponOverlayFlags, ShakeView, ShouldFireWithoutTarget, ShouldLagRot, ShouldSwitchTo, SplashJump, StartFire, StartZoom, StillFiring, StopFireEffects, StopMuzzleFlash, ThrottleLook, TimeWeaponEquipping, TimeWeaponPutDown, TryPutDown, WeaponEmpty, WeaponEquipAborted, WeaponPlaySound

States Summary
WeaponFiring Source code
simulated state WeaponFiring
/********************************************************************************************* * State WeaponFiring * This is the default Firing State. It's performed on both the client and the server. *********************************************************************************************/
BeginFire


Variables Detail

bPutShieldUp Source code

var bool bPutShieldUp;
AI flag

bShieldActive Source code

var bool bShieldActive;
whether shield is currently up (can't state scope because can fire both modes simultaneously)

ShieldAvailableTime Source code

var float ShieldAvailableTime;
next time shield can be used

ShieldDuration Source code

var float ShieldDuration;
how long the shield lasts

ShieldRecharge Source code

var float ShieldRecharge;
how long after using the shield before it can be used again


Functions Detail

BeginFire Source code

simulated function BeginFire ( byte FireModeNum) )

BeginFire WeaponFiring Source code

simulated function BeginFire ( Byte FireModeNum ) )
We override BeginFire() to keep shield clicks from resetting the fire delay

BestMode Source code

function byte BestMode ( ) )

DeactivateShield Source code

simulated function DeactivateShield ( ) )

GetPowerPerc Source code

simulated function float GetPowerPerc ( ) )

HasAmmo Source code

simulated function bool HasAmmo ( byte FireModeNum, optional int Amount) )

NotifyShieldHit Source code

function NotifyShieldHit ( int Damage )


Defaultproperties

defaultproperties
{
   ShieldDuration=4.000000
   ShieldRecharge=5.000000
   bFastRepeater=True
   AmmoDisplayType=EAWDS_BarGraph
   WeaponFireTypes(1)=EWFT_None
   bInstantHit=True
   Begin Object Class=UTSkeletalMeshComponent Name=FirstPersonMesh ObjName=FirstPersonMesh Archetype=UTSkeletalMeshComponent'UTGame.Default__UTVehicleWeapon:FirstPersonMesh'
      ObjectArchetype=UTSkeletalMeshComponent'UTGame.Default__UTVehicleWeapon:FirstPersonMesh'
   End Object
   Mesh=FirstPersonMesh
   Begin Object Class=SkeletalMeshComponent Name=PickupMesh ObjName=PickupMesh Archetype=SkeletalMeshComponent'UTGame.Default__UTVehicleWeapon:PickupMesh'
      ObjectArchetype=SkeletalMeshComponent'UTGame.Default__UTVehicleWeapon:PickupMesh'
   End Object
   DroppedPickupMesh=PickupMesh
   PickupFactoryMesh=PickupMesh
   Name="Default__UTVWeap_LeviathanTurretBase"
   ObjectArchetype=UTVehicleWeapon'UTGame.Default__UTVehicleWeapon'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:01:01.868 - Created with UnCodeX