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

KFMod.KFHintManager

Extends
Info
Modifiers
config ( User )

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- KFMod.KFHintManager

Direct Known Subclasses:

KFHintmanager_Story

Constants Summary
MAX_HINTS=61
MAX_HINT_TYPES=61
Inherited Contants from Engine.Actor
MAINCOLLISIONINDEX, MAXSTEPHEIGHT, MINFLOORZ

Variables Summary
intbUsedUpHints[MAX_HINTS]
HintInfoCurrentHint
intCurrentHintIndex
intHintsAvailableByType[MAX_HINT_TYPES]
floatLastHintDisplayTime
intLastHintType
floatRandomHintTimerDelay
array<HintInfo>SortedHints
KFHintManager
HintInfoHints[MAX_HINTS]
floatPostHintDisplayDelay
floatSameHintTypePostDisplayDelay
Inherited Variables from Engine.Info
BotsGroup, ChatGroup, GameGroup, KickVoteGroup, MapVoteGroup, RulesGroup, ServerGroup
Inherited Variables from Engine.Actor
Acceleration, AccumKarmaAngleError, ActorRenderData, AmbientGlow, AmbientSound, AntiPortal, Attached, AttachmentBone, AttachTag, bAcceptsProjectors, bActorShadows, bAlreadyPrecachedMaterials, bAlreadyPrecachedMeshes, bAlwaysFaceCamera, bAlwaysRelevant, bAlwaysTick, bAlwaysZeroBoneOffset, bAnimByOwner, Base, bAttenByLife, bAutoAlignToTerrain, bAutoTraceNotify, bBadStateCode, bBlockActors, bBlockHitPointTraces, bBlockKarma, bBlockNonZeroExtentTraces, bBlockPlayers, bBlockProjectiles, bBlocksTeleport, bBlockZeroExtentTraces, bBounce, bCanAutoTraceSelect, bCanBeDamaged, bCanTeleport, bClientAnim, bClientAuthoritative, bClientDemoNetFunc, bClientDemoRecording, bClientTrigger, bCollideActors, bCollideWhenPlacing, bCollideWorld, bCompressedPosition, bCorona, bDeferRendering, bDeleteMe, bDemoOwner, bDemoRecording, bDestroyInPainVolume, bDetailAttachment, bDirectional, bDirectionalCorona, bDisableSorting, bDisturbFluidSurface, bDramaticLighting, bDynamicLight, bEdShouldSnap, bEdSnap, bFixedRotationDir, bForceSkelUpdate, bFullVolume, bGameRelevant, bHardAttach, bHidden, bHiddenEd, bHiddenEdGroup, bHighDetail, bHurtEntry, bIgnoreEncroachers, bIgnoreOutOfWorld, bIgnoreTerminalVelocity, bIgnoreVehicles, bInterpolating, bJustTeleported, bLightChanged, bLightingVisibility, bLockLocation, bMovable, bNetDirty, bNetInitial, bNetInitialRotation, bNetNotify, bNetOwner, bNetRelevant, bNetTemporary, bNoDelete, bNoRepMesh, bNotifyLocalPlayerTeamReceived, bNotOnDedServer, bObsolete, bOnlyAffectPawns, bOnlyDirtyReplication, bOnlyDrawIfAttached, bOnlyOwnerSee, bOnlyRelevantToOwner, bOrientOnSlope, bOrientToVelocity, bOwnerNoSee, bPathColliding, bPathTemp, bPendingDelete, bProjTarget, bRepClientDemo, bReplicateAnimations, bReplicateInstigator, bReplicateMovement, bRotateToDesired, Brush, bScriptInitialized, bSelected, bShadowCast, bShouldBaseAtStartup, bShouldStopKarma, bShowOctreeNodes, bSkipActorPropertyReplication, bSmoothKarmaStateUpdates, bSpecialLit, bStasis, bStatic, bStaticLighting, bSuperHighDetail, bTearOff, bTempEditor, bTicked, bTimerLoop, bTraceWater, bTrailerAllowRotation, bTrailerPrePivot, bTrailerSameRotation, bTravel, bUnlit, Buoyancy, bUpdateSimulatedPosition, bUseCollisionStaticMesh, bUseCylinderCollision, bUseDynamicLights, bUseHighDetailOverlayIndex, bUseLightingFromBase, bWasSNFiltered, bWorldGeometry, CachedLocalToWorld, CachedLocation, CachedRotation, ClientOverlayCounter, ClientOverlayTimer, CollisionHeight, CollisionRadius, CollisionTag, ColLocation, CullDistance, Deleted, DesiredRotation, DrawScale, DrawScale3D, DrawType, Event, ExcludeTag[8], FluidSurfaceShootStrengthMod, ForcedVisibilityZoneTag, ForceNoise, ForceRadius, ForceScale, ForceType, Group, HardRelMatrix, HighDetailOverlay, HighDetailOverlayIndex, InitialState, Instigator, Inventory, JoinedTag, KParams, KStepTag, LastRenderTime, LastReplicateTime, LatentFloat, Leaves, Level, LifeSpan, LightBrightness, LightCone, LightEffect, LightHue, LightPeriod, LightPhase, LightRadius, LightRenderData, LightSaturation, LightType, Location, LODBias, Mass, MaxLights, Mesh, MeshInstance, MessageClass, NetPriority, NetTag, NetUpdateFrequency, NetUpdateTime, OctreeBox, OctreeBoxCenter, OctreeBoxRadii, OctreeNodes, OverlayMaterial, OverlayTimer, Owner, PendingTouch, Physics, PhysicsVolume, PrePivot, Projectors, Region, RelativeLocation, RelativeRotation, RemoteRole, RenderRevision, RepSkin, Role, Rotation, RotationRate, ScaleGlow, SimAnim, Skins, SoundOcclusion, SoundPitch, SoundRadius, SoundVolume, StaticFilterState, StaticMesh, StaticMeshInstance, StaticMeshProjectors, StaticSectionBatches, Style, SurfaceType, Tag, Texture, TimerCounter, TimerRate, Touching, TransientSoundRadius, TransientSoundVolume, UV2Mode, UV2Texture, Velocity, XLevel

