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

KFStoryGame.KF_StoryNPC

Extends
KFHumanPawn
Modifiers
placeable hidecategories ( DeRes , Bob , Blur , UDamage )

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Pawn
      |   
      +-- UnrealGame.UnrealPawn
         |   
         +-- XGame.xPawn
            |   
            +-- KFMod.KFPawn
               |   
               +-- KFMod.KFHumanPawn
                  |   
                  +-- KFStoryGame.KF_StoryNPC

Direct Known Subclasses:

KF_StoryNPC_Spawnable, KF_StoryNPC_Static

Constants Summary
Inherited Contants from KFMod.KFPawn
NUM_FIRE_ANIMS

Variables Summary
boolbActive
boolbInitialActive
boolbInitialFireAtWill
boolbShotAnim
KF_DialogueSpotDialogueTrigger
vectorPlacedLoc
rotatorPlacedRot
nameRunningAnims[8]
AI
floatBaseAIThreatRating
boolbFireAtWill
boolbNoThreatToZEDs
array<class<Pawn>>NotThreateningTo
array<class<Pawn>>OnlyThreateningTo
intTeamIndex
Display
boolbOnlyVisibleWhenActive
Events
nameActivationEvent
nameDeActivationEvent
nameHealedEvent
KF_StoryNPC
floatBaseGroundSpeed
boolbDamageable
boolbDropInventoryOnDeath
boolbHasInfiniteAmmo
boolbIndestructible
boolbRunning
boolbShowHealthBar
boolbStartActive
floatFriendlyFireDamageScale
array<string>NPCDialogue
floatNPCHealth
stringNPCName
floatRespawnTime
floatStartingHealthPct
ENPCTriggerActionTriggerAction
Movement
boolbUseDefaultPhysics
Pawn
boolbUseHitPoints
Inherited Variables from KFMod.KFHumanPawn
AlphaAmount, bAimingRifle, BaseMeleeIncrease, bLockWeaponSelection, Blood, BlurFadeOutTime, bMeBeDoomed, bOnDrugs, BreathingSound, bTorchOn, bUseBlurEffect, bUsingHitBlur, CameraEffectFound, CriticalOverlay, CurrentBlurIntensity, CurrentWeight, DrugBonusMovement, DyingMessageDelay, HealthSpeedModifier, InjuredOverlay, InventorySpeedModifier, JarrMoveDuration, JarrMoveMag, JarrMoveRate, JarrRotateDuration, JarrRotateMag, JarrRotateRate, KFPC, LastDyingMessageTime, MaxCarryWeight, MiscSound, NewSchoolHitBlurIntensity, ScoreCounter, SpeedAdjustment, StartingBlurFadeOutTime, StopBlurTime, TempScore, TorchBatteryLife, WeightSpeedModifier
Inherited Variables from KFMod.KFPawn
Adjuster, AnimActResetTime, AttachedEmitter, AuxCollisionCylinder, bAshen, bBurnApplied, bBurnified, bCanBeHealed, bDestroyAfterRagDollTick, bDestroyNextTick, bDetailedShadows, bDoAdjustFeet, bHasFootAdjust, BileCount, BileFrequency, BileInstigator, bIsQuickHealing, BleedingEmitterClass, bLeftArmGibbed, bLeftLegGibbed, bMovementDisabled, BobScaleModifier, BobSpeedModifier, bProcessedRagTickDestroy, bRealDeathType, bRealtimeShadows, bResetingAnimAct, bRightArmGibbed, bRightLegGibbed, bThrowingNade, BurnDown, BurnEffect, BurnInstigator, ClientIdleWeaponAnim, DecapitationSound, DetachedArmClass, DetachedLegClass, DropCashMessageDelay, FeetAdjSpec, FireAltAnims[NUM_FIRE_ANIMS], FireAnims[NUM_FIRE_ANIMS], FireCrouchAltAnims[NUM_FIRE_ANIMS], FireCrouchAnims[NUM_FIRE_ANIMS], FootStepSoundRadius, GibCountCalf, GibCountForearm, GibCountHead, GibCountTorso, GibCountUpperArm, GibGroupClass, healthToGive, HitAnims[4], ItBUURRNNNS, KFBSkin, KFFSkin, KFSMesh, LastBileDamagedByType, LastBurnDamage, LastDamagedBy, LastDropCashMessageTime, lastHealTime, LastHitDamType, LevRls, LimbSpurtEmitterClass, MaxZHeight, MinZHeight, NadeThrowTimeout, NeckSpurtEmitterClass, NextBileTime, NoEntryTexture, ObliteratedEffectClass, OldAdjust[2], OwnerPRI, PostFireBlendCrouchAnim, PostFireBlendStandAnim, ProjectileBloodSplatClass, QuietFootStepVolume, SafeMesh, SavedAuxCollision, ScriptedAnimData, SecondaryItem, SeveredArmAttachClass, SeveredArmAttachScale, SeveredHead, SeveredHeadAttachClass, SeveredHeadAttachScale, SeveredLeftArm, SeveredLeftLeg, SeveredLegAttachClass, SeveredLegAttachScale, SeveredRightArm, SeveredRightLeg, SoundFootsteps[20], StopDisabledTime, TeamBeaconBorderMaterial, TeamBeaconTexture, TimeSetDestroyNextTickTime

