public RelocationLauncher(int FactionNumber)
     : base(FactionNumber)
 {
     ShieldToughness    = 10;
     HullToughness      = 15;
     MaxBuildTime       = 5000;
     Resistence         = AttackType.None;
     Weakness           = AttackType.None;
     ShieldColor        = ShieldInstancer.WhiteShield;
     RelocationFireMode = new PlayerRelocationFireMode();
     RotationSpeed      = 0.5f;
 }
示例#2
0
        public ScatterTurretBomb()
        {
            BulletCanBounce = false;
            ImpactString    = "ScatterTurretImpact";
            ImpactVolume    = 0.75f;
            ImpactDistance  = 1000;

            if (scatterTurretFireMode == null)
            {
                scatterTurretFireMode = new ScatterBombFireMode();
            }
        }
示例#3
0
        public override void Create()
        {
            CollisionSound = "DevourerImpact";
            base.Create();
            Size.set(new Vector2(40));

            Weakness    = AttackType.Blue;
            Resistence  = AttackType.Green;
            ShieldColor = new Color(0.5f, 1, 0.5f);

            fireMode = new DevourerFireMode();
            fireMode.SetParent(this);
        }
示例#4
0
 public EmpLauncher(int FactionNumber)
     : base(FactionNumber)
 {
     ShieldToughness = 10;
     HullToughness   = 15;
     MaxBuildTime    = 5000;
     Resistence      = AttackType.None;
     Weakness        = AttackType.None;
     ShieldColor     = ShieldInstancer.WhiteShield;
     EmpFireMode     = new StingRayEmpFireMode();
     EmpFireMode.SetLevel(3.5f);
     RotationSpeed = 0.5f;
 }
示例#5
0
        public Pitbull(int FactionNumber)
            : base(FactionNumber)
        {
            DeathSound      = "EmpImpact";
            DeathVolume     = 1;
            DeathDistance   = 1400;
            DeathExponenent = 2f;

            CollisionSound = "PitbullImpact";
            Add(UnitTag.Light);
            Add(UnitTag.Human);
            fireMode = new PitbullFireMode();
            fireMode.SetParent(this);
        }
示例#6
0
        public Immortal(int FactionNumber)
            : base(FactionNumber)
        {
            DeathSound      = "HeavyMonsterExplode";
            DeathVolume     = 1;
            DeathDistance   = 1200;
            DeathExponenent = 1.5f;

            CollisionSound        = "CrusherImpact";
            HullToughness         = 0.5f;
            ShieldToughness       = 0.5f;
            MaxEngagementDistance = 500;
            MinEngagementDistance = 200;
            Acceleration          = 0.15f;
            Add(new ImmortalGun());
            Add(UnitTag.Heavy);
            Mass = 5f;

            fireMode = new ImmortalDeathFireMode();
            fireMode.SetParent(this);
            ScoreToGive = 20;
        }
        public Stingray(int FactionNumber)
            : base(FactionNumber)
        {
            DeathSound      = "HeavyHumanExplode";
            DeathVolume     = 1;
            DeathDistance   = 1200;
            DeathExponenent = 1.5f;

            CollisionSound        = "HeavyImpact";
            HullToughness         = 75f;
            ShieldToughness       = 25f;
            MaxEngagementDistance = 800;
            MinEngagementDistance = 150;
            Acceleration          = 0.05f;
            Add(new StingRayGun());
            Add(UnitTag.Heavy);
            Add(UnitTag.Human);

            stingRayEmpFireMode = new StingRayEmpFireMode();
            stingRayEmpFireMode.SetParent(this);

            Mass        = 10;
            ScoreToGive = 50;
        }