Пример #1
0
        public PBGameItem() : base(0xED4)
        {
            Movable = false;
            Name    = "PaintBall Game";

            Reset();

            m_Team1Name = "Team 1";
            m_Team2Name = "Team 2";
            m_Team3Name = "Team 3";
            m_Team4Name = "Team 4";
            m_Team1Dest = m_Team2Dest = m_Team3Dest = m_Team4Dest = m_Exit1Dest = m_Exit2Dest = m_Exit3Dest = m_Exit4Dest = this.Location;
            m_MapDest   = this.Map;


            NadeDamage = 4;
            m_NumNades = 5;


            m_Team1Hue = 3;
            m_Team2Hue = 38;
            m_Team3Hue = 68;
            m_Team4Hue = 53;

            m_WinnersPrizes.Clear();



            m_PBScoreBoard = new PBScoreBoard(this, 1);
            m_PBScoreBoard.MoveToWorld(this.Location, this.Map);
        }
Пример #2
0
		public PBScoreGump( PBGameItem pbgi, PBScoreBoard Pbsb )	: base( 0, 0 )
		{
			m_PBGI = pbgi;
			m_PBSB = Pbsb;
			
			Closable=true;
			Disposable=true;
			Dragable=true;
			Resizable=false;

			AddPage(0);

			AddBackground(0, 0, 595, 400, 2600);
			AddLabel(233, 20, 1153, "Paintball Scoreboard");

			AddBackground(13, 50, 135, 338, 2620);
			AddBackground(159, 50, 135, 338, 2620);
			if( m_PBGI.Teams > 2 )
				AddBackground(305, 50, 135, 338, 2620);
			if( m_PBGI.Teams > 3 )
				AddBackground(450, 50, 135, 338, 2620);

			AddPlayers();
			Pbsb.InvalidateProperties();
		}
Пример #3
0
        public PBScoreGump(PBGameItem pbgi, PBScoreBoard Pbsb)        : base(0, 0)
        {
            m_PBGI = pbgi;
            m_PBSB = Pbsb;

            Closable   = true;
            Disposable = true;
            Dragable   = true;
            Resizable  = false;

            AddPage(0);

            AddBackground(0, 0, 595, 400, 2600);
            AddLabel(233, 20, 1153, "Paintball Scoreboard");

            AddBackground(13, 50, 135, 338, 2620);
            AddBackground(159, 50, 135, 338, 2620);
            if (m_PBGI.Teams > 2)
            {
                AddBackground(305, 50, 135, 338, 2620);
            }
            if (m_PBGI.Teams > 3)
            {
                AddBackground(450, 50, 135, 338, 2620);
            }

            AddPlayers();
            Pbsb.InvalidateProperties();
        }
Пример #4
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            m_Teams = reader.ReadInt();

            Players      = reader.ReadMobileList();
            NpcPlayers   = reader.ReadMobileList();
            m_Announcers = reader.ReadMobileList();

            m_WinnersPrizes = reader.ReadItemList();


            m_Team1Dest = reader.ReadPoint3D();
            m_Team2Dest = reader.ReadPoint3D();
            m_Team3Dest = reader.ReadPoint3D();
            m_Team4Dest = reader.ReadPoint3D();
            m_Exit1Dest = reader.ReadPoint3D();
            m_Exit2Dest = reader.ReadPoint3D();
            m_Exit3Dest = reader.ReadPoint3D();
            m_Exit4Dest = reader.ReadPoint3D();

            m_MapDest = reader.ReadMap();
            m_Mod     = (Mod)reader.ReadInt();

            m_Active = reader.ReadBool();
            m_Team1  = reader.ReadInt();
            m_Team2  = reader.ReadInt();
            m_Team3  = reader.ReadInt();
            m_Team4  = reader.ReadInt();

            m_Team1Hue = reader.ReadInt();
            m_Team2Hue = reader.ReadInt();
            m_Team3Hue = reader.ReadInt();
            m_Team4Hue = reader.ReadInt();

            m_Team1Name = reader.ReadString();
            m_Team2Name = reader.ReadString();
            m_Team3Name = reader.ReadString();
            m_Team4Name = reader.ReadString();

            m_NadeDamage = reader.ReadInt();
            m_NumNades   = reader.ReadInt();


            m_PBScoreBoard = reader.ReadItem() as PBScoreBoard;


            m_Active = false;
            Reset();
            //m_Timer = new PBTimer( this );
        }
