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

XGame.BloodRites

Extends
ChallengeGame

Core.Object
|   
+-- XGame.ChallengeGame
   |   
   +-- XGame.BloodRites

Constants Summary
Inherited Contants from Core.Object
MaxInt, Pi, RF_NotForClient, RF_NotForEdit, RF_NotForServer, RF_Public, RF_Standalone, RF_Transactional, RF_Transient

Variables Summary
floatChalFeeMultiply
stringTradeMenu
stringUntradeMenu
Inherited Variables from XGame.ChallengeGame
ChallengeDescription, ChallengeMenu, ChallengeName, msgFor, msgGotChallenged, msgWeChallenged
Inherited Variables from Core.Object
Class, Name, ObjectFlags, ObjectInternal[7], Outer

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, ECamOrientation, EDetailMode, EDrawPivot, ESheerAxis

Structures Summary
Inherited Structures from XGame.ChallengeGame
TriString
Inherited Structures from Core.Object
BoundingVolume, Box, Color, CompressedPosition, Coords, FloatBox, Guid, IntBox, InterpCurve, InterpCurvePoint, Matrix, Plane, Quat, Range, RangeVector, Rotator, Scale, TMultiMap, Vector

Functions Summary
function AddHistoryRecord (UT2K4GameProfile GP, int offset, GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI))
functionbool canChallenge (optional UT2K4GameProfile GP))
function HandleSpecialEvent (UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages))
functionbool payTeamMates (UT2K4GameProfile GP))
function PostRegisterGame (UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI))
function StartChallenge (UT2K4GameProfile GP, LevelInfo myLevel))
Inherited Functions from XGame.ChallengeGame
AddHistoryRecord, canChallenge, HandleRequirements, HandleSpecialEvent, injureTeamMate, payTeamMates, PostRegisterGame, PreRegisterGame, StartChallenge
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, AllObjects, Asc, Asin, Atan, BeginState, Caps, Ceil, Chr, Clamp, ClassIsChildOf, ClearConfig, ClockwiseFrom, Cos, Created, Cross, Disable, Divide, Dot, DynamicLoadObject, EatStr, Enable, EndState, Eval, Exp, FClamp, FindObject, FMax, FMin, FRand, GetAxes, GetEnum, GetItemName, GetPerObjectNames, GetPropertyText, GetReferencers, GetStateName, GetUnAxes, GotoState, InStr, InterpCurveEval, InterpCurveGetInputDomain, InterpCurveGetOutputRange, Invert, IsA, IsInState, IsOnConsole, IsSoaking, Left, Len, Lerp, Localize, Locs, Log, Loge, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, OrthoRotation, PlatformIs64Bit, PlatformIsMacOS, PlatformIsUnix, PlatformIsWindows, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, Repl, ReplaceText, ResetConfig, Right, RotRand, Round, SaveConfig, SetPropertyText, Sin, Smerp, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, StopWatch, StrCmp, Tan, VRand, VSize, Warn, ^, ^^, |, ||, ~, ~=


Variables Detail

ChalFeeMultiply Source code

var float ChalFeeMultiply;
entry fee multiplicator of the bot's price

TradeMenu Source code

var string TradeMenu;
The trade menu

UntradeMenu Source code

var string UntradeMenu;
menu to display when we lost out team mate


Functions Detail

AddHistoryRecord Source code

static function AddHistoryRecord ( UT2K4GameProfile GP, int offset, GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI) )

canChallenge Source code

static function bool canChallenge ( optional UT2K4GameProfile GP) )

HandleSpecialEvent Source code

static function HandleSpecialEvent ( UT2K4GameProfile GP, array<string> SpecialEvent, out array<TriString> GUIPages) )
We have two special events: TRADE and UNTRADE Both have the arguments In case of TRADE you get a player to add to your team, unless your team is already full, then you have to remove one firts. UNTRADE will just give you the message that a team mate has been removed from your team.

payTeamMates Source code

static function bool payTeamMates ( UT2K4GameProfile GP) )

PostRegisterGame Source code

static function PostRegisterGame ( UT2K4GameProfile GP, GameInfo currentGame, PlayerReplicationInfo PRI) )
when we where challenged the SpecialEvent logic goes the other way around

StartChallenge Source code

static function StartChallenge ( UT2K4GameProfile GP, LevelInfo myLevel) )


Defaultproperties

defaultproperties
{
	ChallengeName="Bloodrites"
	ChallengeDescription="Challenge an enemy team for one for their team mates."
	ChallengeMenu="GUI2K4.UT2K4SP_CGBloodRites"
	TradeMenu="GUI2K4.UT2K4SP_CGBRTrade"
	UntradeMenu="GUI2K4.UT2K4SP_CGBRUntrade"
	ChalFeeMultiply=3
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:00.838 - Created with UnCodeX