Black Lagoon Level Creation Guide The level file is a plain text file with the extension .lev The game is coded to use the file “level.lev” in the Game\level folder. The file can contain a single level or multiple levels. Each level contains a number of elements: • [Level] • [TerrainLayout] • [Player] • [Enemies] • [SpecialObjects] The last level should also contain • [LastLevel] [Level] The level element should be followed by the level number. E.g [Level] 1 [TerrainLayout] The terrain element should be followed by the number of terrain tiles in x and y direction. Followed by a metrics containing numbers from 0-20, representing the different tile types. The metrics should be 10 wide (x) and at least 10 deep (y). [TerrainLayout] 3 3 1 2 3 4 5 6 4 5 6 [Player] The player element sets the player’s starting point. [Player] x y v_x v_y r x: x-coordinate y: y-coordinate v_x: initial velocity in the x direction v_y: initial velocity in the y direction r: rotation, expressed as a factor of pi. [Enemies] [Enemies] N T x y v_x v_y r N: total number of enemeies T: enemy type, 0: Boat, 1: Gun, 2: Boss, 3: Gun Turret, 4: Small Gun Turret x: x-coordinate y: y-coordinate v_x: initial velocity in the x direction v_y: initial velocity in the y direction r: rotation, expressed as a factor of pi. [SpecialObjects] [SpecialObjects] N T x y N: total number of special objects T: special object type: 0:Level Mark, 1:Ammo, 2:Money, 3:Health x: x-coordinate y: y-coordinate [LastLevel] [LastLevel] 1 The last level element should be placed last and followed by 1 (as in true).