Skip to content

PROTOCOL: Update to gameplay protocol extensions. #30

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

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

dsvensson
Copy link
Collaborator

Aligns QTV to currently enabled gameplay extensions:

  • PEXT_SPAWNSTATIC2 - Delta spawns for extended attributes
    • svc_fte_spawnstatic2
    • svc_fte_spawnbaseline2
  • PEXT_ENTITYDBL - Up to 1024 entities
  • PEXT_ENTITYDBL2 - Up to 2048 entities
  • PEXT_MODELDBL - Up to uint16 model indices
    • svc_fte_modellistshort
  • PEXT_TRANS - 1 byte alpha field on entities
  • PEXT_COLOURMOD - 3 byte colourmod on entities

Watching a stream of with alpha will require an ezQuake version newer than 2013, and if colormod is used, clients need to be 3.6.6 or newer. For alpha brushes to actually render correctly ezQuake 3.6.6 or newer needs to be used.

@dsvensson
Copy link
Collaborator Author

Just need to reboot and see if I have any more changes there.

Verified that old client can qtvplay this correctly if a map lacks alpha entities and colourmod is not in use, and if no colormod, outdated clients will not drop connection, just render stuff opaque. It correctly forwards data for both plain old mvdsv as well as new mvdsv+alpha/colormod, and it correctly streams both variants to the hub, where old mvdsv ofc lacks the alpha. Just have some final checks of various permutations during the day and this can be merged.

@dsvensson dsvensson merged commit 10ec78d into QW-Group:master Jan 26, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant