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

Teamplay Tripmine Color Fix #132

Merged
merged 4 commits into from
Jun 28, 2024
Merged

Teamplay Tripmine Color Fix #132

merged 4 commits into from
Jun 28, 2024

Conversation

ampreeT
Copy link
Owner

@ampreeT ampreeT commented Jun 28, 2024

The root of the problem is that map-placed tripmines are set to team 0 and the game forces beamteam/spriteteam to use a team color when mp_teamplay is set to 1. This PR fixes the incorrect tripmine sprite and beam color by creating a new beam and sprite.

Fixes #25.

Before:
image

After:
269643324 29999995_image

Changes:

  • Fixed map-placed tripmine color being incorrect when mp_teamplay is set to 1
  • Cleaned up classdef.inc to follow naming conventions

@ampreeT ampreeT merged commit 338fb21 into master Jun 28, 2024
2 checks passed
@ampreeT ampreeT deleted the tripmine-color branch June 28, 2024 20:28
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.

tripmines lose their bright blue laser beam color when the convar mp_teamplay is set to 1
1 participant