Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add team portals #269

Open
2 of 4 tasks
chrahunt opened this issue Dec 26, 2021 · 1 comment
Open
2 of 4 tasks

Add team portals #269

chrahunt opened this issue Dec 26, 2021 · 1 comment

Comments

@chrahunt
Copy link
Owner

chrahunt commented Dec 26, 2021

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:

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. Add the base tile IDs (24, 25) to the recording script, so their dynamic values are recorded
  2. Add definitions to mapElements and floor_tiles in tiles.js, probably using the existing neutral portal texture coordinates
  3. (blocked on Resolve licensing of default texture pack #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
@chrahunt
Copy link
Owner Author

1 and 2 addressed in #271.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant