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

U2.U2GameReplicationInfo


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
//=============================================================================
// U2GameReplicationInfo.uc
// $Author: Mfox $
// $Date: 9/13/02 11:01a $
// $Revision: 5 $
//=============================================================================
class U2GameReplicationInfo extends GameReplicationInfo;


var localized string HumanString;
var localized string SupportString;
var localized string SupportStringTrailer;
var localized string DefendString;
var localized string AttackString;
var localized string HoldString;
var localized string FreelanceString;

var protected U2TeamInfo Teams[4];		// set by U2TeamGame, used client-side for team score boards
var int GoalScore;						// set by U2DeathMatch, used client-side for score boards
var int TimeLimit;						// set by U2DeathMatch, used client-side for score boards

event Replication()
{
	Super.Replication();
	DOREP('Teams');
	DOREP('TimeLimit');
	DOREP('GoalScore');
}	


function SetTeam( int Index, U2TeamInfo Team )
{
	Teams[ Index ] = Team;
}

/* !!mdf-tbd: not being used currently
simulated function string GetOrderString( PlayerReplicationInfo PRI )
{
	local U2BotReplicationInfo BRI;
	local string strResult;

	BRI = U2BotReplicationInfo(PRI);
	if( BRI == None )
	{
		strResult =  HumanString;
	}
	else 
	{
		switch( BRI.RealOrders )
		{
		case U2NPCController.OrdersFollow:
			strResult = SupportString@BRI.RealOrderGiverPRI.PlayerName@SupportStringTrailer;
			break;
		
		case U2NPCController.OrdersDefend:
			if( BRI.RealOrdersObject != None )
				strResult = DefendString@BRI.RealOrdersObject.GetHumanName();
			else
				strResult = DefendString;
			break;

		case U2NPCController.OrdersAttack:
			if( BRI.RealOrdersObject != None )
				strResult = AttackString@BRI.RealOrdersObject.GetHumanName();
			else
				strResult = AttackString;
			break;

		case U2NPCController.OrdersHold:
			strResult = HoldString;
			break;

		default:
			strResult = FreelanceString;
			break;
		}
	}

	return strResult;
}
*/

defaultproperties
{
	HumanString="*Human*"
	SupportString="supporting"
	DefendString="defending"
	AttackString="attacking"
	HoldString="holding"
	FreelanceString="freelancing"
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleTopBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleTopBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:42.000 - Creation time: sk 3-1-2016 10:48:42.701 - Created with UnCodeX