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

ROEngine.BaseKFWeapon

Extends
Weapon
Modifiers
native abstract

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Inventory
      |   
      +-- Engine.Weapon
         |   
         +-- ROEngine.BaseKFWeapon

Direct Known Subclasses:

KFWeapon

Constants Summary
Inherited Contants from Engine.Weapon
NUM_FIRE_MODES

Variables Summary
boolbFastZoomOut
boolbZoomingIn
boolbZoomingOut
boolbZoomInInterrupted
boolbZoomOutInterrupted
floatLastZoomOutTime
floatZoomPartialTime
rotatorZoomRotInterp
rotatorZoomRotStartOffset
floatZoomStartDisplayFOV
vectorZoomStartOffset
Zooming
floatFastZoomOutTime
floatPlayerIronSightFOV
floatZoomedDisplayFOV
rotatorZoomInRotation
floatZoomTime
Inherited Variables from Engine.Weapon
AimAnim, AimAnimRate, AIRating, AmmoCharge[2], AmmoClass[2], Ammo[NUM_FIRE_MODES], bBayonetMounted, bBerserk, bBipodDeployed, bCanAttachOnBack, bCanBipodDeploy, bCanRestDeploy, bCanSway, bCanThrow, bDebugging, bEndOfRound, bForceSwitch, bInitOldMesh, bMatchWeapons, bMeleeWeapon, bNoAmmoInstances, bNoInstagibReplace, bNotInDemo, bNotInPriorityList, bNoVoluntarySwitch, BotMode, bPendingSwitch, BringUpTime, bShowChargingBar, bSniping, bSpectated, bUseOldWeaponMesh, bUsesFreeAim, bUsingSights, CenteredOffsetY, CenteredRoll, CenteredYaw, ClientState, CurrentRating, CustomCrosshair, CustomCrossHairColor, CustomCrossHairScale, CustomCrossHairTexture, CustomCrossHairTextureName, DefaultPriority, DemoReplacement, Description, DisplayFOV, DownDelay, EffectOffset, ExchangeFireModes, FireModeClass[NUM_FIRE_MODES], FireMode[NUM_FIRE_MODES], Hand, HudColor, IdleAnim, IdleAnimRate, LastStartCrawlingTime, MessageNoAmmo, MinReloadPct, OldCenteredOffsetY, OldCenteredRoll, OldCenteredYaw, OldDrawScale, OldMesh, OldPickup, OldPlayerViewOffset, OldPlayerViewPivot, OldSmallViewOffset, OldWeapon, Priority, PutDownAnim, PutDownAnimRate, PutDownTime, RenderedHand, RestAnim, RestAnimRate, RunAnim, RunAnimRate, SelectAnim, SelectAnimRate, SelectForce, SelectSound, SmallEffectOffset, SmallViewOffset
Inherited Variables from Engine.Inventory
AttachmentClass, bDisplayableInv, bDrawingFirstPerson, BobDamping, bTossedOut, Charge, GroupOffset, IconCoords, IconMaterial, InventoryGroup, ItemName, PickupClass, PlayerViewOffset, PlayerViewPivot, ThirdPersonActor

Enumerations Summary
Inherited Enumerations from Engine.Weapon
EWeaponClientState

