static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(1)), new Bounded <float>(TimeWarp.ScaleAcceleration(5, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(35))); DefaultState = new ShipState(new Bounded <float>(16), new Bounded <float>(20), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1))); DefaultActions.Add(OrzNemesisPrimary.Create()); DefaultActions.Add(OrzNemesisSecondary.Create()); DefaultActions.Add(OrzNemesisTernary.Create()); DefaultSubShips = new IShip[1]; DefaultSubShips[0] = OrzTurret.Create(new PhysicsState(), new FactionInfo(0)); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("OrzNemesisDitty"); }
static void Initialize() { initialized = true; DefaultEffectsWho = new TargetingInfo(TargetingTypes.None, TargetingTypes.Enemy | TargetingTypes.Ship, TargetingTypes.None); InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(0)), new Bounded <float>(TimeWarp.ScaleAcceleration(20, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(33))); DefaultState = new ShipState(new Bounded <float>(3), new Bounded <float>(0), new Bounded <float>(0), new Bounded <float>(0)); DefaultLifeTime = new LifeSpan(60); DefaultTargetingTypes = new TargetingInfo(TargetingTypes.Ship); DefaultEffectCollection.Effects.Add( new ShipStateEffect(DefaultEffectsWho, EffectTypes.None, new EffectSounds("DogiBark", null, null), new ShipStateChange(0, -8, 0, 0))); DefaultEffectCollection.AttachmentFlags |= EffectAttachmentFlags.ClonedAttachment; DefaultControlableSounds = new ControlableSounds(null, "DogiDie"); }
static void Initialize() { initialized = true; InitShape(); DefaultLifeTime = new LifeSpan(TimeWarp.RangeToTime(400, 35)); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(20), new Bounded <float>(1000), new Bounded <float>(TimeWarp.ScaleVelocity(35))); DefaultState = new ShipState( new Bounded <float>(1), new Bounded <float>(1), new Bounded <float>(0), new Bounded <float>(1)); DefaultEffectCollection.Effects.Add(new MedKitEffect(new TargetingInfo(TargetingTypes.None, TargetingTypes.Ally | TargetingTypes.Ship, TargetingTypes.None), EffectTypes.None, new EffectSounds(null, "FighterGet", null), 1)); DefaultEffectsWho = new TargetingInfo(TargetingTypes.None, TargetingTypes.Ally | TargetingTypes.Ship, TargetingTypes.None); DefaultActions.Add(EarthlingFighterPrimary.Create()); DefaultControlableSounds = new ControlableSounds(); DefaultShipSounds = new ShipSounds(); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(100), new Bounded <float>(TimeWarp.ScaleTurning(13)), new Bounded <float>(TimeWarp.ScaleAcceleration(10, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(50))); DefaultState = new ShipState(new Bounded <float>(20), new Bounded <float>(10), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1))); DefaultActions.Add(MmrnmhrmXFormMissilePrimary.Create()); NullTransformAction t = new NullTransformAction(); t.AIInfo = new SpecificRangeActionAIInfo( MmrnmhrmXFormSecondary.DefaultCost.ActivationCost, 0, 800); DefaultActions.Add(t); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("MmrnmhrmXFormDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(100), new Bounded <float>(TimeWarp.ScaleTurning(0.9f)), new Bounded <float>(8000), new Bounded <float>(TimeWarp.ScaleVelocity(60))); DefaultState = new ShipState(new Bounded <float>(20), new Bounded <float>(10), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(8, -1), TimeWarp.RechargeRateToPerSeconds(8, -1), TimeWarp.RechargeRateToPerSeconds(8, -1), false)); DefaultTargetingTypes = TargetingInfo.All; DefaultActions.Add(new NullAction()); DefaultActions.Add(new NullAction()); DefaultActions.Add(new NullAction()); DefaultActions.Add(new NullTransformAction()); DefaultActions[3].Costs = new Costs(new ShipStateChange(0, 0, 0, 0), null, null); DefaultActions[3].ActionSounds = new ActionSounds(); DefaultEffectCollection.Effects.Add(new ShipStateEffect( DefaultTargetingTypes, EffectTypes.None, new EffectSounds(), new ShipStateChange(-3, 0, 0, 0))); DefaultEffectCollection.AttachmentFlags = EffectAttachmentFlags.ClonedAttachment; DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("AndrosynthGuardianDitty"); }
static void Initialize() { initialized = true; // this is the method call where the ships shape is set. InitShape(); // This is the movement info of the ship. DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), // Angular Acceleration in Radians per second per second new Bounded <float>(TimeWarp.ScaleTurning(1)), // Max Angular Velocity in Radians per second new Bounded <float>(TimeWarp.ScaleAcceleration(45, 0)), //Linear Acceleration in a Distance unit per second per second new Bounded <float>(TimeWarp.ScaleVelocity(45))); // Max Linear Velocity in a Distance unit per second DefaultState = new ShipState( new Bounded <float>(6), // Ships Health new Bounded <float>(20), //Ships Energy new Bounded <float>(0), //Health Recharge Rate new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1))); //Energy Recharge Rate // Sets the actions of the ship (the weapons) // If you changed the order the Primary would become the Secondary DefaultActions.Add(ArilouSkiffPrimary.Create()); DefaultActions.Add(ArilouSkiffSecondary.Create()); //The sounds related to the Controlable since Ship inherits from Controlable. //They are just the .oggs in the Sound directory without the file extension. //The first is the sounds played when it is created the seconde is when it dies. DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); //Ships sounds this is actaully a music so its teh file in the music directory without the file extension. //The music played when the ship wins. DefaultShipSounds = new ShipSounds("ArilouSkiffDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(100), new Bounded <float>(TimeWarp.ScaleTurning(3)), new Bounded <float>(TimeWarp.ScaleAcceleration(2, 1)), new Bounded <float>(TimeWarp.ScaleVelocity(20))); DefaultState = new ShipState(new Bounded <float>(14), new Bounded <float>(32), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(50, 1))); DefaultActions.Add(OrzTurretPrimary.Create()); DefaultControlableSounds = new ControlableSounds(); DefaultShipSounds = new ShipSounds(); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(0), new Bounded <float>(0), new Bounded <float>(0), new Bounded <float>(0)); DefaultState = new ShipState(new Bounded <float>(10), new Bounded <float>(0), new Bounded <float>(0), new Bounded <float>(0)); DefaultActions.Add(ChmmrSatellitePrimary.Create()); DefaultControlableSounds = new ControlableSounds(null, "Boom45"); DefaultShipSounds = new ShipSounds(); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(1)), new Bounded <float>(TimeWarp.ScaleAcceleration(6, 6)), new Bounded <float>(TimeWarp.ScaleVelocity(36))); DefaultState = new ShipState(new Bounded <float>(20), new Bounded <float>(0, 10, 20, false), new Bounded <float>(0), new Bounded <float>(0)); DefaultActions.Add(UtwigJuggerPrimary.Create()); DefaultActions.Add(UtwigJuggerSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("UtwigJuggerDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(2)), new Bounded <float>(TimeWarp.ScaleAcceleration(5, 1)), new Bounded <float>(TimeWarp.ScaleVelocity(20))); DefaultState = new ShipState(new Bounded <float>(20), new Bounded <float>(10), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 2))); DefaultActions.Add(MmrnmhrmXFormLaserPrimary.Create()); DefaultActions.Add(MmrnmhrmXFormSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("MmrnmhrmXFormDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(4)), new Bounded <float>(TimeWarp.ScaleAcceleration(7, 3)), new Bounded <float>(TimeWarp.ScaleVelocity(18))); DefaultState = new ShipState(new Bounded <float>(8), new Bounded <float>(28), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1))); DefaultActions.Add(ThraddashTorchPrimary.Create()); DefaultActions.Add(ThraddashTorchSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("ThraddashTorchDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(6)), new Bounded <float>(TimeWarp.ScaleAcceleration(7, 4)), new Bounded <float>(TimeWarp.ScaleVelocity(21))); DefaultState = new ShipState(new Bounded <float>(20), new Bounded <float>(40), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(8, 1))); DefaultActions.Add(VuxIntruderPrimary.Create()); DefaultActions.Add(VuxIntruderSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("VuxIntruderDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(0)), new Bounded <float>(TimeWarp.ScaleAcceleration(60, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(60))); DefaultState = new ShipState(new Bounded <float>(12), new Bounded <float>(20), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(0, 0))); DefaultActions.Add(SlylandroProbePrimary.Create()); DefaultActions.Add(SlylandroProbeSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("SlylandroProbeDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(1)), new Bounded <float>(TimeWarp.ScaleAcceleration(9, 1)), new Bounded <float>(TimeWarp.ScaleVelocity(36))); DefaultState = new ShipState(new Bounded <float>(0, 12, 42, false), new Bounded <float>(16), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1))); DefaultActions.Add(SyreenPenetratorPrimary.Create()); DefaultActions.Add(SyreenPenetratorSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("SyreenPenetratorDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(4)), new Bounded <float>(TimeWarp.ScaleAcceleration(6, 3)), new Bounded <float>(TimeWarp.ScaleVelocity(18))); DefaultState = new ShipState(new Bounded <float>(10), new Bounded <float>(30), new Bounded <float>(0), new Bounded <float>(0));//TimeWarp.RechargeRateToPerSeconds(150, 30))); DefaultRechargeDelay = new Bounded <float>(TimeWarp.RateToTime(150)); DefaultActions.Add(UmgahDronePrimary.Create()); DefaultActions.Add(UmgahDroneSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("UmgahDroneDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(6)), new Bounded <float>(TimeWarp.ScaleAcceleration(3, 4)), new Bounded <float>(TimeWarp.ScaleVelocity(27))); DefaultState = new ShipState(new Bounded <float>(36), new Bounded <float>(30), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(4, 1))); DefaultActions.Add(ChenjesuBroodhomePrimary.Create()); DefaultActions.Add(ChenjesuBroodhomeSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("ChenjesuBroodhomeDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(2)), new Bounded <float>(TimeWarp.ScaleAcceleration(5, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(25))); DefaultState = new ShipState(new Bounded <float>(22), new Bounded <float>(16), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(4, 4))); DefaultActions.Add(IlwrathAvengerPrimary.Create()); DefaultActions.Add(IlwrathAvengerSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("IlwrathAvengerDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(4)), new Bounded <float>(TimeWarp.ScaleAcceleration(6, 6)), new Bounded <float>(TimeWarp.ScaleVelocity(30))); DefaultState = new ShipState(new Bounded <float>(42), new Bounded <float>(42), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(4, 1))); DefaultActions.Add(KzerZaDreadnoughtPrimary.Create()); DefaultActions.Add(KzerZaDreadnoughtSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("KzerZaDreadnoughtDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(1)), new Bounded <float>(TimeWarp.ScaleAcceleration(5, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(35))); DefaultState = new ShipState( new Bounded <float>(6), new Bounded <float>(4), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(9, 1))); DefaultActions.Add(ShofixtiScoutPrimary.Create()); DefaultActions.Add(ShofixtiScoutSecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("ShofixtiScoutDitty"); }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(0)), new Bounded <float>(TimeWarp.ScaleAcceleration(16, 0)), new Bounded <float>(TimeWarp.ScaleVelocity(64))); DefaultState = new ShipState(new Bounded <float>(8), new Bounded <float>(12), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(50, 1))); DefaultActions.Add(PkunkFuryPrimary.Create()); DefaultActions.Add(PkunkFurySecondary.Create()); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("PkunkFuryDitty"); DefaultRespawnSound = new MeleeSound("Hallelujah"); DefaultRespawnChance = .5f; }
public SpawningSolidWeapon( LifeSpan lifeTime, PhysicsState physicsState, BodyFlags flags, RigidBodyTemplate template, ShipMovementInfo movementInfo, ShipState shipState, ControlableSounds controlableSounds, IWeaponsLogic weaponInfo, ISolidWeapon spawn, bool diesOnSpawn) : base( lifeTime, physicsState, flags, template, movementInfo, shipState, controlableSounds, weaponInfo) { this.spawn = spawn; this.diesOnSpawn = diesOnSpawn; }
static void Initialize() { initialized = true; InitShape(); DefaultMovementInfo = new ShipMovementInfo( new Bounded <float>(TimeWarp.AngularAcceleration), new Bounded <float>(TimeWarp.ScaleTurning(3)), new Bounded <float>(TimeWarp.ScaleAcceleration(7, 6)), new Bounded <float>(TimeWarp.ScaleVelocity(35))); DefaultState = new ShipState( new Bounded <float>(42), new Bounded <float>(42), new Bounded <float>(0), new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(1, 1))); DefaultActions.Add(ChmmrAvatarPrimary.Create()); DefaultActions.Add(ChmmrAvatarSecondary.Create()); InitSubShips(); DefaultControlableSounds = new ControlableSounds(null, "ShipDies"); DefaultShipSounds = new ShipSounds("ChmmrAvatarDitty"); }
public SpawningSolidWeapon( LifeSpan lifeTime, MassInertia massInfo, PhysicsState physicsState, BodyFlags flags, ICollidableBodyPart[] collidableParts, ShipMovementInfo movementInfo, ShipState shipState, ControlableSounds controlableSounds, IWeaponsLogic weaponInfo, ISolidWeapon spawn, bool diesOnSpawn) : base( lifeTime, massInfo, physicsState, flags, collidableParts, movementInfo, shipState, controlableSounds, weaponInfo) { this.spawn = spawn; this.diesOnSpawn = diesOnSpawn; }