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

KFMod.M99SniperRifle

Extends
KFWeapon

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

Variables Summary
boolbInitializedScope
ShaderScopeScriptedShader
ScriptedTextureScopeScriptedTexture
CombinerScriptedScopeCombiner
MaterialScriptedTextureFallback
stringScriptedTextureFallbackRef
textureTexturedScopeTexture
stringZoomMatRef
M99SniperRifle
intlenseMaterialID
intscopePitch
intscopePitchHigh
floatscopePortalFOV
floatscopePortalFOVHigh
intscopeYaw
intscopeYawHigh
vectorXoffsetHighDetail
vectorXoffsetScoped
MaterialZoomMat
Inherited Variables from KFMod.KFWeapon
AimInSound, AimOutSound, AppID, bAimingRifle, bAmmoHUDAsBar, bConsumesPhysicalAmmo, bDoSingleReload, bDualWeapon, bForceLeaveIronsights, bHasAimingMode, bHasScope, bHasSecondaryAmmo, bHoldToReload, bIsReloading, bIsTier2Weapon, bIsTier3Weapon, bKFNeverThrow, bModeZeroCanDryFire, bNoHit, bPendingFlashlight, bPreviouslyDropped, bReduceMagAmmoOnSecondaryFire, bReloadEffectDone, bShowPullOutHint, bSpeedMeUp, bSteadyAim, bTorchEnabled, bUseCombos, ClientGrenadeState, EndBeamEffect, FirstPersonFlashlightOffset, FlashBoneName, FlashLight, ForceZoomOutOnAltFireTime, ForceZoomOutOnFireTime, ForceZoomOutTime, HudImage, HudImageRef, IdleAimAnim, KFScopeDetail, LastAmmoResult, LastHasGunMsgTime, MagAmmoRemaining, MagCapacity, MeshRef, MinimumFireRange, ModeSwitchAnim, NextAmmoCheckTime, NumClicks, NumLoadedThisReload, QuickBringUpTime, QuickPutDownTime, ReferenceCount, ReloadAnim, ReloadAnimRate, ReloadRate, ReloadTimer, SelectedHudImage, SelectedHudImageRef, SelectSoundRef, SellValue, SkinRefs, SleeveNum, StandardDisplayFOV, StoppingPower, TacShine, TacShineClass, Tier3WeaponGiver, ToggleSound, TraderInfoTexture, UnlockedByAchievement, WeaponReloadAnim, Weight, ZoomedDisplayFOVHigh
Inherited Variables from ROEngine.BaseKFWeapon
bFastZoomOut, bZoomingIn, bZoomingOut, bZoomInInterrupted, bZoomOutInterrupted, FastZoomOutTime, LastZoomOutTime, PlayerIronSightFOV, ZoomedDisplayFOV, ZoomInRotation, ZoomPartialTime, ZoomRotInterp, ZoomRotStartOffset, ZoomStartDisplayFOV, ZoomStartOffset, ZoomTime

Enumerations Summary
Inherited Enumerations from KFMod.KFWeapon
EClientGrenadeState, KFScopeDetailSettings

