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=False
     bDefaultTranslocator=False
     bAllowVehicles=True
     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: Mon 23/10/2006 20:35:10.000 - Creation time: Wed 7/2/2007 19:16:59.859 - Created with UnCodeX