Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

ReDM Obj: Capture Points #138

@wopox1337

Description

@wopox1337

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions