Team portals are a new TagPro feature that only allow players from the corresponding team to pass through. They use new textures, one for red and one for blue, with the same dimensions as the original portal texture image. From [the wiki](https://www.reddit.com/r/TagPro/wiki/api#wiki_tiles), the relevant tile IDs are: ID | Tile -- | -- 24 | Active red portal 24.1 | Inactive red portal 24.11 | Inactive red portal (respawn warning) 25 | Active blue portal 25.1 | Inactive blue portal 25.11 | Inactive blue portal (respawn warning) These are the places that need to be updated 1. [x] Add the base tile IDs (24, 25) to the [recording script](https://github.com/chrahunt/TagProReplays/blob/6933a63bebd0c454396242357d019dfa938c737e/src/js/recording.js#L55), so their dynamic values are recorded 2. [x] Add definitions to `mapElements` and `floor_tiles` in [tiles.js](https://github.com/chrahunt/TagProReplays/blob/6933a63bebd0c454396242357d019dfa938c737e/src/js/modules/tiles.js), probably using the existing neutral portal texture coordinates 3. [ ] (blocked on #265) Add default textures, texture upload UI elements, and wire up custom texture persistence 4. [ ] Update the team portal definitions to use the new textures
Team portals are a new TagPro feature that only allow players from the corresponding team to pass through.
They use new textures, one for red and one for blue, with the same dimensions as the original portal texture image.
From the wiki, the relevant tile IDs are:
These are the places that need to be updated
mapElementsandfloor_tilesin tiles.js, probably using the existing neutral portal texture coordinates