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

Betrayal.BetrayalUnlaggedCollision

Extends
Actor
Modifiers
notplaceable

BetrayalUnlaggedCollision Creation date: 2011-03-09 23:35 Last change: $Id$ Copyright © 2011, Wormbo Website: http://www.koehler-homepage.de/Wormbo/ Feel free to reuse this code. Send me a note if you found it helpful or want to report bugs/provide improvements.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Betrayal.BetrayalUnlaggedCollision

Constants Summary
Inherited Contants from Engine.Actor
MAXSTEPHEIGHT, MINFLOORZ
Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient

Variables Summary
boolbUnlagged
BetrayalGameGame
BetrayalUnlaggedCollisionNextCollision
BetrayalUnlaggedCollisionPrevCollision
array<TUnlagData>UnlagData
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, bBadStateCode, bBlockActors, bBlockKarma, bBlockNonZeroExtentTraces, bBlockPlayers, bBlockProjectiles, bBlocksTeleport, bBlockZeroExtentTraces, bBounce, 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, 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, InitialState, Instigator, Inventory, JoinedTag, KParams, KStepTag, LastRenderTime, 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
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[7], Outer

Enumerations Summary
Inherited Enumerations from Engine.Actor
EDoubleClickDir, EDrawType, EFilterState, EFlagState, EForceType, eKillZType, ELightEffect, ELightType, EMusicTransition, ENetRole, EPhysics, ERenderStyle, ESoundOcclusion, ESoundSlot, ESurfaceTypes, ETravelType, EUV2Mode
Inherited Enumerations from Core.Object
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis

Structures Summary
TUnlagData
TimeSeconds, Location, CollisionRadius, CollisionHeight, bJustTeleported
Inherited Structures from Engine.Actor
ActorRenderDataPtr, AnimRep, BatchReference, FireProperties, KRBVec, KRigidBodyState, KSimParams, LightRenderDataPtr, PointRegion, ProjectorRenderInfoPtr, StaticMeshProjectorRenderInfoPtr
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Functions Summary
function Destroyed ()))
function DisableUnlag ()))
function EnableUnlag (float PingTime, vector ShotStart, vector ShotDir))
function PostBeginPlay ()))
function TakeDamage (int Damage, Pawn EventInstigator, vector HitLocation, vector Momentum, class<DamageType> DamageType))
function UpdateUnlagLocation ()))
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, 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, GetAnimParams, GetBoneCoords, GetBoneRotation, GetCacheEntry, GetClosestBone, GetCollisionExtent, GetDebugName, GetHumanReadableName, GetLocalString, GetMapName, GetMeshName, GetNextInt, GetNextIntDesc, GetNextSkin, GetNotifyChannel, GetRenderBoundingSphere, GetRootLocation, GetRootLocationDelta, GetRootRotation, GetRootRotationDelta, GetSoundDuration, GetURLMap, GetUrlOption, HasAnim, HasLIPSincAnim, HealDamage, 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, 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, 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, UpdatePrecacheMaterials, UpdatePrecacheStaticMeshes, UpdateURL, UsedBy, VisibleActors, VisibleCollidingActors, ZoneChange
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllObjects, Asc, Asin, Atan, BeginState, Caps, Ceil, Chr, Clamp, ClassIsChildOf, ClearConfig, ClockwiseFrom, Cos, Created, Cross, Disable, Divide, Dot, DynamicLoadObject, EatStr, Enable, EndState, Eval, Exp, FClamp, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetItemName, GetPerObjectNames, GetPropertyText, GetReferencers, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, IsOnConsole, IsSoaking, Left, Len, Lerp, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, PlatformIs64Bit, PlatformIsMacOS, PlatformIsUnix, PlatformIsWindows, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, Repl, ReplaceText, ResetConfig, Right, RotRand, Round, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, StopWatch, StrCmp, Tan, VRand, VSize, Warn, ^, ^^, |, ||, ~, ~=


Variables Detail

bUnlagged Source code

var bool bUnlagged;

Game Source code

var BetrayalGame Game;

NextCollision Source code

var BetrayalUnlaggedCollision NextCollision;

PrevCollision Source code

var BetrayalUnlaggedCollision PrevCollision;

UnlagData Source code

var private array<TUnlagData> UnlagData;


Structures Detail

TUnlagData Source code

struct TUnlagData
{
var bool bJustTeleported;
var float CollisionHeight;
var float CollisionRadius;
var vector Location;
var float TimeSeconds;
};



Functions Detail

Destroyed Source code

function Destroyed ( ) )

DisableUnlag Source code

function DisableUnlag ( ) )
Disable the unlagged collision cylinder for the UnlaggedPawn.

EnableUnlag Source code

function EnableUnlag ( float PingTime, vector ShotStart, vector ShotDir) )
Spawn and enable the unlagged collision cylinder.

PostBeginPlay Source code

function PostBeginPlay ( ) )
Associate with the owner pawn.

TakeDamage Source code

function TakeDamage ( int Damage, Pawn EventInstigator, vector HitLocation, vector Momentum, class<DamageType> DamageType) )
Delegate damage to unlagged pawn.

UpdateUnlagLocation Source code

function UpdateUnlagLocation ( ) )
Remember the last ticks' locations for serverside ping compensation.


Defaultproperties

defaultproperties
{
	bHidden         = True
	RemoteRole      = ROLE_None
	bCollideWorld   = False
	bCollideActors  = False
	bBlockActors    = False
	bProjTarget     = True
}



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:00.632 - Created with UnCodeX