Enumerations Summary
ENPCTriggerAction
TA_ToggleHoldFire, TA_CommitSuicide, TA_ToggleActive,

Structures Summary
Inherited Structures from KFMod.KFPawn
SScriptedAnimRepInfo

Functions Summary
functionfloat AssessThreatTo (KFMonsterController Monster, optional bool CheckDistance))
functionRosterEntry GetPlacedRoster ()))
functionstring GetPlayerName ()))
functionint GetTeamNum ()))
functionbool GiveHealth (int HealAmount, int HealMax))
functionbool HealDamage (int Amount, Controller Healer, class<DamageType> DamageType))
functionbool IsPacifist ()))
functionbool IsThreateningTo (Pawn Monster))
function OnObjectiveChanged (name OldObjectiveName, name NewObjectiveName)
function PostBeginPlay ()))
event PostRender2D (Canvas C, float ScreenLocX, float ScreenLocY))
function ProcessLocationalDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, class<DamageType> damageType, array PointsHit ))
function RepositionNPC ()))
function Reset ()))
function ResurrectNPC ()))
function SaveHealthState ()
function SetActive (bool On))
function SetMovemetPhysics ()))
function SpawnDialogueTrigger ()))
function SpawnDummyCorpse (Controller Killer, class<DamageType> damageType, vector HitLocation))
function TakeDamage (int Damage, awn instigatedBy, Vector HitLocation, vector Momentum, class<DamageType> damageType, optional int HitIndex))
function Trigger (Actor Other, Pawn EventInstigator ))
function UpdateVisibility (bool On))
Inherited Functions from KFMod.KFHumanPawn
AddBlur, AddDefaultInventory, AddInventory, AllowGrenadeTossing, AllowHoldWeapon, AllowQuickHealing, AllowWeaponSwitching, AssessThreatTo, CanCarry, ChangedWeapon, CreateInventoryVeterancy, DeleteInventory, Destroyed, died, DoHitCamEffects, Drugs, FindCameraEffect, GetStalkerViewDistanceMulti, HandleWhizSound, InternalTossCarriedItems, IsCarryingThrowableInventory, ModifyVelocity, NextWeapon, PerformDodge, PlayTakeHit, PreBeginPlay, PrevWeapon, QuickHeal, RemoveCameraEffect, ServerChangedWeapon, ServerTossCarriedItems, SetAiming, Setup, ShowStalkers, SilentGiveWeapon, StopHitCamEffects, SwitchWeapon, TakeBileDamage, TakeDamage, ThrowGrenade, tick, Timer, TossCarriedItems, TossWeapon, VeterancyChanged
Inherited Functions from KFMod.KFPawn
AddHealth, AddShieldStrength, AnimBlendTimer, AnimEnd, AttachEffect, AttachEmitterEffect, BeginState, CanBuyNow, CanCarry, CheckBob, CheckFootSteps, ChunkUp, ClientCurrentWeaponSold, ClientForceChangeWeapon, Destroyed, Died, DisableMovement, DisplayDebug, DoDamageFX, DoDerezEffect, DoJump, EncroachedBy, EncroachingOn, FellOutOfWorld, FootStepping, ForceDefaultCharacter, GetDefaultCharacter, GetExposureTo, GetGibClass, GetOffhandBoneFor, GetPlayerName, GetSound, GetVeteran, GetWeaponBoneFor, GiveHealth, GiveWeapon, HandleNadeThrowAnim, HideBone, ItemIsBuyable, KImpact, KVelDropBelow, ModifyVelocity, OldPlayHit, PlayDirectionalHit, PlayDying, PlayDyingAnimation, PlayDyingSound, PlayHit, PlayScriptedAnim, PossessedBy, PostBeginPlay, PostNetBeginPlay, PostNetReceive, PreTravelCleanUp, ProcessHitFX, ProcessLocationalDamage, QuickHeal, RemoveFlamingEffects, RemoveInventorySP, ServerBuyAmmo, ServerBuyFirstAid, ServerBuyKevlar, ServerBuyPotato, ServerBuyWeapon, ServerSellAmmo, ServerSellWeapon, SetAnimAction, SetFootHeight, SetNadeTimeOut, SetScriptedAnimData, SetTraderUpdate, Setup, SetWeaponAttachment, ShieldAbsorb, SpawnGiblet, SpawnGibs, SpawnHitEmitter, SpawnSeveredGiblet, SpecialCalcView, StartBurnFX, StartDeRes, StartFiringX, StopBurnFX, StopFiring, SwitchToLastWeapon, TakeBileDamage, TakeDamage, TakeFallingDamage, TakeFireDamage, TestEye, ThrowGrenade, ThrowGrenadeFinished, Tick, Timer, ToggleAuxCollision, ToggleFlashlight, TossCash, UpdateFeetCoords, UpdateShadow, WeaponDown


Variables Detail

bActive Source code

var bool bActive;

bInitialActive Source code

var bool bInitialActive;

bInitialFireAtWill Source code

var bool bInitialFireAtWill;

bShotAnim Source code

var bool bShotAnim;

DialogueTrigger Source code

var KF_DialogueSpot DialogueTrigger;

PlacedLoc Source code

var vector PlacedLoc;

PlacedRot Source code

var rotator PlacedRot;

RunningAnims[8] Source code

var name RunningAnims[8];

AI

BaseAIThreatRating Source code

var(AI) float BaseAIThreatRating;

bFireAtWill Source code

var(AI) bool bFireAtWill;

bNoThreatToZEDs Source code

var(AI) bool bNoThreatToZEDs;

NotThreateningTo Source code

var(AI) array<class<Pawn>> NotThreateningTo;

OnlyThreateningTo Source code

var(AI) array<class<Pawn>> OnlyThreateningTo;

TeamIndex Source code

var(AI) int TeamIndex;

Display

bOnlyVisibleWhenActive Source code

var(Display) bool bOnlyVisibleWhenActive;

Events

ActivationEvent Source code

var(Events) name ActivationEvent;

DeActivationEvent Source code

var(Events) name DeActivationEvent;

HealedEvent Source code

var(Events) name HealedEvent;

KF_StoryNPC

BaseGroundSpeed Source code

var(KF_StoryNPC) float BaseGroundSpeed;

bDamageable Source code

var(KF_StoryNPC) bool bDamageable;

bDropInventoryOnDeath Source code

var(KF_StoryNPC) bool bDropInventoryOnDeath;

bHasInfiniteAmmo Source code

