Skip to content

battleground_template

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
IDintunsignedPRINO0
AllianceStartLocintunsignedNO
HordeStartLocintunsignedNO
StartMaxDistfloatNO0
WeighttinyintunsignedNO1
ScriptNamevarchar(64)NO''
Commentvarchar(32)NO
 

Description of fields ​

ID ​

The battleground ID. A list is available in BattlemasterList.db2 (ID field)  

AllianceStartLoc ​

This is the ID from world_safe_locs. The Alliance players will start at the position listed inside world_safe_locs.  

HordeStartLoc ​

This is the ID from world_safe_locs. The Horde players will start at the position listed inside world_safe_locs.  

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 ​

The scriptname used in the core to assign it to the specific battleground.  

Comment ​

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