I don't need to test my programs. I have an error-correcting modem.

UE3:UTMapInfo (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> MapInfo >> UTMapInfo
Package: 
UTGame
This class in other games:
UT3


Properties

Property group 'Map'

DefaultMapSize

Type: float

Holds the Size of the map when designed

Default value: 255.0

Property group 'Minimap'

MapCenter

Type: Object.Vector

Location which is used as center for minimap (onslaught)

MapExtent

Type: float

Radius of map (how far it extends from center) used by minimap

MapTexture

Type: Texture

reference to the texture to use for the HUD map

MapTextureYaw

Type: float

Allows for additional rotation on the texture to be applied

MapYaw

Type: int

Default yaw to apply to minimap

RotatingMiniMapRange

Type: float

range for rotating minimap

Default value: 12000.0

Property group 'UTMapInfo'

MapMusicInfo

Type: UTMapMusicInfo

This is stored in a content package and then pointed to by the map *

RecommendedPlayersMax

Type: int

recommended player count range - for display on the UI and the auto number of bots setting

Default value: 10

RecommendedPlayersMin

Type: int

recommended player count range - for display on the UI and the auto number of bots setting

Default value: 6

VisibilityModifier

Type: float

modifier to visibility/range calculations for AI (0 to 1)

Default value: 1.0

Internal variables

ActualMapCenter

Type: Object.Vector

Modifiers: transient


bMapUpToDate

Type: bool

Modifiers: transient

If true, this map and all of the associated data is up to date.

CenterPos

Type: Object.Vector

Modifiers: transient


ColorPercent

Type: float

Modifiers: transient


CurrentActor

Type: Actor

Modifiers: transient


CurrentMapRotYaw

Type: int

Current map yaw

GreenIconMaterialInstance

Type: MaterialInstanceConstant

Modifiers: transient


HUDIcons

Type: Material

Modifiers: transient

Holds a reference to the material to use for rendering hud icons

HUDIconsT

Type: Texture2D

Modifiers: transient


KeyVehicles

Type: UTVehicle

Array size: 2


MapMaterialInstance

Type: MaterialInstanceConstant

Modifiers: transient

Holds the MIC that will be used to scale/rotate the map Background

MapMaterialReference

Type: Material


Default value: Material'UI_HUD.Materials.MapRing_Mat'

MapRotX

Type: Object.Vector

Current map coordinate axes

Default value:

Member Value
X 1.0
Y 0.0
Z 0.0

MapRotY

Type: Object.Vector

Current map coordinate axes

Default value:

Member Value
X 0.0
Y 1.0
Z 0.0

MapScale

Type: float

Modifiers: transient


Objectives

Type: array<UTGameObjective>

Holds a list of objectives

PlayerIconCoords

Type: UIRoot.TextureCoordinates


Default value:

Member Value
U 657.0
UL 68.0
V 129.0
VL 106.0

RadarRange

Type: float

Modifiers: transient


RadarWidth

Type: float

Modifiers: transient


Sensors

Type: array<UTGameObjective>


UseableRadius

Type: float


Default value: 0.3921

WatchedActor

Type: Actor

Modifiers: transient

Holds the node that is currently being hovered over by the mouse

Instance functions

AddKeyVehicle

simulated function AddKeyVehicle (UTVehicle V)


ChangeMapRotation

function ChangeMapRotation (Object.Rotator NewMapRotation)


DrawMap

simulated function DrawMap (Canvas Canvas, UTPlayerController PlayerOwner, float XPos, float YPos, float Width, float Height, bool bFullDetail, float AspectRatio)

Draw a map on a canvas.

Parameters:

  • Canvas - The Canvas to draw on
  • PlayerOwner - Who is this map being shown to
  • XPos - YPos Where on the Canvas should it be drawn
  • Width - Height How big

DrawMapImage

function DrawMapImage (Canvas Canvas, float X, float Y, float W, float H, float PlayerYaw, float BkgImgScaling)

Draws the map image for the mini map

DrawRotatedMaterialTile

function DrawRotatedMaterialTile (Canvas Canvas, MaterialInstanceConstant M, Object.Vector MapLocation, int InYaw, float XWidth, float YWidth, float XStart, float YStart, float XLength, float YLength)


DrawRotatedTile

function DrawRotatedTile (Canvas Canvas, Texture2D T, Object.Vector MapLocation, int InYaw, float IconScale, UIRoot.TextureCoordinates TexCoords, Object.LinearColor DrawColor)


FindObjectives

function FindObjectives ()


GetActorHudLocation

function Object.Vector GetActorHudLocation (Actor CActor)


RenderAdditionalInformation

simulated function RenderAdditionalInformation (Canvas Canvas, UTPlayerController PlayerOwner)

Give objectives a chance to add information to minimap

RenderLinks

simulated function RenderLinks (Canvas Canvas, UTPlayerController PlayerOwner)

Tell all the nodes to render themselves

UpdateHUDLocation

function Object.Vector UpdateHUDLocation (Object.Vector InLocation)

Updates the Map Location for a given world location

UpdateNodes

simulated function UpdateNodes (UTPlayerController PlayerOwner)

Update Node positions and sensor array

VerifyMapExtent

simulated function VerifyMapExtent ()

Map Rendering