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

ReDM Obj: Capture Points #138

Open
SergeyShorokhov opened this issue Nov 27, 2024 · 0 comments
Open

ReDM Obj: Capture Points #138

SergeyShorokhov opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@SergeyShorokhov
Copy link
Collaborator

ReDM Obj: Capture Points

Description

Implementation of the capture points (spawn points) mechanic for the Capture Points mode.

Mechanics:

  • At the start of the map, all spawn points are neutral, and both CT and T can spawn on them.
  • The more players are near a point, the faster it is captured.
  • If the player capturing the point takes damage, their progress is not counted.
  • Each point has a cooldown to reset progress, lasting 3 seconds.
  • Upon capture, a Progress Bar will appear showing the capture progress.

ObjectiveManager goals:

  • ObjectiveManager will track the overall progress of the task, such as the number of captured points, but should not manage individual points. Its responsibility is the general task progress tracking.
  • The capture point mechanics should be a separate component that tracks each point’s state, progress, and performs actions such as progress reset or resuming capture after taking damage.

Requirements

  1. Capture Mechanics:

    • Multiple players in the capture point radius should increase the capture speed.
    • Capture progress should reset if the player takes damage during the capture.
    • Cooldown on capture progress reset: 3 seconds.
    • Capture progress should be displayed via the Progress Bar.
  2. ObjectiveManager:

    • Responsibility: Track task progress (e.g., number of captured points) without interacting with specific points.
    • Proper integration with other mods is necessary if they use the objectives system.
@SergeyShorokhov SergeyShorokhov added the enhancement New feature or request label Nov 27, 2024
@SergeyShorokhov SergeyShorokhov added this to the 1.1.0 milestone Nov 27, 2024
@SergeyShorokhov SergeyShorokhov self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant