Revision as of 22:16, 24 May 2025 by Polavux(talk | contribs)(Created page with "==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). 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. {| class="wikitable sortable" !Key !Description !Type !Required? !Behavior when absent |- |<code>Size</code> | |Arra...")
The list of tracks that can be played in-game normally are defined in tracklist.json for singleplayer and coop_tracklist.json for 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.
Key
Description
Type
Required?
Behavior when absent
Size
Array of numbers
DifficultyColours
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 number of tracks of the previous difficulty the player is required to win on to unlock this track. Can be set to 0 or -1 to disable this requirement.
Integer
4
The rank the player is required to reach to unlock this track. Can be set to 0 or -1 to disable this requirement.
Indicates if the track is new to this version. If true, this track displays a special highlight on the track selection menu.
Boolean
7
If true, this track is hidden from the menu until the player meets its unlock criteria.
Boolean
Defaults to false
8
A list of tower IDs of towers the player must unlock in order to unlock this track.
Array of strings
LevelDefinitions
Map file
Key
Description
Type
Required?
Behavior when absent
Music
The background music.
String
entryMarkers
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.
Array of arrays
reverseEntryMarkers
Same as above, but for Reverse mode.
Array of arrays
ipadEntryMarkers
Array of arrays
ipadReverseEntryMarkers
Array of arrays
Modifiers
Array of strings
BossSpawn
In Bloons Monkey City, this is the ID of the boss to spawn after starting the first round (0 = Bloonarius, 1 = Vortex, 2 = Dreadbloon, 3 = Blastapopoulos). This also exists in Bloons TD 5, but is unused and has no apparent functionality.
Integer
Effects
A list of visual effects to apply.
"Fireworks": displays a fireworks show if the player wins the map (used on Fireworks)
"Snowfall": displays falling snow particles that are layered over all other sprites (used on The Rink and some other snow tracks)
"AnimatesBetweenRounds": idk but it's used on North Pole
Array of strings
OnNewGame
Unused.
Object
Path file
Props file
Mask file
Uses a custom file format. Some tracks in the console version (apparently the ones that had to be modified to define the extra horizontal space) use a slightly different format.
Address
Address (console)
Description
Size
—
0x0000
The file header. The first four bytes are always "NKBM" (Ninja Kiwi bitmap?), and the meaning of the last eight are unknown.