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

XGame.xVehicleCTFGame


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
class xVehicleCTFGame extends xCTFGame;

var(LoadingHints) private localized array<string> VCTFHints;

function bool AllowTransloc()
{
    return false;
}

static function bool NeverAllowTransloc()
{
    return true;
}

static function array<string> GetAllLoadHints(optional bool bThisClassOnly)
{
    local int i;
    local array<string> Hints;

    if ( !bThisClassOnly || default.VCTFHints.Length == 0 )
        Hints = Super.GetAllLoadHints();

    for ( i = 0; i < default.VCTFHints.Length; i++ )
        Hints[Hints.Length] = default.VCTFHints[i];

    return Hints;
}

defaultproperties
{
     VCTFHints(0)="You can't carry the flag in a Manta or a Raptor."
     bAllowTrans=Falsch
     bDefaultTranslocator=Falsch
     bAllowVehicles=Wahr
     MapListType="XInterface.MapListVehicleCTF"
     MapPrefix="VCTF"
     BeaconName="VCTF"
     GameName="Vehicle CTF"
     Description="Like traditional Capture The Flag, only adding vehicles into the mix! Only ground-based vehicles can carry the flag."
     ScreenShotName="UT2004Thumbnails.VCTFShots"
     DecoTextName="XGame.xVehicleCTFGame"
     Acronym="VCTF"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:44.000 - Creation time: Mo 16.4.2007 11:20:58.000 - Created with UnCodeX