Пример #5
0
        public PBGameItem() : base(0xED4)
        {
            Movable = false;
            Name    = "PaintBall Game";

            m_Active        = false;
            m_Team1         = m_Team2 = m_Team3 = m_Team4 = 0;
            m_Team1Dest     = m_Team2Dest = m_Team3Dest = m_Team4Dest = m_Exit1Dest = m_Exit2Dest = m_Exit3Dest = m_Exit4Dest = this.Location;
            m_MapDest       = this.Map;
            m_Players       = new ArrayList();
            m_WinnersPrizes = new ArrayList();
            m_Timer         = new PBTimer(this);

            m_PBScoreBoard = new PBScoreBoard(this);
            m_PBScoreBoard.MoveToWorld(this.Location, this.Map);
        }
Пример #6
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            switch (version)
            {
            case 0:
            {
                m_Exit2Dest = reader.ReadPoint3D();
                m_Exit3Dest = reader.ReadPoint3D();
                m_Exit4Dest = reader.ReadPoint3D();

                m_Players       = new ArrayList();
                m_WinnersPrizes = new ArrayList();

                m_Players   = reader.ReadMobileList();
                m_Active    = reader.ReadBool();
                m_Team1     = reader.ReadInt();
                m_Team2     = reader.ReadInt();
                m_Team3     = reader.ReadInt();
                m_Team4     = reader.ReadInt();
                m_MapDest   = reader.ReadMap();
                m_Team1Dest = reader.ReadPoint3D();
                m_Team2Dest = reader.ReadPoint3D();
                m_Team3Dest = reader.ReadPoint3D();
                m_Team4Dest = reader.ReadPoint3D();
                m_Exit1Dest = reader.ReadPoint3D();
                m_Teams     = reader.ReadInt();

                m_PBScoreBoard = reader.ReadItem() as PBScoreBoard;

                int count = reader.ReadInt();
                for (int i = 0; i < count; i++)
                {
                    m_WinnersPrizes.Add(reader.ReadItem());
                }

                m_Active = false;
                m_Timer  = new PBTimer(this);
                break;
            }
            }
        }
