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

eq2.eq2HUDHelper

Extends
UIHelper

Core.Object
|   
+-- UI.UIHelper
   |   
   +-- eq2.eq2HUDHelper

Constants Summary
VersionText="RaptorRace 2004 v1.00"
Inherited Contants from Core.Object
DegreesToRadians, DegreesToRotationUnits, MaxFlt, MaxInt, MAXSEED, NoLabel, NoState, Pi, RadiansToDegrees, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Transactional, RF_Transient, RotationUnitsToDegrees

Variables Summary
Fontbigfont
Colorblack
Colorblue
array<eq2Raptor>enemyRaptors
Colorgreen
floatLastToggleEvent
LevelInfoLevel
array<structMOTDLine{var()StringText;var()ColorColour;}>MOTD
byteMOTDAlpha
intMOTDDisplayTime
vectoroffsetHarbinger
vectoroffsetJuggernaut
vectoroffsetRaptor
RaceMasterSwitchraceController
boolRearView
Colorred
boolregistered
floatRegisteredTime
Colorsemitrans
floatShowNameTagDist
Fontsmallfont
booltags
ColorteamColor[2]
Fonttinyfont
Colorwhite
Coloryellow
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[6], Outer

Enumerations Summary
Inherited Enumerations from Core.Object
EAlignment, EAxis, ECamOrientation, ESheerAxis

Structures Summary
Inherited Structures from Core.Object
Alignment, BoundingVolume, Box, Color, ComponentHandle, CompressedPosition, Coords, Dimension, Guid, InterpCurve, InterpCurvePoint, Matrix, ParticleHandle, Plane, Point, Quat, Range, RangeVector, Rectangle, Rotator, Scale, Vector

Functions Summary
functionbool CheckRegistered ()
event Constructed ()
function DrawMyHUD (Canvas C)
function DrawRearView (Canvas C, PlayerController PC)
function DrawScoreBoard (Canvas C, int top)
functionstring FormatTimeRemaining (PlayerController PC)
functionbool MapToHUD (out vector Result, rotator ViewRotation, float FOV, vector TargetDir, Canvas Canvas)
function Register (coerce LevelInfo theLevel, coerce RaceMasterSwitch rc)
functionstring StripColours (string S)
function ToggleRVM ()
function ToggleTags ()
functionvector WorldToScreen (Canvas C, vector WorldLoc)
Inherited Functions from UI.UIHelper
ConsoleCommand, GetClient, GetConsole, GetPlayerOwner, GetTimeSeconds, GetUIConsole
Inherited Functions from Core.Object
!, !=, $, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, ?, @, @=, Ablend, AblendR, Abs, Acos, AddTimer, AddTimerS, Asc, Asin, Atan, BeginState, Blend, BlendR, Caps, Chr, Clamp, ClassIsChildOf, ClockwiseFrom, ColorCode, Constructed, Cos, Cross, Delete, Disable, Dot, DynamicLoadObject, Enable, EndState, EnumStr, Exp, FClamp, FDecision, FileSize, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetPackageContents, GetPropertyText, GetRand, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, Left, Len, Lerp, LineLineIntersection, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, ProgressSeed, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatToRotator, Rand, RandomSpreadVector, RandRange, RemoveAllTimers, RemoveTimer, RemoveTimerS, ResetConfig, Right, RMax, RMin, RotateAngleAxis, RotRand, Round, RSize, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticSaveConfig, StrArray, StringToName, Tan, TimeRemaining, TimeRemainingS, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, Warn, ^, ^^, |, ||, ~, ~=


Constants Detail

VersionText Source code

const VersionText = "RaptorRace 2004 v1.00";


Variables Detail

bigfont Source code

var Font bigfont;

black Source code

var Color black;

blue Source code

var Color blue;

enemyRaptors Source code

var array<eq2Raptor> enemyRaptors;

green Source code

var Color green;

LastToggleEvent Source code

var float LastToggleEvent;

Level Source code

var LevelInfo Level;

MOTD Source code

var array<structMOTDLine{var()StringText;var()ColorColour;}> MOTD;

MOTDAlpha Source code

var byte MOTDAlpha;

MOTDDisplayTime Source code

var int MOTDDisplayTime;

offsetHarbinger Source code

var vector offsetHarbinger;

offsetJuggernaut Source code

var vector offsetJuggernaut;

offsetRaptor Source code

var vector offsetRaptor;

raceController Source code

var RaceMasterSwitch raceController;

RearView Source code

var travel bool RearView;

red Source code

var Color red;

registered Source code

var bool registered;

RegisteredTime Source code

var float RegisteredTime;

semitrans Source code

var Color semitrans;

ShowNameTagDist Source code

var float ShowNameTagDist;

smallfont Source code

var Font smallfont;

tags Source code

var bool tags;

teamColor[2] Source code

var Color teamColor[2];

tinyfont Source code

var Font tinyfont;

white Source code

var Color white;

yellow Source code

var Color yellow;


Functions Detail

CheckRegistered Source code

simulated function bool CheckRegistered ( )

Constructed Source code

simulated event Constructed ( )

DrawMyHUD Source code

simulated interface function DrawMyHUD ( Canvas C )

DrawRearView Source code

simulated function DrawRearView ( Canvas C, PlayerController PC )

DrawScoreBoard Source code

simulated function DrawScoreBoard ( Canvas C, int top )

FormatTimeRemaining Source code

simulated function string FormatTimeRemaining ( PlayerController PC )

MapToHUD Source code

simulated function bool MapToHUD ( out vector Result, rotator ViewRotation, float FOV, vector TargetDir, Canvas Canvas )
// * Converts a given directional vector to canvas coordinates. * // * X and Y values of the returned vector contain absolute coordinates. * // * The function returns, whether the target direction is visible for the player. * // * Created by Wormbo * //

Register Source code

simulated function Register ( coerce LevelInfo theLevel, coerce RaceMasterSwitch rc )

StripColours Source code

static function string StripColours ( string S )

ToggleRVM Source code

simulated function ToggleRVM ( )

ToggleTags Source code

simulated function ToggleTags ( )

WorldToScreen Source code

simulated function vector WorldToScreen ( Canvas C, vector WorldLoc )
// * Converts a given world location to canvas coordinates. * // * X and Y values of the returned vector contain absolute coordinates. * // * Created by Wormbo * //


Defaultproperties

defaultproperties
{
    offsetRaptor=(X=170.000000,Z=40.000000)
    offsetJuggernaut=(X=300.000000,Z=100.000000)
    offsetHarbinger=(X=400.000000,Z=100.000000)
    bigfont=Font'SubTFonts.EE16'
    SmallFont=Font'HUD_Fonts.EuroExt14'
    TinyFont=Font'Engine.SmallFont'
    White=(B=255,G=255,R=255,A=255)
    Black=(A=255)
    Red=(R=255,A=255)
    Green=(G=255,A=255)
    Blue=(B=255,A=255)
    Yellow=(G=255,R=255,A=255)
    semitrans=(B=255,G=255,R=255,A=160)
    TeamColor(0)=(R=255,A=255)
    TeamColor(1)=(B=255,A=255)
    tags=True
    ShowNameTagDist=7000.000000
     MOTD(0)=(Text="Welcome to BSE RaptorRace 2004",Colour=(B=255,G=255,R=255))
     MOTD(1)=(Text="www.teambse.co.uk",Colour=(B=150,G=150,R=150))
     MOTD(3)=(Text="Toggle a ready-switch to green then enter a vehicle",Colour=(G=255))
     MOTD(4)=(Text="to take part in the race.",Colour=(G=255))
     MOTD(5)=(Text="The race will start when both teams are ready.",Colour=(G=255))
     MOTD(7)=(Text="All spectators welcome.",Colour=(G=255))
    MOTDDisplayTime=18
    MOTDAlpha=255
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Tue 27/4/2010 03:12:34.838 - Created with UnCodeX