Enumerations Summary
Inherited Enumerations from Engine.Actor
EDoubleClickDir, EDrawType, EFilterState, EFlagState, EForceType, eKillZType, ELightEffect, ELightType, EMusicTransition, ENetRole, EPhysics, ERenderStyle, ESoundOcclusion, ESoundSlot, ESurfaceTypes, ETravelType, EUV2Mode

Structures Summary
HintInfo
type, priority, delay, title, hint, index
Inherited Structures from Engine.Actor
ActorRenderDataPtr, AnimRep, BatchReference, FireProperties, KRBVec, KRigidBodyState, KSimParams, LightRenderDataPtr, PointRegion, ProjectorRenderInfoPtr, StaticMeshProjectorRenderInfoPtr

Functions Summary
function BeginState ()))
PostDisplay
function BeginState ()))
PreHintDelay
function BeginState ()))
WaitHintDone
function CheckForHint (int hintType))
function CheckForHint (int hintType))
PostDisplay
function CheckForHint (int hintType))
PreHintDelay
function CheckForHint (int hintType))
WaitHintDone
function DumpHints ()))
function LoadHints ()))
function NonStaticReset ()))
function NotifyHintRenderingDone ()))
function NotifyHintRenderingDone ()))
WaitHintDone
function PostBeginPlay ()))
function Reload ()))
function StaticReset ()))
function StopHinting ()))
function Timer ()))
function Timer ()))
PostDisplay
function Timer ()))
PreHintDelay
Inherited Functions from Engine.Info
AcceptPlayInfoProperty, AllowClassRemoval, FillPlayInfo, GetDescriptionText, GetSecurityLevel
Inherited Functions from Engine.Actor
*, +, -, AddToPackageMap, AdjustVolume, AllActors, AllowMusicPlayback, AnimBlendParams, AnimBlendToAlpha, AnimEnd, AnimIsInGroup, AnimStopLooping, Attach, AttachToBone, AutonomousPhysics, BaseChange, BasedActors, BecomeViewTarget, BeginEvent, BeginPlay, BlocksShotAt, BoneRefresh, BroadcastLocalizedMessage, Bump, CanSplash, ChangeBaseParamsFeedbackEffect, ChangeSpringFeedbackEffect, CheckAchievementEvents, CheckForErrors, CheckMaxEffectDistance, ChildActors, ClearStayingDebugLines, ClientTrigger, Clock, CollidingActors, ConsoleCommand, CopyObjectToClipboard, Crash, CurrentLIPSincAnim, DebugClock, DebugUnclock, DemoPlaySound, Destroy, Destroyed, Detach, DetachFromBone, DisplayDebug, DrawDebugCircle, DrawDebugLine, DrawDebugSphere, DrawStayingDebugLine, DynamicActors, EffectIsRelevant, EnableChannelNotify, EncroachedBy, EncroachingOn, EndedRotation, EndEvent, Error, Falling, FastTrace, FellOutOfWorld, FinishAnim, FinishedInterpolation, FinishInterpolation, ForceFeedbackSupported, FreezeAnimAt, GainedChild, GetAllInt, GetAllIntDesc, GetAnimDuration, GetAnimParams, GetBoneCoords, GetBoneRotation, GetCacheEntry, GetClosestBone, GetCollisionExtent, GetDebugName, GetEventColor, GetEvents, GetHumanReadableName, GetLocalString, GetMapName, GetMeshName, GetNextInt, GetNextIntDesc, GetNextSkin, GetNotifyChannel, GetRenderBoundingSphere, GetRootLocation, GetRootLocationDelta, GetRootRotation, GetRootRotationDelta, GetSoundDuration, GetURLMap, GetUrlOption, HasAnim, HasLIPSincAnim, HealDamage, HitPointTrace, HitWall, HurtRadius, IsAnimating, IsInPain, IsInVolume, IsJoinedTo, IsPlayingLIPSincAnim, IsStationary, IsTweening, KAddAngularImpulse, KAddBoneLifter, KAddImpulse, KApplyForce, KDisableCollision, KDrawRigidBodyState, KEnableCollision, KFreezeRagdoll, KGetActorGravScale, KGetCOMOffset, KGetCOMPosition, KGetDampingProps, KGetFriction, KGetImpactThreshold, KGetInertiaTensor, KGetMass, KGetRBQuaternion, KGetRestitution, KGetRigidBodyState, KGetSimParams, KGetSkelMass, KilledBy, KImpact, KIsAwake, KIsRagdollAvailable, KMakeRagdollAvailable, KRBVecFromVector, KRBVecToVector, KRemoveAllBoneLifters, KRemoveLifterFromBone, KScaleJointLimits, KSetActorGravScale, KSetBlockKarma, KSetCOMOffset, KSetDampingProps, KSetFriction, KSetImpactThreshold, KSetInertiaTensor, KSetMass, KSetRestitution, KSetSimParams, KSetSkelVel, KSetStayUpright, KSetStayUprightParams, KSkelConvulse, KUpdateState, KVelDropBelow, KWake, Landed, LinkMesh, LinkSkelAnim, LIPSincAnimEnd, LockRootMotion, LoopAnim, LostChild, MakeNoise, MatchStarting, Move, MoveCacheEntry, MoveSmooth, NearSpot, NotifyLocalPlayerDead, NotifyLocalPlayerTeamReceived, NotifySelected, OnlyAffectPawns, PauseStream, PawnBaseDied, PhysicsVolumeChange, PlayAnim, PlayerCanSeeMe, PlayFeedbackEffect, PlayLIPSincAnim, PlayMusic, PlayOwnedSound, PlaySound, PlayStream, PlayTeleportEffect, PostBeginPlay, PostLoadSavedGame, PostNetBeginPlay, PostNetReceive, PostTeleport, PostTouch, POVChanged, PreBeginPlay, PrecacheAnnouncer, PreSaveGame, PreTeleport, RadiusActors, RanInto, ReceivedEvent, RecoverFromBadStateCode, RenderOverlays, RenderTexture, Reset, ResetStaticFilterState, SeekStream, SelfTriggered, SetAnimFrame, SetBase, SetBoneDirection, SetBoneLocation, SetBoneRotation, SetBoneScale, SetCollision, SetCollisionSize, SetDefaultDisplayProperties, SetDelayedDamageInstigatorController, SetDisplayProperties, SetDrawScale, SetDrawScale3D, SetDrawType, SetGRI, SetInitialState, SetLocation, SetOverlayMaterial, SetOwner, SetPhysics, SetRelativeLocation, SetRelativeRotation, SetRotation, SetStaticMesh, SetTimer, ShouldBeHidden, Sleep, Spawn, SpecialHandling, StartInterpolation, StopAllMusic, StopAnimating, StopFeedbackEffect, StopLIPSincAnim, StopMusic, StopStream, SuggestFallVelocity, TakeDamage, TeamLink, TextToSpeech, Tick, Timer, TimerPop, TornOff, Touch, TouchingActor, TouchingActors, Trace, TraceActors, TraceThisActor, TravelPostAccept, TravelPreAccept, Trigger, TriggerEvent, TweenAnim, UnClock, UnTouch, UnTrigger, UntriggerEvent, UpdateAnnouncements, UpdateDefaultMesh, UpdateDefaultStaticMesh, UpdatePrecacheMaterials, UpdatePrecacheStaticMeshes, UpdateURL, UsedBy, VisibleActors, VisibleCollidingActors, ZoneChange