Functions Summary
function AdjustIngameScope ()))
function BeginState ()))
PendingClientWeaponSet
functionbyte BestMode ()))
functionfloat CalcAspectRatioAdjustedFOV (float AdjustFOV))
event Destroyed ()))
function EndState ()))
PendingClientWeaponSet
functionfloat GetAIRating ()))
event OnZoomInFinished ()))
function pfov (int thisFOV))
function PostBeginPlay ()))
function pPitch (int num))
function PreloadAssets (Inventory Inv, optional bool bSkipRefCount))
function PreTravelCleanUp ()))
function pYaw (int num))
functionbool RecommendLongRangedAttack ()))
functionbool RecommendRangedAttack ()))
event RenderOverlays (Canvas Canvas))
event RenderTexture (ScriptedTexture Tex))
function SetZoomBlendColor (Canvas c))
functionbool ShouldDrawPortal ()))
functionbool StartFire (int Mode))
functionfloat SuggestAttackStyle ()))
function TexSize (int i, int j))
function Timer ()))
PendingClientWeaponSet
functionbool UnloadAssets ()))
function UpdateScopeMode ()))
function ZoomIn (bool bAnimateTransition))
function ZoomOut (bool bAnimateTransition))
Inherited Functions from KFMod.KFWeapon
AccuracyUpdate, ActuallyFinishReloading, AddReloadedAmmo, AdjustIngameScope, AdjustLightGraphic, AllowReload, AmmoMaxed, AmmoStatus, BestMode, BringUp, CalcFOVForAspectRatio, CanAttack, CanThrow, CanZoomNow, ChargeBar, ClientFinishReloading, ClientForceKFAmmoUpdate, ClientInterruptReload, ClientReload, ClientReloadEffects, ClientWeaponThrown, ClipUpgrade, ConsumeAmmo, Destroyed, DisplayDebug, DoToggle, DropFrom, FillToInitialAmmo, Fire, GetAmmoCount, GetAmmoMulti, GetEffectStart, GetSecondaryAmmoCount, GiveAmmo, GiveTo, HandlePickupQuery, HandleSleeveSwapping, InitFOV, InterruptReload, IronSightZoomIn, IronSightZoomOut, LightFire, MaxAmmo, NextWeapon, OnZoomInFinished, OnZoomOutFinished, OwnerEvent, PlayAnimZoom, PlayIdle, PostBeginPlay, PostNetReceive, PreloadAssets, PreTravelCleanUp, PrevWeapon, PutDown, ReloadMeNow, RenderOverlays, ServerChangeFireMode, ServerInterruptReload, ServerRequestAutoReload, ServerSetAiming, ServerSpawnLight, ServerStopFire, ShouldDrawPortal, SilentGiveTo, StartFire, Timer, ToggleIronSights, UnloadAssets, UpdateMagCapacity, WeaponChange, WeaponTick, ZoomIn, ZoomOut
Inherited Functions from ROEngine.BaseKFWeapon
OnZoomInFinished, OnZoomOutFinished, PerformZoom, ServerZoomIn, ServerZoomOut, ZoomIn, ZoomOut

States Summary
PendingClientWeaponSet Source code
state PendingClientWeaponSet
BeginState, EndState, Timer


Variables Detail

bInitializedScope Source code

var bool bInitializedScope;

ScopeScriptedShader Source code

var Shader ScopeScriptedShader;

ScopeScriptedTexture Source code

var ScriptedTexture ScopeScriptedTexture;

ScriptedScopeCombiner Source code

var Combiner ScriptedScopeCombiner;

ScriptedTextureFallback Source code

var Material ScriptedTextureFallback;

ScriptedTextureFallbackRef Source code

var string ScriptedTextureFallbackRef;

TexturedScopeTexture Source code

var texture TexturedScopeTexture;

ZoomMatRef Source code

var string ZoomMatRef;

M99SniperRifle

lenseMaterialID Source code

var(M99SniperRifle) int lenseMaterialID;

scopePitch Source code

var(M99SniperRifle) int scopePitch;

scopePitchHigh Source code

var(M99SniperRifle) int scopePitchHigh;

scopePortalFOV Source code

var(M99SniperRifle) float scopePortalFOV;

scopePortalFOVHigh Source code

var(M99SniperRifle) float scopePortalFOVHigh;

scopeYaw Source code

var(M99SniperRifle) int scopeYaw;

scopeYawHigh Source code

var(M99SniperRifle) int scopeYawHigh;

XoffsetHighDetail Source code

var(M99SniperRifle) vector XoffsetHighDetail;

XoffsetScoped Source code

var(M99SniperRifle) vector XoffsetScoped;

ZoomMat Source code

var(M99SniperRifle) Material ZoomMat;


Functions Detail

AdjustIngameScope Source code

simulated function AdjustIngameScope ( ) )

BeginState PendingClientWeaponSet Source code

simulated function BeginState ( ) )

BestMode Source code

function byte BestMode ( ) )

CalcAspectRatioAdjustedFOV Source code

simulated function float CalcAspectRatioAdjustedFOV ( float AdjustFOV) )

Destroyed Source code