var(KF_StoryNPC) bool bHasInfiniteAmmo;

bIndestructible Source code

var(KF_StoryNPC) bool bIndestructible;

bRunning Source code

var(KF_StoryNPC) bool bRunning;

bShowHealthBar Source code

var(KF_StoryNPC) bool bShowHealthBar;

bStartActive Source code

var(KF_StoryNPC) bool bStartActive;

FriendlyFireDamageScale Source code

var(KF_StoryNPC) float FriendlyFireDamageScale;

NPCDialogue Source code

var(KF_StoryNPC) localized array<string> NPCDialogue;

NPCHealth Source code

var(KF_StoryNPC) float NPCHealth;

NPCName Source code

var(KF_StoryNPC) localized string NPCName;

RespawnTime Source code

var(KF_StoryNPC) float RespawnTime;

StartingHealthPct Source code

var(KF_StoryNPC) float StartingHealthPct;

TriggerAction Source code

var(KF_StoryNPC) ENPCTriggerAction TriggerAction;

Movement

bUseDefaultPhysics Source code

var(Movement) bool bUseDefaultPhysics;

Pawn

bUseHitPoints Source code

var(Pawn) bool bUseHitPoints;


Enumerations Detail

ENPCTriggerAction Source code

enum ENPCTriggerAction
{
TA_ToggleHoldFire, TA_CommitSuicide, TA_ToggleActive,
};


Functions Detail

AssessThreatTo Source code

function float AssessThreatTo ( KFMonsterController Monster, optional bool CheckDistance) )

GetPlacedRoster Source code

function RosterEntry GetPlacedRoster ( ) )

GetPlayerName Source code

function string GetPlayerName ( ) )

GetTeamNum Source code

simulated function int GetTeamNum ( ) )

GiveHealth Source code

function bool GiveHealth ( int HealAmount, int HealMax) )

HealDamage Source code

function bool HealDamage ( int Amount, Controller Healer, class<DamageType> DamageType) )

IsPacifist Source code

function bool IsPacifist ( ) )

IsThreateningTo Source code

function bool IsThreateningTo ( Pawn Monster) )

OnObjectiveChanged Source code

function OnObjectiveChanged ( name OldObjectiveName, name NewObjectiveName )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

PostRender2D Source code

simulated event PostRender2D ( Canvas C, float ScreenLocX, float ScreenLocY) )

ProcessLocationalDamage Source code

function ProcessLocationalDamage ( int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, class<DamageType> damageType, array<int> PointsHit ) )

RepositionNPC Source code

function RepositionNPC ( ) )

Reset Source code

function Reset ( ) )

ResurrectNPC Source code

function ResurrectNPC ( ) )

SaveHealthState Source code

function SaveHealthState ( )

SetActive Source code

function SetActive ( bool On) )

SetMovemetPhysics Source code

function SetMovemetPhysics ( ) )

SpawnDialogueTrigger Source code

function SpawnDialogueTrigger ( ) )

SpawnDummyCorpse Source code

simulated function SpawnDummyCorpse ( Controller Killer, class<DamageType> damageType, vector HitLocation) )

TakeDamage Source code

simulated function TakeDamage ( int Damage,pawn instigatedBy, Vector HitLocation, vector Momentum, class<DamageType> damageType, optional int HitIndex) )

Trigger Source code

function Trigger ( Actor Other, Pawn EventInstigator ) )

UpdateVisibility Source code

function UpdateVisibility ( bool On) )


Defaultproperties

defaultproperties
{
     NPCName="An NPC"
     bStartActive=True
     bFireAtWill=True
     bDropInventoryOnDeath=True
     FriendlyFireDamageScale=1.000000
     NPCHealth=100.000000
     StartingHealthPct=1.000000
     bDamageable=True
     bUseHitPoints=True
     TriggerAction=TA_ToggleActive
     ControllerClass=Class'KFStoryGame.KF_StoryNPC_AI'
     bNoDelete=True
     bAlwaysRelevant=True
}

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