States Summary
PostDisplay Source code
state PostDisplay
BeginState, CheckForHint, Timer
PreHintDelay Source code
state PreHintDelay
BeginState, CheckForHint, Timer
WaitHintDone Source code
state WaitHintDone
BeginState, CheckForHint, NotifyHintRenderingDone


Constants Detail

MAX_HINTS Source code

const MAX_HINTS = 61;

MAX_HINT_TYPES Source code

const MAX_HINT_TYPES = 61;


Variables Detail

bUsedUpHints[MAX_HINTS] Source code

var config int bUsedUpHints[MAX_HINTS];

CurrentHint Source code

var HintInfo CurrentHint;

CurrentHintIndex Source code

var int CurrentHintIndex;

HintsAvailableByType[MAX_HINT_TYPES] Source code

var int HintsAvailableByType[MAX_HINT_TYPES];

LastHintDisplayTime Source code

var float LastHintDisplayTime;

LastHintType Source code

var int LastHintType;

RandomHintTimerDelay Source code

var float RandomHintTimerDelay;

SortedHints Source code

var array<HintInfo> SortedHints;

KFHintManager

Hints[MAX_HINTS] Source code

var(KFHintManager) HintInfo Hints[MAX_HINTS];

PostHintDisplayDelay Source code

var(KFHintManager) float PostHintDisplayDelay;