Пример #7
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile from = sender.Mobile;

            if (info.ButtonID == (int)Buttons.Button16 || info.ButtonID == (int)Buttons.Button17 || info.ButtonID == (int)Buttons.Button18 || info.ButtonID == (int)Buttons.Button19 || info.ButtonID == (int)Buttons.Button20 ||
                info.ButtonID == (int)Buttons.Button21 || info.ButtonID == (int)Buttons.Button22 || info.ButtonID == (int)Buttons.Button23)
            {
                from.Target = new PBLocTarget(m_PBGI, info.ButtonID);
            }
            else
            {
                switch (info.ButtonID)
                {
                case (int)Buttons.Button1:
                {
                    break;
                }

                case (int)Buttons.Button2:
                {
                    break;
                }

                case (int)Buttons.Button3:
                {
                    break;
                }

                case (int)Buttons.Button4:
                {
                    break;
                }

                case (int)Buttons.Button5:
                {
                    break;
                }

                case (int)Buttons.Button6:
                {
                    m_PBGI.StartGame();

                    from.SendMessage("You have started the game.");
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button7:
                {
                    m_PBGI.EndGame(true);
                    from.SendMessage("You have ended the game.");
                    foreach (Mobile mob in m_PBGI.Announcers)
                    {
                        mob.PublicOverheadMessage(MessageType.Regular, 0x22, false, "The Game Has Ended!");
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button8:
                {
                    m_PBGI.Active = false;
                    foreach (PlayerMobile pm in m_PBGI.Players)
                    {
                        pm.Frozen  = true;
                        pm.Warmode = false;
                        pm.SendMessage("A GM has paused the game");
                    }
                    foreach (Mobile mob in m_PBGI.Announcers)
                    {
                        mob.PublicOverheadMessage(MessageType.Regular, 0x22, false, "The Game Has Been Paused!");
                    }
                    from.SendMessage("You have paused the game.");
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button9:
                {
                    // Add staff to game
                    if (m_PBGI.CheckAlreadyPlayer(from))
                    {
                        from.SendMessage("You have already joined the game.");
                    }
                    else
                    {
                        m_PBGI.AddPlayer(from);
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button10:
                {
                    from.Target = new PBPrizeTarget(m_PBGI);

                    break;
                }

                case (int)Buttons.Button11:
                {
                    m_PBGI.m_WinnersPrizes.Clear();
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button12:
                {
                    if (m_PBGI.CanJoin == true)
                    {
                        m_PBGI.CanJoin = false;
                    }
                    else
                    {
                        m_PBGI.CanJoin = true;
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button13:
                {
                    //Announcer
                    PBAnnouncer pba = new PBAnnouncer(m_PBGI);
                    if (pba != null)
                    {
                        pba.MoveToWorld(m_PBGI.Location, m_PBGI.Map);
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button14:
                {
                    //Score south
                    PBScoreBoard pbss = new PBScoreBoard(m_PBGI, 1);
                    if (pbss != null)
                    {
                        pbss.MoveToWorld(m_PBGI.Location, m_PBGI.Map);
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button15:
                {
                    //Score East
                    PBScoreBoard pbse = new PBScoreBoard(m_PBGI, 2);
                    if (pbse != null)
                    {
                        pbse.MoveToWorld(m_PBGI.Location, m_PBGI.Map);
                    }
                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button24:
                {
                    PBNpc npc;
                    npc = new PBNpc(m_PBGI);
                    from.SendGump(new PBGMGump(m_PBGI));

                    /*if (npc != null && m_PBGI != null )
                     *
                     *              {
                     *
                     *                                      m_PBGI.AddPlayer(npc);
                     *
                     *              }
                     *              from.SendGump( new PBGMGump( m_PBGI ) ); */
                    break;
                }

                case (int)Buttons.Button25:
                {
                    TextRelay entry0 = info.GetTextEntry(0);
                    string    text0  = (entry0 == null ? "" : entry0.Text.Trim());

                    TextRelay entry1 = info.GetTextEntry(1);
                    try
                    {
                        m_PBGI.Team1Hue = Convert.ToInt32(entry1.Text);
                    }
                    catch
                    {
                        from.SendMessage("Invalid entry for Team 1 Hue.");
                    }


                    TextRelay entry2 = info.GetTextEntry(2);
                    string    text2  = (entry2 == null ? "" : entry2.Text.Trim());

                    TextRelay entry3 = info.GetTextEntry(3);
                    try
                    {
                        m_PBGI.Team2Hue = Convert.ToInt32(entry3.Text);
                    }
                    catch
                    {
                        from.SendMessage("Invalid entry for Team 2 Hue.");
                    }


                    TextRelay entry4 = info.GetTextEntry(4);
                    string    text4  = (entry4 == null ? "" : entry4.Text.Trim());

                    TextRelay entry5 = info.GetTextEntry(5);
                    try
                    {
                        m_PBGI.Team3Hue = Convert.ToInt32(entry5.Text);
                    }
                    catch
                    {
                        from.SendMessage("Invalid entry for Team 3 Hue.");
                    }


                    TextRelay entry6 = info.GetTextEntry(6);
                    string    text6  = (entry6 == null ? "" : entry6.Text.Trim());

                    TextRelay entry7 = info.GetTextEntry(7);
                    try
                    {
                        m_PBGI.Team4Hue = Convert.ToInt32(entry7.Text);
                    }
                    catch
                    {
                        from.SendMessage("Invalid entry for Team 4 Hue.");
                    }



                    m_PBGI.m_Team1Name = text0;


                    m_PBGI.m_Team2Name = text2;


                    m_PBGI.m_Team3Name = text4;


                    m_PBGI.m_Team4Name = text6;



                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }

                case (int)Buttons.Button26:
                {
                    from.SendMessage("right 1");
                    m_PBGI.Teams += 1;
                    if (m_PBGI.Teams > 4 || m_PBGI.Teams < 2)
                    {
                        m_PBGI.Teams = 2;
                    }

                    from.SendGump(new PBGMGump(m_PBGI));
                    break;
                }
                }
            }
        }
Пример #8
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile from = sender.Mobile;
            
            if (info.ButtonID == (int)Buttons.Button16 || info.ButtonID == (int)Buttons.Button17 || info.ButtonID == (int)Buttons.Button18 || info.ButtonID == (int)Buttons.Button19 || info.ButtonID == (int)Buttons.Button20
                || info.ButtonID == (int)Buttons.Button21 || info.ButtonID == (int)Buttons.Button22 || info.ButtonID == (int)Buttons.Button23)
            {
            	from.Target = new PBLocTarget( m_PBGI, info.ButtonID );
            }
            else
            {

            switch(info.ButtonID)
            {
               	case (int)Buttons.Button1:
				{

					break;
				}
				case (int)Buttons.Button2:
				{

					break;
				}
				case (int)Buttons.Button3:
				{

					break;
				}
				case (int)Buttons.Button4:
				{

					break;
				}
				case (int)Buttons.Button5:
				{
					
					break;
				}
				case (int)Buttons.Button6:
				{
				m_PBGI.StartGame();
				
				from.SendMessage( "You have started the game." );
				from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button7:
				{
				m_PBGI.EndGame(true);
				from.SendMessage( "You have ended the game." );
				foreach( Mobile mob in m_PBGI.Announcers )
				{
		
				mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, "The Game Has Ended!" );
				}
					from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button8:
				{
					m_PBGI.Active = false;
				foreach( PlayerMobile pm in m_PBGI.Players )
				{
					pm.Frozen = true;
					pm.Warmode = false;
					pm.SendMessage( "A GM has paused the game" );
				}
				foreach( Mobile mob in m_PBGI.Announcers )
				{
		
				mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, "The Game Has Been Paused!" );
				}
				from.SendMessage( "You have paused the game." );
				from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button9:
				{
					// Add staff to game
                    if (m_PBGI.CheckAlreadyPlayer(from))
                    { 
                        from.SendMessage("You have already joined the game.");
                    }
                    else
                    {
                        m_PBGI.AddPlayer(from);
                    }
            		from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button10:
				{
					from.Target = new PBPrizeTarget( m_PBGI );
					
					break;
				}
				case (int)Buttons.Button11:
				{
            			m_PBGI.m_WinnersPrizes.Clear();
            		from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button12:
				{
            			if	(m_PBGI.CanJoin == true )
            			{
            				m_PBGI.CanJoin = false;
            			}
            			else
            			{
            				m_PBGI.CanJoin = true;
            			}
            		from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button13:
				{
            		//Announcer
            		PBAnnouncer pba = new PBAnnouncer( m_PBGI );
            		if ( pba != null )
            		{
            		pba.MoveToWorld( m_PBGI.Location, m_PBGI.Map );
            		}
					from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button14:
				{
            			//Score south
            		PBScoreBoard pbss = new PBScoreBoard( m_PBGI, 1 );
            		if ( pbss != null )
            		{
            		pbss.MoveToWorld( m_PBGI.Location, m_PBGI.Map );
            		}
					from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				case (int)Buttons.Button15:
				{
            		//Score East
            		PBScoreBoard pbse = new PBScoreBoard( m_PBGI, 2 );
            		if ( pbse != null )
            		{
            		pbse.MoveToWorld( m_PBGI.Location, m_PBGI.Map );
            		}
					from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}

            	case (int)Buttons.Button24:
				{
            		PBNpc npc;
            			npc = new PBNpc(m_PBGI);
            			from.SendGump( new PBGMGump( m_PBGI ) );
            			
            	/*if (npc != null && m_PBGI != null )
           
            			{
            			
							m_PBGI.AddPlayer(npc);
							
            			}
            			from.SendGump( new PBGMGump( m_PBGI ) ); */
					break;
				}
            	case (int)Buttons.Button25:
				{
            			
			TextRelay entry0 = info.GetTextEntry(0);
			string text0 = (entry0 == null ? "" : entry0.Text.Trim());
			
			TextRelay entry1 = info.GetTextEntry(1);
            try
            {
           		 m_PBGI.Team1Hue = Convert.ToInt32(entry1.Text);
            }
            catch
            {
                from.SendMessage("Invalid entry for Team 1 Hue.");
            }
            
			
			TextRelay entry2 = info.GetTextEntry(2);
			string text2 = (entry2 == null ? "" : entry2.Text.Trim());
			
			TextRelay entry3 = info.GetTextEntry(3);
	        try
            {
           		 m_PBGI.Team2Hue = Convert.ToInt32(entry3.Text);
            }
            catch
            {
                 from.SendMessage("Invalid entry for Team 2 Hue.");
            }
		
			
			TextRelay entry4 = info.GetTextEntry(4);
			string text4 = (entry4 == null ? "" : entry4.Text.Trim());
			
			TextRelay entry5 = info.GetTextEntry(5);
		    try
            {
           		 m_PBGI.Team3Hue = Convert.ToInt32(entry5.Text);
            }
            catch
            {
                 from.SendMessage("Invalid entry for Team 3 Hue.");
            }
		
			
			TextRelay entry6 = info.GetTextEntry(6);
			string text6 = (entry6 == null ? "" : entry6.Text.Trim());
			
			TextRelay entry7 = info.GetTextEntry(7);
		    try
            {
           		 m_PBGI.Team4Hue = Convert.ToInt32(entry7.Text);
            }
            catch
            {
                 from.SendMessage("Invalid entry for Team 4 Hue.");
            }
			

			
			m_PBGI.m_Team1Name = text0;
			
			
			m_PBGI.m_Team2Name = text2;
		
			
			m_PBGI.m_Team3Name = text4;
	
			
			m_PBGI.m_Team4Name = text6;
		

			
		
			
			
            			from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
            	case (int)Buttons.Button26:
				{
            			 from.SendMessage("right 1");
  				  m_PBGI.Teams += 1;
				if( m_PBGI.Teams > 4 || m_PBGI.Teams < 2 )
					m_PBGI.Teams = 2;
  
					from.SendGump( new PBGMGump( m_PBGI ) );
					break;
				}
				
            }
            }
        }
Пример #9
0
		public PBGameItem() : base( 0xED4 )
		{
			Movable = false;
			Name = "PaintBall Game";

            Reset();

			m_Team1Name = "Team 1";
			m_Team2Name = "Team 2";
			m_Team3Name = "Team 3"; 
			m_Team4Name = "Team 4";
			m_Team1Dest = m_Team2Dest = m_Team3Dest = m_Team4Dest = m_Exit1Dest = m_Exit2Dest = m_Exit3Dest = m_Exit4Dest = this.Location;
			m_MapDest = this.Map;


			NadeDamage = 4;
			m_NumNades = 5;
			
						
			m_Team1Hue = 3;
			m_Team2Hue = 38;
			m_Team3Hue = 68;
			m_Team4Hue = 53;
			
			m_WinnersPrizes.Clear();
            

			
			m_PBScoreBoard = new PBScoreBoard( this, 1 );
			m_PBScoreBoard.MoveToWorld( this.Location, this.Map );
			

		}
Пример #10
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
				
					m_Teams = reader.ReadInt();
					
					Players = reader.ReadMobileList();
                    NpcPlayers = reader.ReadMobileList();
					m_Announcers = reader.ReadMobileList();
					
					m_WinnersPrizes = reader.ReadItemList();
					
					
					m_Team1Dest = reader.ReadPoint3D();
					m_Team2Dest = reader.ReadPoint3D();
					m_Team3Dest = reader.ReadPoint3D();
					m_Team4Dest = reader.ReadPoint3D();
					m_Exit1Dest = reader.ReadPoint3D();
					m_Exit2Dest = reader.ReadPoint3D();
					m_Exit3Dest = reader.ReadPoint3D();
					m_Exit4Dest = reader.ReadPoint3D();

					m_MapDest = reader.ReadMap();
                    m_Mod = (Mod)reader.ReadInt();

					m_Active = reader.ReadBool();
					m_Team1 = reader.ReadInt();
					m_Team2 = reader.ReadInt();
					m_Team3 = reader.ReadInt();
					m_Team4 = reader.ReadInt();
					
					m_Team1Hue = reader.ReadInt();
					m_Team2Hue = reader.ReadInt();
					m_Team3Hue = reader.ReadInt();
					m_Team4Hue = reader.ReadInt();
					
					m_Team1Name = reader.ReadString();
					m_Team2Name = reader.ReadString();
					m_Team3Name = reader.ReadString();
					m_Team4Name = reader.ReadString();
					
					m_NadeDamage = reader.ReadInt();
					m_NumNades = reader.ReadInt();
					

					m_PBScoreBoard = reader.ReadItem() as PBScoreBoard;
		

					m_Active = false;
                    Reset();
					//m_Timer = new PBTimer( this );
					
					
					
				
			
		
		}
Пример #11
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
			switch ( version )
			{
				case 0:
				{
					m_Exit2Dest = reader.ReadPoint3D();
					m_Exit3Dest = reader.ReadPoint3D();
					m_Exit4Dest = reader.ReadPoint3D();

					m_Players = new ArrayList();
					m_WinnersPrizes = new ArrayList();

					m_Players = reader.ReadMobileList();
					m_Active = reader.ReadBool();
					m_Team1 = reader.ReadInt();
					m_Team2 = reader.ReadInt();
					m_Team3 = reader.ReadInt();
					m_Team4 = reader.ReadInt();
					m_MapDest = reader.ReadMap();
					m_Team1Dest = reader.ReadPoint3D();
					m_Team2Dest = reader.ReadPoint3D();
					m_Team3Dest = reader.ReadPoint3D();
					m_Team4Dest = reader.ReadPoint3D();
					m_Exit1Dest = reader.ReadPoint3D();
					m_Teams = reader.ReadInt();

					m_PBScoreBoard = reader.ReadItem() as PBScoreBoard;

					int count = reader.ReadInt();
					for( int i = 0; i < count; i++ )
						m_WinnersPrizes.Add( reader.ReadItem() );

					m_Active = false;
					m_Timer = new PBTimer( this );
					break;
				}
			}
		}
Пример #12
0
		public PBGameItem() : base( 0xED4 )
		{
			Movable = false;
			Name = "PaintBall Game";

			m_Active = false;
			m_Team1 = m_Team2 = m_Team3 = m_Team4 = 0;
			m_Team1Dest = m_Team2Dest = m_Team3Dest = m_Team4Dest = m_Exit1Dest = m_Exit2Dest = m_Exit3Dest = m_Exit4Dest = this.Location;
			m_MapDest = this.Map;
			m_Players = new ArrayList();
			m_WinnersPrizes = new ArrayList();
			m_Timer = new PBTimer( this );

			m_PBScoreBoard = new PBScoreBoard( this );
			m_PBScoreBoard.MoveToWorld( this.Location, this.Map );
		}