Skip to content

battleground_template

Contains information about the different battlegrounds, like how many players are needed to start, how many can be inside the same one, and the locations where each side starts.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IDintunsignedPRINO0
MinPlayersPerTeamsmallintunsignedNO0
MaxPlayersPerTeamsmallintunsignedNO0
MinLvltinyintunsignedNO0
MaxLvltinyintunsignedNO0
AllianceStartLocintunsignedNO
AllianceStartOfloatNO
HordeStartLocintunsignedNO
HordeStartOfloatNO
StartMaxDistfloatNO0
WeighttinyintunsignedNO1
ScriptNamechar(64)NO''
Commentchar(32)NO

 

Description of fields ​

ID ​

BattlemasterList ID

IDNameIDName
1Alterac Valley8Ruins of Lordaeron
2Warsong Gulch9Strand of the Ancients
3Arathi Basin10Dalaran Sewers
4Nagrand Arena11Ring of Valor
5Blade's Edge Arena30Isle of Conquest
6All Arenas32Random Battleground
7Eye of the Storm

 

MinPlayersPerTeam ​

Controls the minimum number of players that need to join the battleground on each faction side for the battleground to start. For the battleground to start, all characters (between min and max player values) must be in the same tier. Tiers are set up in ranges of 10 levels except for level 80. So the first tier is 10-19, the next are 20-29, 30-39, 40-49, 50-59, 60-69, 70-79 and finally 80. If characters of different tiers all join the queue, they will join their respective tier's queue and wait for more players of their tier to join the queue.
Characters in different tiers can never join the same battleground.
 

MaxPlayersPerTeam ​

Controls how many players from each team can join the battleground.
0 = default DBC value
 

MinLvl ​

The minimum level that players need to be in order to join the battleground.
0 = default DBC value
 

MaxLvl ​

The maximum level that players can be to enter the battleground.
0 = default DBC value
 

AllianceStartLoc ​

The WorldSafeLoc ID where the alliance players get teleported to when the battleground first starts.
 

AllianceStartO ​

The orientation of the alliance players upon teleport into the battleground.

PositionRadianDecimal
North0 / 2π6.28319
West0.5π1.57080
Southπ3.14159
East1.5π4.71239

 

HordeStartLoc ​

The WorldSafeLoc ID where the horde players get teleported to when the battleground first starts.
 

HordeStartO ​

The orientation of the horde players upon teleport into the battleground.

PositionRadianDecimal
North0 / 2π6.28319
West0.5π1.57080
Southπ3.14159
East1.5π4.71239

 

StartMaxDist ​

Maximum distance a player can have to the StartLoc point before the battle starts.
A value of 0 is ignored.
 

Weight ​

Determines what battleground(s) will be more frequently chosen when using Random Battleground.
For example: If you want AV to be less often chosen, give 2 and for all other give 3.
 

ScriptName ​

- no description -
 

Comment ​

This field is for any comment you want to make. It is arbitrary text.