Difference between revisions of "Level file syntax"

From Bitfighter
(New page: UnknownJoe: List of valid game objects/settings and their use. N means that the value is unknown. LevelName <Text> Defines the name of the level. LevelDescription <Text> Defines th...)
 
(formatting, corrected number types for coordinates)
Line 1: Line 1:
UnknownJoe:
 
 
 
List of valid game objects/settings and their use.
 
List of valid game objects/settings and their use.
 
N means that the value is unknown.
 
N means that the value is unknown.
  
LevelName <Text>
+
  LevelName <Text>
  Defines the name of the level.
+
Defines the name of the level.
LevelDescription <Text>
+
  LevelDescription <Text>
  Defines the description of the level that is shown when the level starts.
+
Defines the description of the level that is shown when the level starts.
LevelCredits <Text>
+
  LevelCredits <Text>
  Defines the credits of the level that is shown when the level starts.  If you  
+
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  
+
created the map, put your name here.  If you used someone else's stuff for your  
  level, put them here also.
+
level, put them here also.
GridSize <Number [1,N]>
+
  GridSize <Number [1,N]>
  Defines the scale of the level.  255 is the new default, 300 is the old  
+
Defines the scale of the level.  255 is the new default, 300 is the old  
  default.
+
default.
MinPlayers <Integer [1,N]>
+
  MinPlayers <Integer [1,N]>
  Defines when the minimum amount of players for the level to be automatically  
+
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  
+
selected by the server.  If the amount of players on the server is lower than  
  this number, this map will not be chosen automatically.
+
this number, this map will not be chosen automatically.
MaxPlayers <Integer [1,N]>
+
  MaxPlayers <Integer [1,N]>
  Defines when the maximum amount of players for the level to be automatically  
+
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
+
selected by the server.  If the amount of players on the server is higher than
  this number, this map will not be chosen automatically.
+
this number, this map will not be chosen automatically.
Team <Text - Name> <Number [0,1] - Red> <Number [0,1] - Green> <Number [0,1] - Blue>
+
  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  
+
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.
+
is the name of the team.  Red, Green, and Blue determine the color of the team.
BarrierMaker <Integer [1,N] - Thickness> <Integer - Point1X> <Integer - Point2Y>  ...
+
  BarrierMaker <Integer [1,N] - Thickness> <Number - Point1X> <Number - Point2Y>  ...
  Creates a wall.  Thickness determines how wide the wall will be.  The points  
+
Creates a wall.  Thickness determines how wide the wall will be.  The points  
  after that determine where it is and where it goes to.
+
after that determine where it is and where it goes to.
LoadoutZone <Integer [-2,# of teams-1] Team, <Integer - Point1X> <Integer - Point2Y> ...
+
  LoadoutZone <Integer [-2,# of teams-1] Team, <Number - Point1X> <Number - Point2Y> ...
  Creates a loadout zone of the specified team Team.  The points after that  
+
Creates a loadout zone of the specified team Team.  The points after that  
  determine the boundaries of the zone.
+
determine the boundaries of the zone.
Speedzone <Integer - PositionX> <Integer - PositionY> <Integer - DestX> <Integer
+
  Speedzone <Number - PositionX> <Number - PositionY> <Number - DestX> <Number - DestY>
- DestY>
+
Creates a speedzone at the specified position that points to the specified destination.
  Creates a speedzone at the specified position that points to the specified
+
  Teleporter <Number - PositionX> <Number - PositionY> <Number - DestX> <Number - DestY>
  destination.
+
Creates a teleporter at the specified position that sends you to the specified destination.
Teleporter <Integer - PositionX> <Integer - PositionY> <Integer - DestX> <Integer - DestY>
+
  Turret <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>
  Creates a teleporter at the specified position that sends you to the specified
+
Creates a turret at the specified position on team Team.
  destination.
+
  ForceFieldProjector <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>
Turret <Integer [-2,# of teams-1] Team> <Integer - PositionX> <Integer - PositionY>
+
Creates a force field at the specified position on team Team.
  Creates a turret at the specified position on team Team.
+
  RepairItem <Number - PositionX> <Number - PositionY>
ForceFieldProjector <Integer [-2,# of teams-1] Team> <Integer - PositionX> <Integer - PositionY>
+
Creates a health pack at the specified position.
  Creates a force field at the specified position on team Team.
+
  FlagItem <Integer [-2,# of teams-1] Team> <Number - PositionX> <Number - PositionY>
RepairItem <Integer - PositionX> <Integer - PositionY>
+
Creates a flag at the specified position that belongs to team Team.
  Creates a health pack at the specified position.
+
  Spawn <Integer [0,# of teams-1] Team> <Number - PositionX> <Number - PositionY>
FlagItem <Integer [-2,# of teams-1] Team> <Integer - PositionX> <Integer - PositionY>
+
Creates a spot where the players will spawn upon death.
  Creates a flag at the specified position that belongs to team Team.
+
  SpyBug <Integer [0,# of teams-1] Team> <Number - PositionX> <Number - PositionY>
Spawn <Integer [0,# of teams-1] Team> <Integer - PositionX> <Integer - PositionY>
+
Creates a spybug at the specified position that belongs to team Team.
  Creates a spot where the players will spawn upon death.
+
SpyBug <Integer [0,# of teams-1] Team> <Integer - PositionX> <Integer - PositionY>
+
  Creates a spybug at the specified position that belongs to team Team.
+

Revision as of 18:38, 19 June 2010

List of valid game objects/settings and their use. N means that the value is unknown.

  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 [1,N]>

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

  MinPlayers <Integer [1,N]>

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,N]>

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,N] - 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.