Functions Summary
event OnZoomInFinished ()
event OnZoomOutFinished ()
function PerformZoom (bool bZoomStatus))
function ServerZoomIn (bool bAnimateTransition))
function ServerZoomOut (bool bAnimateTransition))
function ZoomIn (bool bAnimateTransition))
function ZoomOut (bool bAnimateTransition))
Inherited Functions from Engine.Weapon
AddAmmo, AdjustPlayerDamage, AltFire, AmmoAmount, AmmoMaxed, AmmoPickupClass, AmmoStatus, AnimEnd, BeginState, BestMode, BotFire, BringUp, CanAttack, CanHeal, CanThrow, CenteredEffectStart, ChargeBar, CheckOutOfAmmo, CheckReflect, CheckSuperBerserk, ClientForceAmmoUpdate, ClientPlayForceFeedback, ClientStartFire, ClientStopFire, ClientWeaponSet, ClientWeaponThrown, ClientWriteFire, ClientWriteStats, ConsumeAmmo, DesireAmmo, Destroyed, DetachFromPawn, DisplayDebug, DoAutoSwitch, DoReflectEffect, DrawWeaponInfo, DropFrom, EndState, FillToInitialAmmo, Fire, FireHack, FireOnRelease, FocusOnLeader, GetAIRating, GetAmmoClass, GetAmmoCount, GetDamageRadius, GetDamageType, GetEffectStart, GetFireMode, GetFireStart, GetHudAmmoCount, GetMuzzleCoords, GetViewAxes, GiveAmmo, GiveTo, HackPlayFireSound, HandlePickupQuery, HasAmmo, HolderDied, ImmediateStopFire, IncrementFlashCount, InitWeaponFires, IsCrawling, IsFiring, IsMounted, IsRapidFire, Loaded, MaxAmmo, MaxOutAmmo, NeedAmmo, NewDrawWeaponInfo, NextWeapon, NotifyCrawlMoving, NotifyOwnerJumped, NotifyStopCrawlMoving, OutOfAmmo, PawnUnpossessed, PlayIdle, PostBeginPlay, PostFire, PostNetReceive, PreDrawFPWeapon, PrevWeapon, PutDown, RangedAttackTime, RateSelf, ReadyToFire, RecommendLongRangedAttack, RecommendRangedAttack, RecommendSplashDamage, RecommendWeapon, RefireRate, RenderOverlays, Reselect, ROIronSights, ServerStartFire, ServerStopFire, SetAITarget, SetGRI, SetHand, SetServerOrientation, ShootHoop, ShouldFireWithoutTarget, ShouldUseFreeAim, SplashDamage, SplashJump, StartBerserk, StartDebugging, StartFire, StopBerserk, StopFire, StopForceFeedback, SuggestAttackStyle, SuggestDefenseStyle, SuperMaxOutAmmo, SynchronizeWeapon, Timer, WantsZoomFade, WeaponAllowCrouchChange, WeaponAllowProneChange, WeaponAllowSprint, WeaponCanBusySwitch, WeaponCanSwitch, WeaponCentered, WeaponChange, WeaponTick, ZeroFlashCount
Inherited Functions from Engine.Inventory
AttachToPawn, AttachToPawnHidden, Destroyed, DetachFromPawn, DropFrom, GetHumanReadableName, GetMovementModifierFor, GiveTo, HandlePickupQuery, IsThrowable, NextWeapon, OwnerEvent, PickupFunction, PrevWeapon, PrioritizeArmor, RecommendWeapon, RenderOverlays, SelectNext, SetOwnerDisplay, StaticItemName, TravelPostAccept, TravelPreAccept, updaterelative, Use, WeaponChange


Variables Detail

bFastZoomOut Source code

var bool bFastZoomOut;

bZoomingIn Source code

var bool bZoomingIn;

bZoomingOut Source code

var bool bZoomingOut;

bZoomInInterrupted Source code

var bool bZoomInInterrupted;

bZoomOutInterrupted Source code

var bool bZoomOutInterrupted;

LastZoomOutTime Source code

var float LastZoomOutTime;

ZoomPartialTime Source code

var float ZoomPartialTime;

ZoomRotInterp Source code

var rotator ZoomRotInterp;

ZoomRotStartOffset Source code

var rotator ZoomRotStartOffset;

ZoomStartDisplayFOV Source code

var float ZoomStartDisplayFOV;

ZoomStartOffset Source code

var vector ZoomStartOffset;

Zooming

FastZoomOutTime Source code

var(Zooming) float FastZoomOutTime;

PlayerIronSightFOV Source code

var(Zooming) float PlayerIronSightFOV;
Zooming

ZoomedDisplayFOV Source code

var(Zooming) float ZoomedDisplayFOV;

ZoomInRotation Source code

var(Zooming) rotator ZoomInRotation;

ZoomTime Source code

var(Zooming) float ZoomTime;


Functions Detail

OnZoomInFinished Source code

simulated event OnZoomInFinished ( )
Called by the native code when the interpolation of the first person weapon to the zoomed position finishes

OnZoomOutFinished Source code

simulated event OnZoomOutFinished ( )
Called by the native code when the interpolation of the first person weapon from the zoomed position finishes

PerformZoom Source code

simulated function PerformZoom ( bool bZoomStatus) )
Handles the logic of which zoom functions to call based on if we are a client or a server
@param bZoomStatus which direction we are zooming

ServerZoomIn Source code

function ServerZoomIn ( bool bAnimateTransition) )
Handles calling the zoom in function on the server
@param bAnimateTransition whether or not to animate this zoom transition

ServerZoomOut Source code

function ServerZoomOut ( bool bAnimateTransition) )
Handles calling the zoom out function on the server
@param bAnimateTransition whether or not to animate this zoom transition

ZoomIn Source code

simulated function ZoomIn ( bool bAnimateTransition) )
Handles all the functionality for zooming in including setting the parameters for the weapon, pawn, and playercontroller
@param bAnimateTransition whether or not to animate this zoom transition

ZoomOut Source code

simulated function ZoomOut ( bool bAnimateTransition) )
Handles all the functionality for zooming out including setting the parameters for the weapon, pawn, and playercontroller
@param bAnimateTransition whether or not to animate this zoom transition


Defaultproperties

defaultproperties
{
     PlayerIronSightFOV=75.000000
     ZoomTime=0.250000
     ZoomInRotation=(Pitch=-910,Roll=2910)
     FastZoomOutTime=0.200000
     ZoomedDisplayFOV=75.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:41.430 - Created with UnCodeX