public override void Create() { { SpaceWar2006.Effects.EclipticNode e = new SpaceWar2006.Effects.EclipticNode(); e.Position = new Vector3(0f, 0f, 0f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.CheckPoint e = new SpaceWar2006.GameObjects.CheckPoint(); e.Position = new Vector3(10f, 0f, 4330f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); e.CheckPointIndex = 0; Spawn(e, true); } { SpaceWar2006.GameObjects.CheckPoint e = new SpaceWar2006.GameObjects.CheckPoint(); e.Position = new Vector3(-4250f, 0f, -130f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); e.CheckPointIndex = 1; Spawn(e, true); } { SpaceWar2006.GameObjects.CheckPoint e = new SpaceWar2006.GameObjects.CheckPoint(); e.Position = new Vector3(170f, 0f, -4110f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); e.CheckPointIndex = 2; Spawn(e, true); } { SpaceWar2006.GameObjects.CheckPoint e = new SpaceWar2006.GameObjects.CheckPoint(); e.Position = new Vector3(3550f, 0f, -70f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); e.CheckPointIndex = 3; Spawn(e, true); } { SpaceWar2006.GameObjects.PlayerStart e = new SpaceWar2006.GameObjects.PlayerStart(); e.Position = new Vector3(50f, 0f, 3750f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.PlayerStart e = new SpaceWar2006.GameObjects.PlayerStart(); e.Position = new Vector3(60f, 0f, 4910f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.PlayerStart e = new SpaceWar2006.GameObjects.PlayerStart(); e.Position = new Vector3(590f, 0f, 3750f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.PlayerStart e = new SpaceWar2006.GameObjects.PlayerStart(); e.Position = new Vector3(650f, 0f, 4900f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.LaserTurret e = new SpaceWar2006.GameObjects.LaserTurret(); e.Position = new Vector3(-3540f, 0f, 370f); e.rotationspeed = new Vector3(0f, -2.957514E-07f, 0f); e.Orientation = new Quaternion(0f, 0.4357549f, 0f, 0.9000649f); Spawn(e, true); } { SpaceWar2006.GameObjects.LaserTurret e = new SpaceWar2006.GameObjects.LaserTurret(); e.Position = new Vector3(-3970f, 0f, 710f); e.rotationspeed = new Vector3(0f, -3.348949E-07f, 0f); e.Orientation = new Quaternion(0f, 0.9000659f, 0f, -0.4357557f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2490f, 0f, -1160f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2560f, 0f, 670f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3130f, 0f, 1060f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Saturn e = new SpaceWar2006.Planets.Saturn(); e.Position = new Vector3(-1810f, 0f, -1950f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.Nebula e = new SpaceWar2006.GameObjects.Nebula(); e.Position = new Vector3(-250f, 0f, -3410f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Mars e = new SpaceWar2006.Planets.Mars(); e.Position = new Vector3(1290f, 0f, -3760f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2780f, 0f, -1110f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3270f, 0f, -880f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2790f, 0f, 1760f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.Nebula e = new SpaceWar2006.GameObjects.Nebula(); e.Position = new Vector3(-1650f, 0f, -3280f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.Nebula e = new SpaceWar2006.GameObjects.Nebula(); e.Position = new Vector3(-570f, 0f, -4070f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.Nebula e = new SpaceWar2006.GameObjects.Nebula(); e.Position = new Vector3(-1040f, 0f, -3500f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3690f, 0f, 1430f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2810f, 0f, -390f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2920f, 0f, -850f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3490f, 0f, -1480f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(4310f, 0f, -1060f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3000f, 0f, -1400f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2480f, 0f, 1790f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.GameObjects.Nebula e = new SpaceWar2006.GameObjects.Nebula(); e.Position = new Vector3(470f, 0f, -2860f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3480f, 0f, 1950f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(4090f, 0f, 2820f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3990f, 0f, -450f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(3320f, 0f, 1390f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2370f, 0f, -2020f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2500f, 0f, -1600f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } { SpaceWar2006.Planets.Phobos e = new SpaceWar2006.Planets.Phobos(); e.Position = new Vector3(2750f, 0f, 940f); e.rotationspeed = new Vector3(0f, 0f, 0f); e.Orientation = new Quaternion(0f, 0f, 0f, 1f); Spawn(e, true); } }
public void Reach(RacePlayer player, CheckPoint check) { if (check.CheckPointIndex == CheckPointIndex(player.Checks + 1)) { //richtiger checkpoint, ganz klasse player.Checks++; Announce(player.Name + " reached " + player.Checks + "."); if (Lap(player.Checks) >= Laps && Laps>0) { Finish(player); } } }
public override void Create() { Node n, n2; Mars = new Mars(); //Mars.rotationspeed.Y = 15.0f / 180.0f * (float)Math.PI; Mars.Position = new Vector3(2000, 0, 3000); Spawn(Mars, true); Moon = new Moon(); Moon.rotationspeed.Y = 15.0f / 180.0f * (float)Math.PI; Moon.Position = new Vector3(1000, 0, 0); Moon.Attach = Mars; Spawn(Moon, true); n = new Saturn(); n.rotationspeed.Y = 10.0f / 180.0f * (float)Math.PI; n.Orientation = QuaternionExtensions.FromAxisAngle(0, 1, 0, (float)Math.PI); n.Position = new Vector3(-2000, 0, 3000); Spawn(n, true); DominationPoint dp = new DominationPoint(); dp.Name = "DomPoint 1"; dp.Position = new Vector3(2000, 0, 2000); dp.rotationspeed = new Vector3(0, 1, 0); Spawn(dp, false); CheckPoint cp = new CheckPoint(); cp.CheckPointIndex = 0; cp.Position = new Vector3(3000, 0, 2000); Spawn(cp, true); cp = new CheckPoint(); cp.CheckPointIndex = 1; cp.Position = new Vector3(4000, 0, 2000); Spawn(cp, true); VecRandom r = new VecRandom(); Vector3 center = new Vector3(-4000, 0, -2000); for (int i = 0; i < 20; ++i) { Vector3 rv = r.NextScaledVector3(3000, 300, 2000); n = new Phobos(); Spawn(n, true); float s = 30.0f / 180.0f * (float)Math.PI; n.rotationspeed = r.NextScaledVector3(s, s, s); n.Position = center + rv; } //if (Root.Instance is Server) { n = new SpawnPoint(typeof(Repair), 20); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(-500, 0, 0); Spawn(n, true); } { n = new SpawnPoint(typeof(MissilePickup), 30); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(2000, 0, -1000); Spawn(n, true); } { n = new PlayerStart(); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(4000, 0, 4000); Spawn(n, true); } { n = new PlayerStart(); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(-4000, 0, -4000); Spawn(n, true); } { n = new PlayerStart(); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(-4000, 0, 4000); Spawn(n, true); } { n = new PlayerStart(); n.rotationspeed = new Vector3(0, 1, 0); n.Position = new Vector3(4000, 0, -4000); Spawn(n, true); } { n = new Flag(1, new Vector3(4800, 0, -4800)); Spawn(n, false); } { n = new Flag(0, new Vector3(4400, 0, -4400)); Spawn(n, false); } //ParticleNebula pn = new ParticleNebula(); n = new Nebula(); //n.Draw.Add(pn); //n.Transparent = true; n.Position = new Vector3(0, 0, 0); Spawn(n, true); n = new Nebula(); //n.Draw.Add(pn); //n.Transparent = true; n.Position = new Vector3(100, 0, 600); Spawn(n, true); //n = new LaserTurret(); //n = new Nebula(); //n.Draw.Add(pn); n = new PornCinema(); //Text3D tx = new Cheetah.Text3D("abcabcabc", (MeshFont)Root.Instance.ResourceManager.Load("models/font-arial-black", typeof(MeshFont))); //n.Draw.Add(tx); n.Position = new Vector3(300, 0, 1200); n.Orientation = QuaternionExtensions.FromAxisAngle(0, 1, 0, (float)Math.PI); Spawn(n, true); //n = new TestShip(); //Root.Instance.Scene.Spawn(n); //n.Position = new Vector3(400, 0, 0); Light l = new Light(); l.directional = true; l.Position = Vector3Extensions.GetUnit(new Vector3(1, 3, 4)); //l.directional = false; l.diffuse = new Color4f(0.5f, 0.8f, 1.0f, 1); Spawn(l, true); l = new Light(); l.Position = new Vector3(0, 0, 0); l.directional = false; l.diffuse = new Color4f(1, 0, 0, 1); Spawn(l, true); n = new EclipticNode(); //n.Draw.Add(new Ecliptic(new Color3f(0, 0, 0.5f), 10000, 100)); Spawn(n, true); //Spawn(new RandomSpawn(typeof(SpaceWar2006.Planets.PhobosAsteroid), 1, 1), true); }
public override void Create(){ { SpaceWar2006.Effects.EclipticNode e=new SpaceWar2006.Effects.EclipticNode(); e.Position=new Vector3(0f,0f,0f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.CheckPoint e=new SpaceWar2006.GameObjects.CheckPoint(); e.Position=new Vector3(10f,0f,4330f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); e.CheckPointIndex=0; Spawn(e,true); } { SpaceWar2006.GameObjects.CheckPoint e=new SpaceWar2006.GameObjects.CheckPoint(); e.Position=new Vector3(-4250f,0f,-130f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); e.CheckPointIndex=1; Spawn(e,true); } { SpaceWar2006.GameObjects.CheckPoint e=new SpaceWar2006.GameObjects.CheckPoint(); e.Position=new Vector3(170f,0f,-4110f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); e.CheckPointIndex=2; Spawn(e,true); } { SpaceWar2006.GameObjects.CheckPoint e=new SpaceWar2006.GameObjects.CheckPoint(); e.Position=new Vector3(3550f,0f,-70f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); e.CheckPointIndex=3; Spawn(e,true); } { SpaceWar2006.GameObjects.PlayerStart e=new SpaceWar2006.GameObjects.PlayerStart(); e.Position=new Vector3(50f,0f,3750f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.PlayerStart e=new SpaceWar2006.GameObjects.PlayerStart(); e.Position=new Vector3(60f,0f,4910f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.PlayerStart e=new SpaceWar2006.GameObjects.PlayerStart(); e.Position=new Vector3(590f,0f,3750f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.PlayerStart e=new SpaceWar2006.GameObjects.PlayerStart(); e.Position=new Vector3(650f,0f,4900f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.LaserTurret e=new SpaceWar2006.GameObjects.LaserTurret(); e.Position=new Vector3(-3540f,0f,370f); e.rotationspeed=new Vector3(0f,-2.957514E-07f,0f); e.Orientation=new Quaternion(0f,0.4357549f,0f,0.9000649f); Spawn(e,true); } { SpaceWar2006.GameObjects.LaserTurret e=new SpaceWar2006.GameObjects.LaserTurret(); e.Position=new Vector3(-3970f,0f,710f); e.rotationspeed=new Vector3(0f,-3.348949E-07f,0f); e.Orientation=new Quaternion(0f,0.9000659f,0f,-0.4357557f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2490f,0f,-1160f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2560f,0f,670f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3130f,0f,1060f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Saturn e=new SpaceWar2006.Planets.Saturn(); e.Position=new Vector3(-1810f,0f,-1950f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.Nebula e=new SpaceWar2006.GameObjects.Nebula(); e.Position=new Vector3(-250f,0f,-3410f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Mars e=new SpaceWar2006.Planets.Mars(); e.Position=new Vector3(1290f,0f,-3760f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2780f,0f,-1110f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3270f,0f,-880f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2790f,0f,1760f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.Nebula e=new SpaceWar2006.GameObjects.Nebula(); e.Position=new Vector3(-1650f,0f,-3280f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.Nebula e=new SpaceWar2006.GameObjects.Nebula(); e.Position=new Vector3(-570f,0f,-4070f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.Nebula e=new SpaceWar2006.GameObjects.Nebula(); e.Position=new Vector3(-1040f,0f,-3500f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3690f,0f,1430f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2810f,0f,-390f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2920f,0f,-850f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3490f,0f,-1480f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(4310f,0f,-1060f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3000f,0f,-1400f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2480f,0f,1790f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.GameObjects.Nebula e=new SpaceWar2006.GameObjects.Nebula(); e.Position=new Vector3(470f,0f,-2860f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3480f,0f,1950f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(4090f,0f,2820f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3990f,0f,-450f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(3320f,0f,1390f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2370f,0f,-2020f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2500f,0f,-1600f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } { SpaceWar2006.Planets.Phobos e=new SpaceWar2006.Planets.Phobos(); e.Position=new Vector3(2750f,0f,940f); e.rotationspeed=new Vector3(0f,0f,0f); e.Orientation=new Quaternion(0f,0f,0f,1f); Spawn(e,true); } }}}