Gah - a solution with more questions. – EntropicLqd
UE3:CoverLink (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> NavigationPoint >> CoverLink |
| This is an auto-generated page and may need human attention. Please remove this 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.
[edit] Constants
[edit] COVERLINK_ExposureDot
Value: 0.4f
[edit] COVERLINK_EdgeCheckDot
Value: 0.25f
[edit] COVERLINK_EdgeExposureDot
Value: 0.85f
[edit] COVERLINK_DangerDist
Value: 1536.f
[edit] Properties
[edit] Property group 'CoverLink'
[edit] bAutoAdjust
Type: bool
Allow auto-adjusting of the Slots orientation/position and covertype?
Default value: True
[edit] bCircular
Type: bool
Is this circular cover?
[edit] bClaimAllSlots
Type: bool
Claim all slots when someone claims one - used for cover that needs more than one slot, but slots overlap
[edit] bDisabled
Type: bool
Whether cover link is disabled
[edit] bLooped
Type: bool
Cover is looped, first slot and last slot should be reachable direclty
[edit] bPlayerOnly
Type: bool
Is this cover restricted to player use?
[edit] MaxFireLinkDist
Type: float
Max trace dist for fire links to check
Default value: 2048.0
[edit] PerchWallHeight
Type: float
Modifiers: const
Default height for Perch walls
Default value: 160.0
[edit] PerchWallNudge
Type: float
Modifiers: const
Allow a little error, we support walls slightly higher or lower.
Default value: 4.0
[edit] 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 |
|
[edit] Internal variables
[edit] AlignDist
Type: float
Modifiers: const
Distance used when aligning to nearby surfaces
Default value: 34.0
[edit] bAutoSort
Type: bool
Allow auto-sorting of the Slots array
Default value: True
[edit] bDynamicCover
Type: bool
This cover is dynamic
[edit] CircularOrigin
Type: Object.Vector
Modifiers: const
Origin for circular cover
[edit] CircularRadius
Type: float
Modifiers: const
Radius for circular cover
[edit] Claims
Type: array<Controller>
List of all players using this cover
[edit] CrouchLeanOffset
Type: Object.Vector
Modifiers: const
Default value:
| Member | Value |
|---|---|
| X | 0.0 |
| Y | 70.0 |
| Z | 19.0 |
[edit] MidHeight
Type: float
Modifiers: const
Min height for nearby geometry to categorize as mid-level cover
Default value: 70.0
[edit] NextCoverLink
Type: CoverLink
Modifiers: const
Used for the WorldInfo.CoverList linked list
[edit] PopupOffset
Type: Object.Vector
Modifiers: const
Default value:
| Member | Value |
|---|---|
| X | 0.0 |
| Y | 0.0 |
| Z | 70.0 |
[edit] SlipDist
Type: float
Modifiers: const
Forward distance for checking cover slip links
Default value: 152.0
[edit] StandHeight
Type: float
Modifiers: const
Min height for nearby geometry to categorize as standing cover
Default value: 130.0
[edit] StandingLeanOffset
Type: Object.Vector
Modifiers: const
Default value:
| Member | Value |
|---|---|
| X | 0.0 |
| Y | 78.0 |
| Z | 69.0 |
[edit] TurnDist
Type: float
Modifiers: const
Lateral distance for checking swat turn links
Default value: 512.0
[edit] Default values
| Property | Value |
|---|---|
| bBuildLongPaths | False |
| bSpecialMove | True |
| CollisionType | COLLIDE_CustomDefault |
| Components[4] | CoverMeshComponent'CoverMesh' |
[edit] Subobjects
[edit] Arrow
Class: Engine.ArrowComponent
Inherits from: NavigationPoint.Arrow
No new values.
[edit] CollisionCylinder
Class: Engine.CylinderComponent
Inherits from: NavigationPoint.CollisionCylinder
| Property | Value |
|---|---|
| CollisionHeight | 58.0 |
| CollisionRadius | 48.0 |
[edit] CoverMesh
Class: Engine.CoverMeshComponent
| Property | Value |
|---|---|
| bUsePrecomputedShadows | False |
[edit] Sprite
Class: Engine.SpriteComponent
Inherits from: NavigationPoint.Sprite
| Property | Value |
|---|---|
| Sprite | Texture2D'EngineResources.CoverNodeNone' |
[edit] Sprite2
Class: Engine.SpriteComponent
Inherits from: NavigationPoint.Sprite2
No new values.
[edit] Enums
[edit] 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
[edit] ECoverDirection
Represents a direction associated with cover, for use with movement/camera/etc.
- CD_Default
- CD_Left
- CD_Right
- CD_Up
[edit] 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
[edit] Structs
See CoverLink structs.
[edit] Functions
[edit] Native functions
[edit] AddCoverSlot
[edit] 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.
[edit] FindSlots
Finds the current set of slots the specified point is between. Returns true if a valid slot set was found.
[edit] GetFireLinkTo
Searches for a fire link to the specified cover/slot and returns the cover actions.
[edit] GetSlotActions
Returns a list of AI actions possible from this slot
[edit] GetSlotLocation
Returns the world location of the requested slot.
[edit] GetSlotMarker
Returns reference to the slot marker navigation point
[edit] GetSlotRotation
Returns the world rotation of the requested slot.
[edit] GetSlotViewPoint
Returns the world location of the default viewpoint for the specified slot.
[edit] HasFireLinkTo
Searches for a valid fire link to the specified cover/slot. NOTE: marked noexport until 'optional out int' is fixed in the exporter
[edit] IsEdgeSlot
Return true if the specified slot is an edge, signifying "End Of Cover".
[edit] IsEnabled
[edit] IsExposedTo
[edit] IsLeftEdgeSlot
[edit] IsRightEdgeSlot
[edit] IsValidClaim
Returns true if the specified controller is able to claim the slot.
[edit] Events
[edit] Claim
Asserts a claim on this link by the specified controller.
[edit] SetDisabled
Enable/disable the entire CoverLink.
[edit] SetSlotEnabled
Enable/disable a particular cover slot.
[edit] Tick
Overrides: Actor.Tick
[edit] UnClaim
Removes any claims the specified controller has on this link.
[edit] Other instance functions
[edit] AllowLeftTransition
[edit] AllowRightTransition
[edit] GetSwatTurnTarget
[edit] IsStationarySlot
Checks to see if the specified slot support stationary cover actions.
[edit] OnModifyCover
Handle modify action by enabling/disabling the list of slots, or auto adjusting.
[edit] OnToggle
Overrides: NavigationPoint.OnToggle
Overridden to disable all slots when toggled off.
