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 | 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 | ||
|- | |- | ||
|< | |<tt>Size</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| Line 14: | Line 14: | ||
| | | | ||
|- | |- | ||
|< | |<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: | ||
| | | | ||
|- | |- | ||
|< | |<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: | ||
| | | | ||
|- | |- | ||
|< | |<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]]. | ||
*< | *<tt>0</tt>: Beginner | ||
*< | *<tt>1</tt>: Intermediate | ||
*< | *<tt>2</tt>: Advanced | ||
*< | *<tt>3</tt>: Expert | ||
*< | *<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 < | |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 < | |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 < | |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 < | |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 < | |If <tt>true</tt>, this track is hidden from the menu until the player meets its unlock criteria. | ||
|Boolean | |Boolean | ||
|{{n}} | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|8 | |8 | ||
| Line 110: | Line 110: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Music</tt> | ||
|The background music. | |The background music. | ||
|String | |String | ||
| Line 116: | Line 116: | ||
| | | | ||
|- | |- | ||
|< | |<tt>entryMarkers</tt> | ||
|The positions of the entrance markers that appear when the track is loaded. | |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 | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<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: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ipadEntryMarkers</tt> | ||
| | | | ||
|Array of arrays | |Array of arrays | ||
| Line 134: | Line 134: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ipadReverseEntryMarkers</tt> | ||
| | | | ||
|Array of arrays | |Array of arrays | ||
| Line 140: | Line 140: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Modifiers</tt> | ||
| | | | ||
|Array of strings | |Array of strings | ||
| Line 146: | Line 146: | ||
| | | | ||
|- | |- | ||
|< | |<tt>BossSpawn</tt> | ||
|In ''Bloons Monkey City'', this is the ID of the boss to spawn after starting the first round (< | |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}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Effects</tt> | ||
|A list of visual effects to apply. | |A list of visual effects to apply. | ||
*< | *<tt>"Fireworks"</tt>: displays a fireworks show if the player wins the map (used on [[Fireworks]]) | ||
*< | *<tt>"Snowfall"</tt>: displays falling snow particles that are layered over all other sprites (used on [[The Rink]] and some other snow tracks) | ||
*< | *<tt>"AnimatesBetweenRounds"</tt>: idk but it's used on [[North Pole]] | ||
|Array of strings | |Array of strings | ||
|{{n}} | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>OnNewGame</tt> | ||
|Unused. | |Unused. | ||
|Object | |Object | ||
| Line 184: | Line 184: | ||
|— | |— | ||
|<tt>0x0000</tt> | |<tt>0x0000</tt> | ||
| | |These four bytes are always "NKBM". (Ninja Kiwi bitmap?) | ||
|4 bytes | |4 bytes | ||
|- | |- | ||