User:Polavux/Technical:Bloons TD 5 (multiplatform)/Tracks: Difference between revisions

mNo edit summary
Line 1: Line 1:
==Track lists==
==Track lists==
The list of tracks that can be played in-game normally are defined in <code>tracklist.json</code> for singleplayer and <code>coop_tracklist.json</code> for [[Co-op (BTD5)|Co-op]]. Both files use the same structure. Any tracks without an entry in either of these files in the vanilla game are exclusive to Special Missions and events or are unused.
The list of tracks that can be played in-game normally are defined in <code>tracklist.json</code> for singleplayer and <code>coop_tracklist.json</code> for [[Co-op (BTD5)|Co-op]]. Both files use the same structure. Any tracks without an entry in either of these files in the vanilla game are exclusive to Special Missions/events or are unused.
{| class="wikitable sortable"
{| class="wikitable sortable"
!Key
!Key
Line 8: Line 8:
!Behavior when absent
!Behavior when absent
|-
|-
|<code>Size</code>
|<tt>Size</tt>
|
|
|Array of numbers
|Array of numbers
Line 14: Line 14:
|
|
|-
|-
|<code>DifficultyColours</code>
|<tt>DifficultyColours</tt>
|The colour values to use when displaying a track's name. Each array is three entries long and the values correspond to the red, green, and blue channels in that order.
|The colour values to use when displaying a track's name. Each array is three entries long and the values correspond to the red, green, and blue channels in that order.
|Array of array of numbers
|Array of array of numbers
Line 20: Line 20:
|
|
|-
|-
|<code>DifficultyDescriptions</code>
|<tt>DifficultyDescriptions</tt>
|The localisation keys for the difficulty levels.
|The localisation keys for the difficulty levels.
|Array of numbers
|Array of numbers
Line 26: Line 26:
|
|
|-
|-
|<code>Tracks</code>
|<tt>Tracks</tt>
|The list of track entries.
|The list of track entries.
|Array of arrays
|Array of arrays
Line 43: Line 43:
|0
|0
|The [[map difficulty|track difficulty]].
|The [[map difficulty|track difficulty]].
*<code>0</code>: Beginner
*<tt>0</tt>: Beginner
*<code>1</code>: Intermediate
*<tt>1</tt>: Intermediate
*<code>2</code>: Advanced
*<tt>2</tt>: Advanced
*<code>3</code>: Expert
*<tt>3</tt>: Expert
*<code>4</code>: Extreme
*<tt>4</tt>: Extreme
|Integer
|Integer
|
|
Line 65: Line 65:
|-
|-
|3
|3
|The number of tracks of the previous difficulty the player is required to win on to unlock this track. Can be set to <code>0</code> or <code>-1</code> to disable this requirement.
|The number of tracks of the previous difficulty the player is required to win on to unlock this track. Can be set to <tt>0</tt> or <tt>-1</tt> to disable this requirement.
|Integer
|Integer
|
|
Line 71: Line 71:
|-
|-
|4
|4
|The [[level|rank]] the player is required to reach to unlock this track. Can be set to <code>0</code> or <code>-1</code> to disable this requirement.
|The [[level|rank]] the player is required to reach to unlock this track. Can be set to <tt>0</tt> or <tt>-1</tt> to disable this requirement.
|Integer
|Integer
|
|
Line 77: Line 77:
|-
|-
|5
|5
|Indicates if the track has water. If <code>true</code>, the [[Monkey Sub (BTD5)|Monkey Sub]] and [[Monkey Buccaneer (BTD5)|Monkey Buccaneer]] can be randomly selected on this track in [[Daily Challenge (BTD5)|Daily Challenge]]s.
|Indicates if the track has water. If <tt>true</tt>, the [[Monkey Sub (BTD5)|Monkey Sub]] and [[Monkey Buccaneer (BTD5)|Monkey Buccaneer]] can be randomly selected on this track in [[Daily Challenge (BTD5)|Daily Challenge]]s.
|Boolean
|Boolean
|
|
Line 83: Line 83:
|-
|-
|6
|6
|Indicates if the track is new to this version. If <code>true</code>, this track displays a special highlight on the track selection menu.
|Indicates if the track is new to this version. If <tt>true</tt>, this track displays a special highlight on the track selection menu.
|Boolean
|Boolean
|
|
Line 89: Line 89:
|-
|-
|7
|7
|If <code>true</code>, this track is hidden from the menu until the player meets its unlock criteria.
|If <tt>true</tt>, this track is hidden from the menu until the player meets its unlock criteria.
|Boolean
|Boolean
|{{n}}
|{{n}}
|Defaults to <code>false</code>
|Defaults to <tt>false</tt>
|-
|-
|8
|8
Line 110: Line 110:
!Behavior when absent
!Behavior when absent
|-
|-
|<code>Music</code>
|<tt>Music</tt>
|The background music.
|The background music.
|String
|String
Line 116: Line 116:
|
|
|-
|-
|<code>entryMarkers</code>
|<tt>entryMarkers</tt>
|The positions of the entrance markers that appear when the track is loaded. In each entry, the first element is an array of two elements representing the X and Y coordinates in units, and the second element is the rotation in degrees.
|The positions of the entrance markers that appear when the track is loaded. Each entry is an array of two elements: the first is an array of two numbers for the X and Y coordinates in units, and the second element is the rotation in degrees.
|Array of arrays
|Array of arrays
|
|
|
|
|-
|-
|<code>reverseEntryMarkers</code>
|<tt>reverseEntryMarkers</tt>
|Same as above, but for Reverse mode.
|Same as above, but for Reverse mode.
|Array of arrays
|Array of arrays
Line 128: Line 128:
|
|
|-
|-
|<code>ipadEntryMarkers</code>
|<tt>ipadEntryMarkers</tt>
|
|
|Array of arrays
|Array of arrays
Line 134: Line 134:
|
|
|-
|-
|<code>ipadReverseEntryMarkers</code>
|<tt>ipadReverseEntryMarkers</tt>
|
|
|Array of arrays
|Array of arrays
Line 140: Line 140:
|
|
|-
|-
|<code>Modifiers</code>
|<tt>Modifiers</tt>
|
|
|Array of strings
|Array of strings
Line 146: Line 146:
|
|
|-
|-
|<code>BossSpawn</code>
|<tt>BossSpawn</tt>
|In ''Bloons Monkey City'', this is the ID of the boss to spawn after starting the first round (<code>0</code> = Bloonarius, <code>1</code> = Vortex, <code>2</code> = Dreadbloon, <code>3</code> = Blastapopoulos). This also exists in ''Bloons TD 5'', but is unused and has no apparent functionality.
|In ''Bloons Monkey City'', this is the ID of the boss to spawn after starting the first round (<tt>0</tt> = Bloonarius, <tt>1</tt> = Vortex, <tt>2</tt> = Dreadbloon, <tt>3</tt> = Blastapopoulos). This also exists in ''Bloons TD 5'', but is unused and has no apparent functionality.
|Integer
|Integer
|{{n}}
|{{n}}
|
|
|-
|-
|<code>Effects</code>
|<tt>Effects</tt>
|A list of visual effects to apply.
|A list of visual effects to apply.
*<code>"Fireworks"</code>: displays a fireworks show if the player wins the map (used on [[Fireworks]])
*<tt>"Fireworks"</tt>: displays a fireworks show if the player wins the map (used on [[Fireworks]])
*<code>"Snowfall"</code>: displays falling snow particles that are layered over all other sprites (used on [[The Rink]] and some other snow tracks)
*<tt>"Snowfall"</tt>: displays falling snow particles that are layered over all other sprites (used on [[The Rink]] and some other snow tracks)
*<code>"AnimatesBetweenRounds"</code>: idk but it's used on [[North Pole]]
*<tt>"AnimatesBetweenRounds"</tt>: idk but it's used on [[North Pole]]
|Array of strings
|Array of strings
|{{n}}
|{{n}}
|
|
|-
|-
|<code>OnNewGame</code>
|<tt>OnNewGame</tt>
|Unused.
|Unused.
|Object
|Object
Line 184: Line 184:
|—
|—
|<tt>0x0000</tt>
|<tt>0x0000</tt>
|The first four bytes are always "NKBM" (Ninja Kiwi bitmap?), and the meaning of the last eight are unknown.
|These four bytes are always "NKBM". (Ninja Kiwi bitmap?)
|4 bytes
|4 bytes
|-
|-