simulated event Destroyed ( ) )

EndState PendingClientWeaponSet Source code

simulated function EndState ( ) )

GetAIRating Source code

function float GetAIRating ( ) )

OnZoomInFinished Source code

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

pfov Source code

exec function pfov ( int thisFOV) )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

pPitch Source code

exec function pPitch ( int num) )

PreloadAssets Source code

static function PreloadAssets ( Inventory Inv, optional bool bSkipRefCount) )

PreTravelCleanUp Source code

simulated function PreTravelCleanUp ( ) )

pYaw Source code

exec function pYaw ( int num) )

RecommendLongRangedAttack Source code

function bool RecommendLongRangedAttack ( ) )

RecommendRangedAttack Source code

function bool RecommendRangedAttack ( ) )

RenderOverlays Source code

simulated event RenderOverlays ( Canvas Canvas) )

RenderTexture Source code

simulated event RenderTexture ( ScriptedTexture Tex) )

SetZoomBlendColor Source code

simulated function SetZoomBlendColor ( Canvas c) )

ShouldDrawPortal Source code

simulated function bool ShouldDrawPortal ( ) )

StartFire Source code

simulated function bool StartFire ( int Mode) )

SuggestAttackStyle Source code

function float SuggestAttackStyle ( ) )

TexSize Source code

simulated exec function TexSize ( int i, int j) )

Timer PendingClientWeaponSet Source code

simulated function Timer ( ) )

UnloadAssets Source code

static function bool UnloadAssets ( ) )

UpdateScopeMode Source code

simulated function UpdateScopeMode ( ) )

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
{
     lenseMaterialID=2
     scopePortalFOVHigh=20.000000
     scopePortalFOV=13.330000
     ZoomMatRef="KF_Weapons5_Scopes_Trip_T.M99.MilDotFinalBlend"
     ScriptedTextureFallbackRef="KF_Weapons_Trip_T.CBLens_cmb"
     bHasScope=True
     ZoomedDisplayFOVHigh=18.000000
     ForceZoomOutOnFireTime=0.400000
     MagCapacity=1
     ReloadRate=4.376000
     ReloadAnim="Reload"
     ReloadAnimRate=1.000000
     Weight=13.000000
     bHasAimingMode=True
     IdleAimAnim="Idle_Iron"
     StandardDisplayFOV=55.000000
     bModeZeroCanDryFire=True
     TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_M99'
     bIsTier3Weapon=True
     MeshRef="KF_Wep_M99_Sniper.M99_Sniper"
     SkinRefs(0)="KF_Weapons5_Trip_T.Weapons.M99_cmb"
     SelectSoundRef="KF_M99Snd.M99_Select"
     HudImageRef="KillingFloor2HUD.WeaponSelect.M99_unselected"
     SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.M99"
     PlayerIronSightFOV=30.000000
     ZoomTime=0.285000
     ZoomedDisplayFOV=30.000000
     FireModeClass(0)=Class'KFMod.M99Fire'
     FireModeClass(1)=Class'KFMod.NoFire'
     PutDownAnim="PutDown"
     PutDownAnimRate=2.000000
     SelectForce="SwitchToAssaultRifle"
     AIRating=0.550000
     CurrentRating=0.550000
     bShowChargingBar=True
     Description="M99 50 Caliber Single Shot Sniper Rifle - The ultimate in long range accuracy and knock down power."
     EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
     DisplayFOV=55.000000
     Priority=190
     CustomCrosshair=11
     CustomCrossHairTextureName="Crosshairs.HUD.Crosshair_Cross5"
     InventoryGroup=4
     GroupOffset=14
     PickupClass=Class'KFMod.M99Pickup'
     PlayerViewOffset=(X=15.000000,Y=15.000000,Z=-2.500000)
     BobDamping=4.500000
     AttachmentClass=Class'KFMod.M99Attachment'
     IconCoords=(X1=245,Y1=39,X2=329,Y2=79)
     ItemName="M99 AMR"
     LightType=LT_None
     LightBrightness=0.000000
     LightRadius=0.000000
     TransientSoundVolume=1.250000
}

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