MSWS 50d078f78e feat: Refactor and enhance tripwire system functionality. +semver:minor
Enhance Tripwire System with New Configurations and API Interfaces

- Update `TripwireConfig.cs` to add new configurations for tripwire appearance and behavior, including multipliers for out-of-line-of-sight detection and settings for size, color, and thickness.
- Refactor `TripwireMovementListener.cs` to improve tripwire activation logic by adopting a new listener and tripwire tracking approach, hence enhancing code maintainability and operational checks.
- Introduce the `TripwireInstance.cs` file to define a record structure for managing tripwire-related properties, integrating with existing APIs.
- Implement new interfaces in `ITripwireActivator.cs` and `ITripwireTracker.cs` to support modular activation and tracking of tripwire instances, facilitating clear interaction definitions within the system.
- Revise `TripwireItem.cs` to refine tripwire management, incorporating new utility methods for vector-to-angle conversions and applying configuration-based settings for visual aspects of tripwires.
- Adjust the `VectorExtensions.cs` to include a new method for converting vectors to angles, improving calculations in tripwire functionalities.

Additionally, integrate changes across related files to enhance the overall functionality and maintainability of the Tripwire system within the platform.
2025-11-05 04:28:21 -08:00
2025-11-05 03:34:52 -08:00
2025-08-05 05:03:03 -07:00
2025-07-30 03:32:31 -07:00
2025-10-03 00:03:30 -07:00
2025-09-25 22:18:41 -07:00
2025-10-03 00:03:30 -07:00
2025-11-05 03:34:52 -08:00
2025-10-30 21:46:49 -07:00
2025-07-29 16:28:05 -07:00
2025-10-24 15:16:03 -07:00
2025-08-09 21:49:36 -07:00
2025-08-05 05:59:12 -07:00

TTT | ReadMe GitHub Release

Code Coverage Discord Endpoint Badge

TTT (Trouble in Terrorist Town) is a game mode similar to Among Us where a group of players are attempting to survive while eliminating the traitors among them.

Features

  • Unit Testing
  • Basic Gameplay
    • Traitors
    • Detectives
    • Innocents
  • Shop
  • Karma
  • Statistics
  • Map Integrations
  • Special Rounds

Versioning

This project adheres to Semantic Versioning 2.0.0. The versioning scheme consists of three components:

  • MAJOR version indicates incompatible API changes,
  • MINOR version signifies the addition of functionality in a backwards-compatible manner, and
  • PATCH version reflects backwards-compatible bug fixes.

Modules

TTT

You likely want to read the TTT README, which covers the structure of its own directory.

Versioning

To allow for MSBuild.GitVersion to be used on both Windows and Linux (specifically NixOS), this project manually converts dotnet-gitversion to the GitVersionInformation that is used.

Locale

Due to this project being primarily developed with Counter-Strike 2 (and more specifically, CounterStrikeSharp) in mind, localization has been built with flat-file storage based around YML/JSON.

In short, we write our locales in en.yml, run Locale.csproj to convert and combine all **/Lang/en.yml into a master lang/en.json, and then run our tests / release pipelines with it.

It is recommend to read the Locale README for more information on how to use it.

Development

  1. git clone ...
  2. dotnet restore
  3. dotnet build
  4. Convert all lang/en.yml -> lang/en.json (Required for testing, refer to Locale)
  5. dotnet test (Optional)
Description
No description provided
Readme AGPL-3.0 3.5 MiB
Languages
C# 86.4%
HTML 13.5%
Shell 0.1%