Actions

Difference between revisions of "Battleground template SF"

From Project Skyfire

 
 
Line 3: Line 3:
 
|}
 
|}
 
{{Back-to:World}}
 
{{Back-to:World}}
[[Category: SkyFire World database tables]]
 
  
 
<big>'''The `battleground_template` table'''</big>
 
<big>'''The `battleground_template` table'''</big>
Line 160: Line 159:
  
 
A simple comment (Generally just the name of the battleground for easy reference).
 
A simple comment (Generally just the name of the battleground for easy reference).
 +
 +
[[DB:World|Return to world database structure]]

Latest revision as of 06:14, 9 January 2013

Back to world database list of tables.

The `battleground_template` table

This table hold the basic information about battlegrounds.


Structure

Field Type Attribute Key Null Default Comment
id mediumint(8) unsigned PRI NO
MinPlayersPerTeam smallint(5) unsigned NO 0
MaxPlayersPerTeam smallint(5) unsigned NO 0
MinLvl tinyint(3) unsigned NO 0
MaxLvl tinyint(3) unsigned NO 0
AllianceStartLoc mediumint(8) unsigned NO
AllianceStartO float signed NO
HordeStartLoc mediumint(8) unsigned NO
HordeStartO float signed NO
Weight tinyint(2) unsigned NO 1
ScriptName char(64) signed NO ""
Comment char(32) signed NO



Description of the fields

id[edit]

ID# of the battleground. Contained in BattlemasterList.dbc.

MinPlayersPerTeam[edit]

The required number of players in each level bracket to start the battleground.

MaxPlayersPerTeam[edit]

The maximum number of players that can be in the battleground.

MinLvl[edit]

The minimum level you must be to join the battleground.

MaxLvl[edit]

The maximum level you can be to join the battleground (Usually 85).

AllianceStartLoc[edit]

The location within the battlegrounds all Alliance players will start. Contained in WorldSafeLocs.dbc.

AllianceStartO[edit]

The orientation the Alliance players will be when the spawn (North = 0, moves clockwise).

HordeStartLoc[edit]

The location within the battlegrounds all Horde players will start. Contained in WorldSafeLocs.dbc.

HordeStartO[edit]

The orientation the Horde. players will be when the spawn (North = 0, moves clockwise).

Comment=[edit]

A simple comment (Generally just the name of the battleground for easy reference).

Return to world database structure