/swam_extensions

StarMash mod extensions

Primary LanguageJavaScriptMIT LicenseMIT

SWAM Mod Extensions

StarMash Mod Extensions

View issues | Create new issue

Shield Timer for CTF v1.4

Install URL: https://detect.github.io/swam_extensions/assets/shield_timer.js

When player sees that the shield at enemy base is taken, it will automatically start a countdown timer to when the shield will spawn again. Countdown timer is displayed under the flags captured at the top. Shield Timer can send current timer to team chat based on mod settings. It will listen to team chat to sync timer from other players unless timer is already active. Shield Timer will also optionally send local player only message about direction and distance of randomly spawned shields near the player.

Mod Settings

  • Enable/disable automatically sending messages to team chat (default enabled)
  • Customize intervals (comma separated) in seconds to send timer to team chat (default 100, 30, 10)
  • Enable/disable sending local messages about spawned shields (default enabled)

In-Game UI

  • If auto-team chat setting is enabled, pressing b key will toggle (disable/enable) sending timer to team chat.
  • If auto-team chat setting is disabled, pressing b key will send current timer to team chat.
  • Pressing n key manually toggles (starts/stops) timer.

Improved Shuffle for CTF v0.8 alpha

Install URL: https://detect.github.io/swam_extensions/assets/shuffle.js

After a CTF match ends and teams are shuffled, this will compare the number of blue vs red players. If player is on a team with more than two non-spectating players than the other team, a modal will pop up asking if the player wants to try and re-join the team with less players.

On re-join, if player successfully switched teams, a general chat message will be sent (ie. Switched to blue to balance teams. 10 blue vs 15 red).