I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UTGreedGame (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Info >> GameInfo >> UTGame >> UTDeathmatch >> UTTeamGame >> UTGreedGame
Package: 
UTGame
Direct subclass:
UTGreedGame_Content

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties

BlueFlagType

Type: class<UTCTFFlag>


CoinReturnSound

Type: SoundCue


FlagBases

Type: UTCTFBase

Array size: 2

Flag bases at which to UTGreedFlags are spawned

HoarderMessageThreshold

Type: int

Number of skulls needed for a "Hoarder" message

Default value: 20

RedFlagType

Type: class<UTCTFFlag>


Default values

Property Value
bScoreDeaths False
bScoreTeamKills False
bShouldPostRenderEnemyPawns True
bSpawnInTeamArea True
bUndrivenVehicleDamage True
DeathMessageClass Class'UTGame.UTTeamDeathMessage'
Description "Return the enemy's skulls to their base."
EndOfMatchRulesTemplateStr_Scoring "First team to score `g skulls wins"
EndOfMatchRulesTemplateStr_ScoringSingle "First team to capture a skull wins"
EndOfMatchRulesTemplateStr_Time "Team with most captured skulls in `t mins. wins"
GameName "Greed"
MapPrefixes[0] "CTF"
MapPrefixes[1] "VCTF"
OnlineGameSettingsClass Class'UTGame.UTGameSettingsGreed'
OnlineStatsWriteClass Class'UTGame.UTLeaderboardWriteGreed'

Functions

Static functions

AllowMutator

static function bool AllowMutator (string MutatorClassName)

Overrides: UTGame.AllowMutator


Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: UTGame.PostBeginPlay


Other instance functions

AddMutator

function AddMutator (string mutname, optional bool bUserAdded)

Overrides: UTGame.AddMutator


AnnounceGreedScore

function AnnounceGreedScore (int ScoringTeam, int ScoreBump)

Announce a greed score - requires different rules since can increment by more than one point at a time

DropCoins

function DropCoins (Controller CoinOwner, int CoinValue)

Clears the coin count of CoinOwner, and spawns

CoinValue coins at CoinOwner's location

NearGoal

function bool NearGoal (Controller C)

Overrides: UTTeamGame.NearGoal

returns whether the given game object-holding player was near an objective the game object can be scored at

ScoreCoinReturn

function bool ScoreCoinReturn (Controller Scorer)


TeleportToBase

function TeleportToBase (UTPawn Traveler)

Teleports a pawn to a spawn location at it's team base