Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
JBAddonRadar2k4 Creation date: 2010-12-26 18:47 Last change: $Id: JBAddonRadar2k4.uc,v 1.2 2011-01-06 16:45:32 wormbo Exp $ Copyright © 2010, Wormbo
Core.Object | +-- Engine.Actor | +-- Engine.Info | +-- Engine.Mutator | +-- Jailbreak.JBAddon | +-- JBAddonRadar2k4.JBAddonRadar2k4
Variables Summary | |
---|---|
bool | bMapDisabled |
Material | BorderMat |
float | ColorPercent |
JBGameReplicationInfo | JBGRI |
PlayerController | LocalPlayer |
JBTagPlayer | LocalTagPlayer |
JBPanorama | Panorama |
FinalBlend | PlayerIcon |
JBInteractionRadar | RadarInteraction |
JBAddonRadar2k4 | |
string | Build |
Inherited Variables from Jailbreak.JBAddon |
---|
bIsOverlay, JBGameReplicationInfo, PlayerControllerLocal |
Inherited Variables from Engine.Mutator |
---|
bAddToServerPackages, bUserAdded, ConfigMenuClassName, DefaultWeapon, DefaultWeaponName, Description, FriendlyName, GroupName, IconMaterialName, NextMutator |
Functions Summary | ||
---|---|---|
vector | CalcLocation (Canvas C, vector WorldLocation, float CenterPosX, float CenterPosY, float RadarWidth)) | |
DrawMapImage (Canvas C, Material Image, float MapX, float MapY, float RadarWidth, float Alpha)) | ||
DrawObjective (Canvas C, JBTagObjective ObjectiveTag, float IconScaling, float CenterPosX, float CenterPosY, float RadarWidth)) | ||
DrawPlayer (Canvas C, JBTagPlayer PlayerTag, float IconScaling, float CenterPosX, float CenterPosY, float RadarWidth)) | ||
DrawRadarMap (Canvas C, float CenterPosX, float CenterPosY, float RadarWidth)) | ||
RenderOverlays (Canvas C)) | ||
Tick (float deltaTime)) |
Inherited Functions from Jailbreak.JBAddon |
---|
Destroyed, GetServerDetails, InitAddon, MutatorIsAllowed, NotifyLevelChange, PlayInfoGroup, PostNetBeginPlay, RenderOverlays |
Variables Detail |
---|
Functions Detail |
---|
Wrapper for JBPanorama.CalcLocation() that converts scoreboard minimap coordinates to HUD radar map coordinates.
Draws the background panorama image.
Draws a lock icon for the specified objective.
Draws a dot icon for the specified player.
Draws the radar map, consisting of a black background, the panorama image, switch and local player locationa and a border.
Positions and draws the HUD minimap, but only if the map has a panorama setup and the player didn't turn it off.
Ensure the Panorama actor, the JBGRI and the interaction for capturing the ToggleRadarMap command are registered. Update the color pulse percentage.
Defaultproperties |
---|
defaultproperties { FriendlyName = "Radar" Description = "Adds the minimap from the scoreboard to the HUD as Onslaught-style radar map." Build = "%%%%-%%-%% %%:%%" bAddToServerPackages = True bIsOverlay = True BorderMat = Material'ONSInterface-TX.MapBorderTex' PlayerIcon = FinalBlend'CurrentPlayerIconFinal' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |