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

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.