Esempio n. 1
0
            public AlphaClassStarWing() : base()
            {
                Type = "Alpha-class Star Wing";
                IconicPilots.Add(Faction.Imperial, typeof(MajorVynder));

                ManeuversImageUrl = "https://i.imgur.com/aiSqTZA.jpg";

                Firepower  = 2;
                Agility    = 2;
                MaxHull    = 4;
                MaxShields = 3;

                PrintedUpgradeIcons.Add(Upgrade.UpgradeType.Torpedo);
                PrintedUpgradeIcons.Add(Upgrade.UpgradeType.Missile);

                PrintedActions.Add(new TargetLockAction());
                PrintedActions.Add(new SlamAction());
                PrintedActions.Add(new ReloadAction());

                AssignTemporaryManeuvers();
                HotacManeuverTable = new AI.AlphaClassStarWingTable();

                factions.Add(Faction.Imperial);
                faction = Faction.Imperial;

                SkinName = "Gray";

                SoundShotsPath = "Slave1-Fire";
                ShotsCount     = 2;

                for (int i = 1; i < 3; i++)
                {
                    SoundFlyPaths.Add("Slave1-Fly" + i);
                }
            }
Esempio n. 2
0
            public AlphaClassStarWing() : base()
            {
                Type = "Alpha-class Star Wing";

                //TODO: Use table instead of dial
                ManeuversImageUrl = "https://images-cdn.fantasyflightgames.com/filer_public/40/0b/400bd56b-4bb9-4046-a5b3-2575f7a40088/swx69_maneuver_dial.png";

                Firepower  = 2;
                Agility    = 2;
                MaxHull    = 4;
                MaxShields = 3;

                PrintedUpgradeIcons.Add(Upgrade.UpgradeType.Torpedo);
                PrintedUpgradeIcons.Add(Upgrade.UpgradeType.Missile);

                AssignTemporaryManeuvers();
                HotacManeuverTable = new AI.AlphaClassStarWingTable();

                factions.Add(Faction.Empire);
                faction = Faction.Empire;

                SkinName = "Alpha-class Star Wing";

                SoundShotsPath = "Slave1-Fire";
                ShotsCount     = 2;

                for (int i = 1; i < 3; i++)
                {
                    SoundFlyPaths.Add("Slave1-Fly" + i);
                }
            }
Esempio n. 3
0
            public AlphaClassStarWing() : base()
            {
                ShipInfo = new ShipCardInfo
                           (
                    "Alpha-class Star Wing",
                    BaseSize.Small,
                    Faction.Imperial,
                    new ShipArcsInfo(ArcType.Front, 2), 2, 4, 3,
                    new ShipActionsInfo(
                        new ActionInfo(typeof(FocusAction)),
                        new ActionInfo(typeof(TargetLockAction)),
                        new ActionInfo(typeof(SlamAction)),
                        new ActionInfo(typeof(ReloadAction))
                        ),
                    new ShipUpgradesInfo(
                        UpgradeType.Title,
                        UpgradeType.Torpedo,
                        UpgradeType.Missile,
                        UpgradeType.Modification
                        )
                           );

                IconicPilots = new Dictionary <Faction, System.Type> {
                    { Faction.Imperial, typeof(MajorVynder) }
                };

                ModelInfo = new ShipModelInfo(
                    "Alpha-class Star Wing",
                    "Gray",
                    new Vector3(-4, 8, 5.5f),
                    1.5f
                    );

                DialInfo = new ShipDialInfo(
                    new ManeuverInfo(ManeuverSpeed.Speed1, ManeuverDirection.Left, ManeuverBearing.Bank, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed1, ManeuverDirection.Forward, ManeuverBearing.Straight, MovementComplexity.Easy),
                    new ManeuverInfo(ManeuverSpeed.Speed1, ManeuverDirection.Right, ManeuverBearing.Bank, MovementComplexity.Normal),

                    new ManeuverInfo(ManeuverSpeed.Speed2, ManeuverDirection.Left, ManeuverBearing.Turn, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed2, ManeuverDirection.Left, ManeuverBearing.Bank, MovementComplexity.Easy),
                    new ManeuverInfo(ManeuverSpeed.Speed2, ManeuverDirection.Forward, ManeuverBearing.Straight, MovementComplexity.Easy),
                    new ManeuverInfo(ManeuverSpeed.Speed2, ManeuverDirection.Right, ManeuverBearing.Bank, MovementComplexity.Easy),
                    new ManeuverInfo(ManeuverSpeed.Speed2, ManeuverDirection.Right, ManeuverBearing.Turn, MovementComplexity.Normal),

                    new ManeuverInfo(ManeuverSpeed.Speed3, ManeuverDirection.Left, ManeuverBearing.Turn, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed3, ManeuverDirection.Left, ManeuverBearing.Bank, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed3, ManeuverDirection.Forward, ManeuverBearing.Straight, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed3, ManeuverDirection.Right, ManeuverBearing.Bank, MovementComplexity.Normal),
                    new ManeuverInfo(ManeuverSpeed.Speed3, ManeuverDirection.Right, ManeuverBearing.Turn, MovementComplexity.Normal),

                    new ManeuverInfo(ManeuverSpeed.Speed4, ManeuverDirection.Forward, ManeuverBearing.Straight, MovementComplexity.Complex)
                    );

                SoundInfo = new ShipSoundInfo(
                    new List <string>()
                {
                    "Slave1-Fly1",
                    "Slave1-Fly2"
                },
                    "Slave1-Fire", 2
                    );

                ManeuversImageUrl = "https://vignette.wikia.nocookie.net/xwing-miniatures/images/d/d9/20171223_151405.jpg";

                HotacManeuverTable = new AI.AlphaClassStarWingTable();
            }