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

KFMod.Syringe

Extends
KFMeleeGun

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

Direct Known Subclasses:

FakeSyringe

Constants Summary
MaxAmmoCount=500

Variables Summary
floatRegenTimer
stringSuccessfulHealMessage
Syringe
floatAmmoRegenRate
intHealBoostAmount
Inherited Variables from KFMod.KFMeleeGun
bCanHit, bDoCombos, BloodSkinSwitchArray, BloodyMaterial, BloodyMaterialRef, btryHit, ChopSlowRate, dmg, hitDamType, HitObject, hitTimeout, MeleeHitVolume, momOffset, THMax, THMin, weaponRange
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

Enumerations Summary
Inherited Enumerations from KFMod.KFWeapon
EClientGrenadeState, KFScopeDetailSettings

Functions Summary
functionbool AddAmmo (int AmmoToAdd, int Mode))
functionint AmmoAmount (int mode))
functionbool AmmoMaxed (int mode))
functionfloat AmmoStatus (optional int Mode))
functionfloat ChargeBar ()))
function CheckOutOfAmmo ()))
function ClientSuccessfulHeal (String HealedName))
functionbool ConsumeAmmo (int Mode, float load, optional bool bAmountNeededIsMax))
function FillToInitialAmmo ()))
function GetAmmoCount (out float MaxAmmoPrimary, out float CurAmmoPrimary))
functionbool HackClientStartFire ()))
functionbool HasAmmo ()))
function HealthBoost ()
functionint MaxAmmo (int mode))
function MaxOutAmmo ()))
function PostBeginPlay ()))
functionfloat RateSelf ()))
function ServerAttemptHeal ()))
function SuperMaxOutAmmo ()))
function Tick (float dt))
function Timer ()))
Inherited Functions from KFMod.KFMeleeGun
BestMode, BringUp, DisplayDebug, DoReflectEffect, GetAIRating, HasAmmo, PreloadAssets, SuggestAttackStyle, SuggestDefenseStyle, UnloadAssets
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


Constants Detail

MaxAmmoCount Source code

const MaxAmmoCount = 500;


Variables Detail

RegenTimer Source code

var float RegenTimer;

SuccessfulHealMessage Source code

var localized string SuccessfulHealMessage;

Syringe

AmmoRegenRate Source code

var(Syringe) float AmmoRegenRate;

HealBoostAmount Source code

var(Syringe) int HealBoostAmount;


Functions Detail

AddAmmo Source code

function bool AddAmmo ( int AmmoToAdd, int Mode) )

AmmoAmount Source code

simulated function int AmmoAmount ( int mode) )

AmmoMaxed Source code

simulated function bool AmmoMaxed ( int mode) )

AmmoStatus Source code

simulated function float AmmoStatus ( optional int Mode) )

ChargeBar Source code

simulated function float ChargeBar ( ) )

CheckOutOfAmmo Source code

simulated function CheckOutOfAmmo ( ) )

ClientSuccessfulHeal Source code

simulated function ClientSuccessfulHeal ( String HealedName) )

ConsumeAmmo Source code

simulated function bool ConsumeAmmo ( int Mode, float load, optional bool bAmountNeededIsMax) )

FillToInitialAmmo Source code

simulated function FillToInitialAmmo ( ) )

GetAmmoCount Source code

simulated function GetAmmoCount ( out float MaxAmmoPrimary, out float CurAmmoPrimary) )

HackClientStartFire Source code

simulated function bool HackClientStartFire ( ) )

HasAmmo Source code

simulated function bool HasAmmo ( ) )

HealthBoost Source code

simulated function HealthBoost ( )

MaxAmmo Source code

simulated function int MaxAmmo ( int mode) )

MaxOutAmmo Source code

simulated function MaxOutAmmo ( ) )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

RateSelf Source code

simulated function float RateSelf ( ) )

ServerAttemptHeal Source code

function ServerAttemptHeal ( ) )

SuperMaxOutAmmo Source code

simulated function SuperMaxOutAmmo ( ) )

Tick Source code

simulated function Tick ( float dt) )

Timer Source code

simulated function Timer ( ) )


Defaultproperties

defaultproperties
{
     AmmoRegenRate=0.300000
     HealBoostAmount=20
     SuccessfulHealMessage="You healed "
     weaponRange=90.000000
     HudImage=Texture'KillingFloorHUD.WeaponSelect.syring_unselected'
     SelectedHudImage=Texture'KillingFloorHUD.WeaponSelect.Syringe'
     Weight=0.000000
     bKFNeverThrow=True
     bAmmoHUDAsBar=True
     bConsumesPhysicalAmmo=False
     StandardDisplayFOV=85.000000
     FireModeClass(0)=Class'KFMod.SyringeFire'
     FireModeClass(1)=Class'KFMod.SyringeAltFire'
     AIRating=-2.000000
     bMeleeWeapon=False
     bShowChargingBar=True
     AmmoCharge(0)=500
     DisplayFOV=85.000000
     Priority=6
     InventoryGroup=5
     GroupOffset=2
     PickupClass=Class'KFMod.SyringePickup'
     BobDamping=8.000000
     AttachmentClass=Class'KFMod.SyringeAttachment'
     IconCoords=(X1=169,Y1=39,X2=241,Y2=77)
     ItemName="Med-Syringe"
     Mesh=SkeletalMesh'KF_Weapons_Trip.Syringe_Trip'
     Skins(0)=Combiner'KF_Weapons_Trip_T.equipment.medInjector_cmb'
     AmbientGlow=2
}

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