Example #1
0
 public GameOptionsMapOverridesHalo4(GameEngineBaseVariantHalo4 variant) : base(variant)
 {
     EquipmentSet = TypeExtensionsBlam.kDefaultOption;
     Powerups     = new GameOptionsPowerup[4];
     for (int x = 0; x < Powerups.Length; x++)
     {
         Powerups[x] = new GameOptionsPowerup();
     }
 }
        public GameEngineMegaloVariantHalo4(Blam.RuntimeData.Variants.GameEngineVariant variantManager) : base(variantManager,
                                                                                                               kStringTableInfo,
                                                                                                               kNameStringTableInfo, kDescriptionStringTableInfo, kCategoryStringTableInfo)
        {
            var h4_build = variantManager.GameBuild;

            mBaseVariant = new GameEngineBaseVariantHalo4(variantManager);

            IntroDescriptionString = new LocaleStringTable(kDescriptionStringTableInfo, h4_build);

            Loadouts = new List <MegaloVariantLoadout>(MegaloDatabase.Limits.Loadouts.MaxCount);

            WeaponTuning = new WeaponTuningData();
        }