Battleground template SF

From Project Skyfire
Revision as of 01:14, 9 January 2013 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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

MinPlayersPerTeam

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

MaxPlayersPerTeam

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

MinLvl

The minimum level you must be to join the battleground.

MaxLvl

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

AllianceStartLoc

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

AllianceStartO

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

HordeStartLoc

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

HordeStartO

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

Comment=

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

Return to world database structure