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

KFMod.M4AssaultRifle

Extends
KFWeapon
Modifiers
config ( user )

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

Direct Known Subclasses:

CamoM4AssaultRifle, M4203AssaultRifle

Variables Summary
boolbWasClipEmpty
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 ActuallyFinishReloading ()))
function AltFire (float F))
function AnimEnd (int channel))
functionbyte BestMode ()))
functionfloat GetAIRating ()))
event OnZoomInFinished ()))
event OnZoomOutFinished ()))
functionbool RecommendLongRangedAttack ()))
functionbool RecommendRangedAttack ()))
function ReloadMeNow ()))
function SetZoomBlendColor (Canvas c))
functionbool StartFire (int Mode))
functionfloat SuggestAttackStyle ()))
function SwitchModes ()))
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

bWasClipEmpty Source code

var bool bWasClipEmpty;


Functions Detail

ActuallyFinishReloading Source code

simulated function ActuallyFinishReloading ( ) )

AltFire Source code

simulated function AltFire ( float F) )

AnimEnd Source code

simulated function AnimEnd ( int channel) )

BestMode Source code

function byte BestMode ( ) )

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

OnZoomOutFinished Source code

simulated event OnZoomOutFinished ( ) )

RecommendLongRangedAttack Source code

function bool RecommendLongRangedAttack ( ) )

RecommendRangedAttack Source code

function bool RecommendRangedAttack ( ) )

ReloadMeNow Source code

exec function ReloadMeNow ( ) )

SetZoomBlendColor Source code

simulated function SetZoomBlendColor ( Canvas c) )

StartFire Source code

simulated function bool StartFire ( int Mode) )

SuggestAttackStyle Source code

function float SuggestAttackStyle ( ) )

SwitchModes Source code

exec function SwitchModes ( ) )


Defaultproperties

defaultproperties
{
     MagCapacity=30
     ReloadRate=3.633300
     ReloadAnim="Reload"
     ReloadAnimRate=1.000000
     WeaponReloadAnim="Reload_M4"
     Weight=6.000000
     bHasAimingMode=True
     IdleAimAnim="Idle_Iron"
     StandardDisplayFOV=60.000000
     bModeZeroCanDryFire=True
     SleeveNum=2
     TraderInfoTexture=Texture'KillingFloor2HUD.Trader_Weapon_Icons.Trader_M4'
     bIsTier2Weapon=True
     MeshRef="KF_Wep_M4.M4_Trip"
     SkinRefs(0)="KF_Weapons4_Trip_T.Weapons.m4_cmb"
     SkinRefs(1)="KF_Weapons2_Trip_T.Special.Aimpoint_sight_shdr"
     SelectSoundRef="KF_M4RifleSnd.WEP_M4_Foley_Select"
     HudImageRef="KillingFloor2HUD.WeaponSelect.M4_unselected"
     SelectedHudImageRef="KillingFloor2HUD.WeaponSelect.M4"
     PlayerIronSightFOV=65.000000
     ZoomedDisplayFOV=45.000000
     FireModeClass(0)=Class'KFMod.M4Fire'
     FireModeClass(1)=Class'KFMod.NoFire'
     PutDownAnim="PutDown"
     SelectForce="SwitchToAssaultRifle"
     AIRating=0.550000
     CurrentRating=0.550000
     bShowChargingBar=True
     Description="A compact assault rifle. Can be fired in semi or full auto with good damage and good accuracy."
     EffectOffset=(X=100.000000,Y=25.000000,Z=-10.000000)
     DisplayFOV=60.000000
     Priority=130
     CustomCrosshair=11
     CustomCrossHairTextureName="Crosshairs.HUD.Crosshair_Cross5"
     InventoryGroup=3
     GroupOffset=10
     PickupClass=Class'KFMod.M4Pickup'
     PlayerViewOffset=(X=25.000000,Y=18.000000,Z=-6.000000)
     BobDamping=6.000000
     AttachmentClass=Class'KFMod.M4Attachment'
     IconCoords=(X1=245,Y1=39,X2=329,Y2=79)
     ItemName="M4"
     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.766 - Created with UnCodeX