Level file syntax

From Bitfighter

List of (some) valid game objects/settings and their use.

  LevelName <Text>

Defines the name of the level.

  LevelDescription <Text>

Defines the description of the level that is shown when the level starts.

  LevelCredits <Text>

Defines the credits of the level that is shown when the level starts. If you created the map, put your name here. If you used someone else's stuff for your level, put them here also.

  GridSize <Number [5,1000]>

Defines the scale of the level. 255 is the new default, 300 is the old default.

  MinPlayers <Integer [1,100]>

Defines when the minimum amount of players for the level to be automatically selected by the server. If the amount of players on the server is lower than this number, this map will not be chosen automatically.

  MaxPlayers <Integer [1,100]>

Defines when the maximum amount of players for the level to be automatically selected by the server. If the amount of players on the server is higher than this number, this map will not be chosen automatically.

  Team <Text - Name> <Number [0,1] - Red> <Number [0,1] - Green> <Number [0,1] - Blue>

Defines a team. The team number is determined by the order they are in. Name is the name of the team. Red, Green, and Blue determine the color of the team.

  BarrierMaker <Integer [1,255] - Thickness> <Number - Point1X> <Number - Point2Y>  ...

Creates a wall. Thickness determines how wide the wall will be. The points after that determine where it is and where it goes to.

  LoadoutZone <Integer [-2,# of teams-1] Team, <Number - Point1X> <Number - Point2Y> ...

Creates a loadout zone of the specified team Team. The points after that determine the boundaries of the zone.

  Speedzone <Number - PositionX> <Number - PositionY> <Number - DestX> <Number - DestY>

Creates a speedzone at the specified position that points to the specified destination.

  Teleporter <Number - PositionX> <Number - PositionY> <Number - DestX> <Number - DestY>

Creates a teleporter at the specified position that sends you to the specified destination.

  Turret <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>

Creates a turret at the specified position on team Team.

  ForceFieldProjector <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>

Creates a force field at the specified position on team Team.

  RepairItem <Number - PositionX> <Number - PositionY>

Creates a health pack at the specified position.

  FlagItem <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>

Creates a flag at the specified position that belongs to team Team.

  Spawn <Integer [0,# of teams-1] Team> <Number - PositionX> <Number - PositionY>

Creates a spot where the players will spawn upon death.

  SpyBug <Integer [0,# of teams-1] Team> <Number - PositionX> <Number - PositionY>

Creates a spybug at the specified position that belongs to team Team.