Mostly Harmless
UE3:CoverLink (UT3)
Object >> Actor >> NavigationPoint >> CoverLink |
Contents
- 1 Constants
- 2 Properties
- 3 Enums
- 4 Structs
- 5 Functions
- 5.1 Native functions
- 5.1.1 AddCoverSlot
- 5.1.2 AutoAdjustSlot
- 5.1.3 FindSlots
- 5.1.4 GetFireLinkTo
- 5.1.5 GetSlotActions
- 5.1.6 GetSlotLocation
- 5.1.7 GetSlotMarker
- 5.1.8 GetSlotRotation
- 5.1.9 GetSlotViewPoint
- 5.1.10 HasFireLinkTo
- 5.1.11 IsEdgeSlot
- 5.1.12 IsEnabled
- 5.1.13 IsExposedTo
- 5.1.14 IsLeftEdgeSlot
- 5.1.15 IsRightEdgeSlot
- 5.1.16 IsValidClaim
- 5.2 Events
- 5.3 Other instance functions
- 5.1 Native functions
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Constants
COVERLINK_ExposureDot
Value: 0.4f
COVERLINK_EdgeCheckDot
Value: 0.25f
COVERLINK_EdgeExposureDot
Value: 0.85f
COVERLINK_DangerDist
Value: 1536.f
Properties
Property group 'CoverLink'
bAutoAdjust
Type: bool
Allow auto-adjusting of the Slots orientation/position and covertype?
Default value: True
bCircular
Type: bool
Is this circular cover?
bClaimAllSlots
Type: bool
Claim all slots when someone claims one - used for cover that needs more than one slot, but slots overlap
bDisabled
Type: bool
Whether cover link is disabled
bLooped
Type: bool
Cover is looped, first slot and last slot should be reachable direclty
bPlayerOnly
Type: bool
Is this cover restricted to player use?
MaxFireLinkDist
Type: float
Max trace dist for fire links to check
Default value: 2048.0
PerchWallHeight
Type: float
Modifiers: const
Default height for Perch walls
Default value: 160.0
PerchWallNudge
Type: float
Modifiers: const
Allow a little error, we support walls slightly higher or lower.
Default value: 4.0
Slots
Modifiers: editinline
All slots linked to this node
Default value:
Member | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
bAllowCoverSlip | True | ||||||||
bAllowMantle | True | ||||||||
bAllowPopup | True | ||||||||
bAllowSwatTurn | True | ||||||||
bCanCoverSlip_Left | True | ||||||||
bCanCoverSlip_Right | True | ||||||||
bCanMantle | True | ||||||||
bCanSwatTurn_Left | True | ||||||||
bCanSwatTurn_Right | True | ||||||||
bEnabled | True | ||||||||
LeanTraceDist | 64.0 | ||||||||
LocationOffset |
|
Internal variables
AlignDist
Type: float
Modifiers: const
Distance used when aligning to nearby surfaces
Default value: 34.0
bAutoSort
Type: bool
Allow auto-sorting of the Slots array
Default value: True
bDynamicCover
Type: bool
This cover is dynamic
CircularOrigin
Type: Object.Vector
Modifiers: const
Origin for circular cover
CircularRadius
Type: float
Modifiers: const
Radius for circular cover
Claims
Type: array<Controller>
List of all players using this cover
CrouchLeanOffset
Type: Object.Vector
Modifiers: const
Default value:
Member | Value |
---|---|
X | 0.0 |
Y | 70.0 |
Z | 19.0 |
MidHeight
Type: float
Modifiers: const
Min height for nearby geometry to categorize as mid-level cover
Default value: 70.0
NextCoverLink
Type: CoverLink
Modifiers: const
Used for the WorldInfo.CoverList linked list
PopupOffset
Type: Object.Vector
Modifiers: const
Default value:
Member | Value |
---|---|
X | 0.0 |
Y | 0.0 |
Z | 70.0 |
SlipDist
Type: float
Modifiers: const
Forward distance for checking cover slip links
Default value: 152.0
StandHeight
Type: float
Modifiers: const
Min height for nearby geometry to categorize as standing cover
Default value: 130.0
StandingLeanOffset
Type: Object.Vector
Modifiers: const
Default value:
Member | Value |
---|---|
X | 0.0 |
Y | 78.0 |
Z | 69.0 |
TurnDist
Type: float
Modifiers: const
Lateral distance for checking swat turn links
Default value: 512.0
Default values
Property | Value |
---|---|
bBuildLongPaths | False |
bSpecialMove | True |
CollisionType | COLLIDE_CustomDefault |
Components[4] | CoverMeshComponent'CoverMesh' |
Subobjects
Arrow
Class: Engine.ArrowComponent
Inherits from: NavigationPoint.Arrow
No new values.
CollisionCylinder
Class: Engine.CylinderComponent
Inherits from: NavigationPoint.CollisionCylinder
Property | Value |
---|---|
CollisionHeight | 58.0 |
CollisionRadius | 48.0 |
CoverMesh
Class: Engine.CoverMeshComponent
Property | Value |
---|---|
bUsePrecomputedShadows | False |
Sprite
Class: Engine.SpriteComponent
Inherits from: NavigationPoint.Sprite
Property | Value |
---|---|
Sprite | Texture2D'EngineResources.CoverNodeNone' |
Sprite2
Class: Engine.SpriteComponent
Inherits from: NavigationPoint.Sprite2
No new values.
Enums
ECoverAction
Represents the current action this pawn is performing at the current cover node.
- CA_Default
- Default no action
- CA_BlindLeft
- Blindfiring to the left
- CA_BlindRight
- Blindfiring to the right
- CA_LeanLeft
- Leaning to the left
- CA_LeanRight
- Leaning to the right
- CA_StepLeft
- Stepping out to the left
- CA_StepRight
- Stepping out to the right
- CA_PopUp
- Pop up, out of cover
- CA_BlindUp
- Blind fire up
- CA_PeekLeft
- AI Peek from cover options
- CA_PeekRight
- CA_PeekUp
ECoverDirection
Represents a direction associated with cover, for use with movement/camera/etc.
- CD_Default
- CD_Left
- CD_Right
- CD_Up
ECoverType
Represents what type of cover this node provides.
- CT_None
- Default, no cover
- CT_Standing
- Full standing cover
- CT_MidLevel
- Mid-level crouch cover, stand to fire
Structs
See CoverLink structs.
Functions
Native functions
AddCoverSlot
AutoAdjustSlot
Auto-adjusts the slot orientation/location to the nearest geometry, as well as determine leans and cover type. Returns TRUE if the cover type changed.
FindSlots
Finds the current set of slots the specified point is between. Returns true if a valid slot set was found.
GetFireLinkTo
Searches for a fire link to the specified cover/slot and returns the cover actions.
GetSlotActions
Returns a list of AI actions possible from this slot
GetSlotLocation
Returns the world location of the requested slot.
GetSlotMarker
Returns reference to the slot marker navigation point
GetSlotRotation
Returns the world rotation of the requested slot.
GetSlotViewPoint
Returns the world location of the default viewpoint for the specified slot.
HasFireLinkTo
Searches for a valid fire link to the specified cover/slot. NOTE: marked noexport until 'optional out int' is fixed in the exporter
IsEdgeSlot
Return true if the specified slot is an edge, signifying "End Of Cover".
IsEnabled
IsExposedTo
IsLeftEdgeSlot
IsRightEdgeSlot
IsValidClaim
Returns true if the specified controller is able to claim the slot.
Events
Claim
Asserts a claim on this link by the specified controller.
SetDisabled
Enable/disable the entire CoverLink.
SetSlotEnabled
Enable/disable a particular cover slot.
Tick
Overrides: Actor.Tick
UnClaim
Removes any claims the specified controller has on this link.
Other instance functions
AllowLeftTransition
AllowRightTransition
GetSwatTurnTarget
IsStationarySlot
Checks to see if the specified slot support stationary cover actions.
OnModifyCover
Handle modify action by enabling/disabling the list of slots, or auto adjusting.
OnToggle
Overrides: NavigationPoint.OnToggle
Overridden to disable all slots when toggled off.