Difference between revisions of "Level file syntax"

From Bitfighter
(supplied max value of gridsize)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
List of valid game objects/settings and their use.
+
List of (some) valid game objects/settings and their use.
N means that the value is unknown.
+
  
 
   LevelName <Text>
 
   LevelName <Text>
Line 10: Line 9:
 
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,1000]>
+
   GridSize <Number [5,1000]>
 
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,100]>
 
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,100]>
 
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
Line 24: Line 23:
 
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> <Number - Point1X> <Number - Point2Y>  ...
+
   BarrierMaker <Integer [1,255] - 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.

Latest revision as of 11:44, 7 November 2013

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.