SameHintTypePostDisplayDelay Source code

var(KFHintManager) float SameHintTypePostDisplayDelay;


Structures Detail

HintInfo Source code

struct HintInfo
{
var(KFHintManager) int delay;
var(KFHintManager) localized string hint;
var int index;
var(KFHintManager) int priority;
var(KFHintManager) localized string title;
var(KFHintManager) int type;
};



Functions Detail

BeginState PostDisplay Source code

function BeginState ( ) )

BeginState PreHintDelay Source code

function BeginState ( ) )

BeginState WaitHintDone Source code

function BeginState ( ) )

CheckForHint Source code

function CheckForHint ( int hintType) )

CheckForHint PostDisplay Source code

function CheckForHint ( int hintType) )

CheckForHint PreHintDelay Source code

function CheckForHint ( int hintType) )

CheckForHint WaitHintDone Source code

function CheckForHint ( int hintType) )

DumpHints Source code

function DumpHints ( ) )

LoadHints Source code

function LoadHints ( ) )

NonStaticReset Source code

function NonStaticReset ( ) )

NotifyHintRenderingDone Source code

function NotifyHintRenderingDone ( ) )

NotifyHintRenderingDone WaitHintDone Source code

function NotifyHintRenderingDone ( ) )

PostBeginPlay Source code

function PostBeginPlay ( ) )

Reload Source code

function Reload ( ) )

StaticReset Source code

static function StaticReset ( ) )

StopHinting Source code

function StopHinting ( ) )

Timer Source code

simulated function Timer ( ) )

Timer PostDisplay Source code

