Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
//============================================================================= // AtlantisMutator.uc // Created By: Mike Baldwin // Created On: 10/17/01 // $Author: Mworch $ // $Date: 7/05/02 19:42 $ // $Revision: 3 $ //============================================================================= // Atlantis GameInfo Mutator to Atlantis specifics //============================================================================= class AtlantisMutator extends U2Mutator; // Filter actors based on their mission booleans and the last mission completed function bool CheckRelevance(Actor Other) { local int LMC; // LastMissionCompleted if( !Other.bDoMissionFiltering ) return true; // don't bother with unfiltered actors if( AtlantisGameInfo(Level.Game) != None ) // MW: Updated for final mission order (please check with me before making any changes here) { LMC = AtlantisGameInfo(Level.Game).LastMissionCompleted; if( LMC == 0 ) return Other.bPreMission01; // between Tutorial and Sanctuary if( LMC == 1 ) return Other.bPreMission02; // between Marsh and Hell if( LMC == 2 ) return Other.bPreMission03; // between Hell and Acheron if( LMC == 3 ) return Other.bPreMission04; // between Acheron and Waterfront if( LMC == 4 ) return Other.bPreMission05; // between Waterfront and Obolus if( LMC == 5 ) return Other.bPreMission06; // between Obolus and Janus if( LMC == 6 ) return Other.bPreMission07; // between Janus and Sulferon if( LMC == 7 ) return Other.bPreMission08; // between Sulferon and NaKoja if( LMC == 8 ) return Other.bPreMission09; // between NaKoja and Daedalus if( LMC == 9 ) return Other.bPreMission10; // between Daedalus and Drakk Planet if( LMC == 10 ) return Other.bPreMission11; // between Drakk Planet and Avalon if( LMC == 11 ) return Other.bPreMission12; // unused if( LMC == 12 ) return Other.bPreMission13; // between Sanctuary and Marsh if( LMC == 99 ) return Other.bPreMission00; // before Tutorial if( LMC == 83 ) return Other.bPostMission83; // Benny Hill if( LMC == 110276 ) return Other.bPostMission110276; // before Tutorial } return true; // unknown or unspecified mission id default} } defaultproperties { UseReticleOnEvents(0)="UseReticleText" UseReticleOnEvents(1)="UseReticleCorners" UseReticleOnEvents(2)="UseReticleTopBars" ProximityReticleOnEvents(0)="ProximityReticleCorners" ProximityReticleOnEvents(1)="ProximityReticleTopBars" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |