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

KFMod.Crossbow

Extends
KFWeapon

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

Direct Known Subclasses:

CrossbowSP

Variables Summary
boolbArrowRemoved
boolbInitializedScope
colorChargeColor
floatLastRangingTime
floatRange
ShaderScopeScriptedShader
ScriptedTextureScopeScriptedTexture
CombinerScriptedScopeCombiner
MaterialScriptedTextureFallback
stringScriptedTextureFallbackRef
textureTexturedScopeTexture
stringZoomMatRef
Crossbow
intlenseMaterialID
intscopePitch
intscopePitchHigh
floatscopePortalFOV
floatscopePortalFOVHigh
intscopeYaw
intscopeYawHigh
vectorXoffsetHighDetail
vectorXoffsetScoped
MaterialZoomMat
SoundZoomSound
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 ()))
functionbyte BestMode ()))
functionfloat CalcAspectRatioAdjustedFOV (float AdjustFOV))
event Destroyed ()))
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 ()))
functionfloat SuggestAttackStyle ()))
function TexSize (int i, int j))
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


Variables Detail

bArrowRemoved Source code

var bool bArrowRemoved;

bInitializedScope Source code

var bool bInitializedScope;

ChargeColor Source code

var color ChargeColor;

LastRangingTime Source code

var float LastRangingTime;

Range Source code

var float Range;

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;

Crossbow

lenseMaterialID Source code

var(Crossbow) int lenseMaterialID;

scopePitch Source code

var(Crossbow) int scopePitch;

scopePitchHigh Source code

var(Crossbow) int scopePitchHigh;

scopePortalFOV Source code

var(Crossbow) float scopePortalFOV;

scopePortalFOVHigh Source code

var(Crossbow) float scopePortalFOVHigh;

scopeYaw Source code

var(Crossbow) int scopeYaw;

scopeYawHigh Source code

var(Crossbow) int scopeYawHigh;

XoffsetHighDetail Source code

var(Crossbow) vector XoffsetHighDetail;

XoffsetScoped Source code

var(Crossbow) vector XoffsetScoped;

ZoomMat Source code

var(Crossbow) Material ZoomMat;

ZoomSound Source code

var(Crossbow) Sound ZoomSound;


Functions Detail

AdjustIngameScope Source code

simulated function AdjustIngameScope ( ) )

BestMode Source code

function byte BestMode ( ) )

CalcAspectRatioAdjustedFOV Source code

simulated function float CalcAspectRatioAdjustedFOV ( float AdjustFOV) )

Destroyed Source code

simulated event Destroyed ( ) )

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 ( ) )

SuggestAttackStyle Source code

function float SuggestAttackStyle ( ) )

TexSize Source code

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

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=22.000000
     scopePortalFOV=12.000000
     ZoomMatRef="KillingFloorWeapons.Xbow.CommandoCrossFinalBlend"
     ScriptedTextureFallbackRef="KF_Weapons_Trip_T.CBLens_cmb"
     bHasScope=True
     ZoomedDisplayFOVHigh=35.000000
     ForceZoomOutOnFireTime=0.400000
     MagCapacity=1
     ReloadRate=0.010000
     WeaponReloadAnim="Reload_Crossbow"
     Weight=9.000000
     bHasAimingMode=True
     IdleAimAnim="Idle_Iron"
     StandardDisplayFOV=65.000000
     TraderInfoTexture=Texture'KillingFloorHUD.Trader_Weapon_Images.Trader_CrossBow'
     bIsTier2Weapon=True
     MeshRef="KF_Weapons_Trip.Crossbow_Trip"
     SkinRefs(0)="KF_Weapons_Trip_T.Rifles.crossbow_cmb"
     SelectSoundRef="KF_XbowSnd.Xbow_Select"
     HudImageRef="KillingFloorHUD.WeaponSelect.Crossbow_unselected"
     SelectedHudImageRef="KillingFloorHUD.WeaponSelect.Crossbow"
     PlayerIronSightFOV=32.000000
     ZoomedDisplayFOV=60.000000
     FireModeClass(0)=Class'KFMod.CrossbowFire'
     FireModeClass(1)=Class'KFMod.NoFire'
     PutDownAnim="PutDown"
     SelectForce="SwitchToAssaultRifle"
     AIRating=0.650000
     CurrentRating=0.650000
     Description="A recreational hunting weapon, featuring a firing trigger and a powerful integrated scope. "
     DisplayFOV=65.000000
     Priority=140
     CustomCrosshair=11
     CustomCrossHairTextureName="Crosshairs.HUD.Crosshair_Cross5"
     InventoryGroup=4
     GroupOffset=1
     PickupClass=Class'KFMod.CrossbowPickup'
     PlayerViewOffset=(X=15.000000,Y=16.000000,Z=-12.000000)
     BobDamping=6.000000
     AttachmentClass=Class'KFMod.CrossbowAttachment'
     IconCoords=(X1=253,Y1=146,X2=333,Y2=181)
     ItemName="Compound Crossbow"
     LightType=LT_None
     LightBrightness=0.000000
     LightRadius=0.000000
}

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