function Timer ( ) )

Timer PreHintDelay Source code

function Timer ( ) )


Defaultproperties

defaultproperties
{
     PostHintDisplayDelay=1.000000
     SameHintTypePostDisplayDelay=2.000000
     Hints(0)=(Type=10,Delay=1,Title="Welcome!",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% key to reload a clip. Use %PrevWeapon% or %NextWeapon% to switch weapons.")
     Hints(1)=(Type=11,Delay=1,Title="Aiming and Reloading",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% to reload a clip.")
     Hints(3)=(Type=12,Delay=1,Title="Aiming and Reloading",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% to reload a clip.")
     Hints(4)=(Type=13,Delay=1,Title="Aiming and Reloading",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% to reload a clip. Use %AltFire% to switch between full and semi auto.")
     Hints(5)=(Type=14,Delay=1,Title="Aiming and Reloading",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% to reload.")
     Hints(6)=(Type=15,Delay=1,Title="Aiming and Reloading",Hint="Use %ToggleAiming% to aim better, %ReloadWeapon% to reload.")
     Hints(7)=(Type=16,Delay=1,Title="Aiming",Hint="Use %ToggleAiming% gives you a scope for long-distance shooting.")
     Hints(8)=(Type=17,Delay=1,Title="Firing",Hint="Hit %Fire% for one barrel, %AltFire% for the both.")
     Hints(9)=(Type=18,Delay=1,Title="Watch The Flames!",Hint="Flame-thrower - it burns! Just don't let burning creatures get too close or you'll burn too!")
     Hints(10)=(Type=19,Delay=1,Title="The LAW",Hint="If you've got far enough to be carrying this baby, you shouldn't need any more hints on weapons!")
     Hints(11)=(Type=20,Delay=1,Title="Knife",Hint="Switch to this weapon to run your fastest!")
     Hints(12)=(Type=21,Delay=1,Title="Machete",Hint="Like a knife. Just bigger and nastier.")
     Hints(13)=(Type=22,Delay=1,Title="Fire-axe",Hint="You need hints on what to do with THIS?!")
     Hints(14)=(Type=30,Delay=1,Title="Specimen Counter",Hint="Shows you how many of the blighters there are left to 'remove'. Or is that how many there are trying to 'remove' YOU?")
     Hints(15)=(Type=31,Title="Way to the Trader",Hint="Trader arrow and the red 'follow-me' shows you where the Trader's shop is and how far away - get there before the timer runs out!")
     Hints(16)=(Type=32,Title="Running",Hint="Hit %SwitchWeapon 1% or use %PrevWeapon% or %NextWeapon% to switch to the knife so you can run your fastest")
     Hints(17)=(Type=33,Title="Watch the time!",Hint="Clock indicates how long you have before the next wave of specimens comes for you - time to go shopping!")
     Hints(18)=(Type=40,Title="They are coming!!",Hint="You only have a few seconds left before the next wave arrives - think about where you're going to fight them!")
     Hints(19)=(Type=45,Title="Trader arrow",Hint="Shows you where the Trader will be AFTER the incoming wave.")
     Hints(20)=(Type=50,Title="Doors",Hint="If you want to block off a door, pull out your welder and use it! It will keep them at bay - for a while.")
     Hints(21)=(Type=51,Title="Healing",Hint="Use the med-syringe on yourself - %QuickHeal% for a quick boost!")
     Hints(22)=(Type=52,Title="At the shop",Hint="Press %Use% to start shopping for new kit")
     Hints(23)=(Type=53,Title="Healing",Hint="You must be near another player to heal them.|Press %Fire% to heal a team mate or %AltFire% to heal yourself")
     Hints(24)=(Type=54,Title="Welding",Hint="You must be near a weldable door to use the welder.")
     Hints(40)=(Type=60,Priority=20,Delay=1,Title="Grenades",Hint="Hit %ThrowNade% to toss a grenade out, if it is a target-rich environment!")
     Hints(41)=(Type=60,Priority=20,Delay=1,Title="Healing",Hint="Use the med-syringe on a friend - it works way better on them than it does in your own arm!")
     RandomHintTimerDelay=29.000000
}

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