Skip to main content

Changelog

This page documents the changes made to SA.

v1.1.*

v1.1.2 - 06/05/2025

YouTube Video:

Added:

  • Base Game Traffic Lights
    • Allows for the control of traffic at an intersection when an alert is received.
    • For more info see the video above, see here, and see here.

Fixed:

  • Issue where sending multiple alerts simultaneously would cause doors to not automatically close.
  • Issue where resource would not default back to English when using a broken language file.
  • Issue where when SA Tool is active, part of the core logic would loop instead of wait.
  • Issue where you could save "empty" drafts in the SA Tool.
  • Issue where when SA Tool is active, and current location had no doors, Computers and Hidden props would not be highlighted.
  • Issue where saving a draft in the SA Tool would not clear Hidden props and Computers from memory until another location was loaded.

v1.1.1 - 05/30/2025

Added:

  • New config options:
  • All Station Broadcast via Station Computer.
    • Similar to a message, but plays at all Stations.
    • Has its own Ace Permission: Broadcast
  • doors/rename POST API endpoint. See here for more info.
  • Regex support for TTS replacements. See here for more info.
  • Support for extra TTS replacement variables. See here for more info.
    • -stations-, -doors-, & -units-.
  • tones parameters to newAlert server export & alert POST API endpoints.
    • Allows for specifying a specific tone per station alerted.
    • For example, Station One might hear Tone One, while Station Two might hear Tone Two.
  • newMessage server export for sending messages to stations via export. See here for more info.
  • displayMessage parameters to newAlert, newAlertNearestStation and newAlertNearestStationWithPlayers server exports & alert and message POST API endpoints.
    • Allows for a separate message to be shown on call screens, versus what is read by TTS.
    • Example:
      • TTS: Station One: Engine One, Truck One, Fire at Postal 0 9 0
      • Call Screens: Station 1: E1 & T1. Fire @ Postal 090

Changed:

  • stationalert health command visual output, and the following extra info:
    • TTS replacements.
    • Addon validation status.

Fixed:

  • Isolated doors not updating when renamed.
  • Issue where incomplete JSON config values would throw an error.
    • A friendly error is now shown, and the default config value is used instead.
  • Issue where locations were marked as Dispatch Centers erroneously.
  • Issue where door names would not be displayed on the alert screen of call screens.
  • In-game menus showing out-of-date door names immediately following a door renaming.
  • Issue where location updates (such as door renames) while doors were opening/closing would cause traffic lights to incorrectly flash multiple colors.

v1.1.0 - 05/16/2025

YouTube Video:

Added:

  • Added Exterior Speakers.
    • Behave exactly the same as Ceiling Speakers, but are designed to be placed outside.
  • Message Screen for Call Screens
    • When a message is sent to the station, it will display on the Call Screens for 20 seconds before returning to the screensaver.
    • custom_message_url has also been added for Custom Call Screen users. See here for more info.
  • Support for per-station logos. See here for more info.
  • Yellow and Magenta as color options for Unit Indicators.
  • In-game menu to temporarily rename doors. See here for more info.
  • Support for overriding Custom Call Screen URLs via convars. See here for more info.
    • This allows for accents and non-ASCII characters in URLs. See here for more info.
  • In-game menu to temporarily isolate (lock open or closed) doors. See here for more info.
  • tts-replace.json which will replace matching entries in all text-to-speech messages. See here for more info.
    • For example, replacing A, B, & C with Alpha, Bravo, and Charlie.
  • Events:
    • NewMessage server event that is fired when a message is sent to a station. See here for more info.
  • API:
  • Exports:

Changed:

  • Refactored logic that loads required models for stations to remove unnecessary variable assignment.
  • Refactored logic that creates alerts to removed duplicated message variable accidentally introduced in Sonoran Edition.
  • Custom Call Screen URL logic such that when custom_urls is true, if any of the custom URLs are empty (""), they will default back to the built-in URLs.

Fixed:

  • Issue where if all doors were deselected in the in-game Call Creation menus, all the doors at a station would open, instead of none.

Removed:

  • Temporary zFires hook.
    • zFires has been updated to include the required code as part of the download. See here for more info.
    • Make sure to update your copy of zFires!

v1.0.*

v1.0.9 - 05/05/2025

Added:

  • /stationalert duifix command for players with the Flipped DUI Bug. See here for more info.
  • Friendly error for when invalid user-provided JSON config values fail to load, indicating as such.
  • tones.json which allows tone names with accents and non-ASCII characters. See here for more info.

Changed:

Fixed:

v1.0.8 - 04/29/2025

warning

Significant changes to ic_sa_language were made in this version, do not blindly update.

Changed:

  • Warning about locations not having any lights and doors, to warning about not having any lights or any doors.
  • Wording of SA Tool when saving a draft.
  • Completely redone language system.
    • Was required as .cfgs don't support accents.
    • ic_sa_language is now a language short code (e.g., en-us). See here for more information.
    • Translations have moved from config.cfg to individual files per-language inside a new folder called languages.

Fixed:

  • Text-to-Speech requests containing accents failing.
  • "Update Doors" button in Sonoran CAD not properly opening/closing doors in-game.
  • No doors closing after timeout when all doors were opened for an Alert.
  • Sonoran CAD not being sent required config when validation failed on the first attempt.
  • -station- appearing on call screens instead of the name of the station, when using server exports.
  • Multiple alerts resulting in:
    • Duplicated follow-up messages
    • Doors closing too soon
    • Lights turning off too soon

v1.0.7 - 04/27/2025

Added:

  • Higher resolution DUI for Call Screen
    warning

    Restarting the resource while using the new Call Screen will cause the Call Screens to all go black.
    This is because of how FiveM un/loads the replacement asset, and we cannot fix this.
    If you need to restart the resource a lot (i.e. because you are developing/testing a custom call screen), we suggest moving the xm_prop_x17_tv_ceiling_scn_02.ydr file out of the stream folder temporarily.

Changed:

  • Further increased the Sonoran Edition timeout validation logic.
  • Server info logs to be blue, making them easier to locate in the log.

Fixed:

  • Typo in config value: is_sa_ttsSpeechRate should be ic_sa_ttsSpeechRate.
  • A blank timer appearing for one second when the Call Screen first changes to the Alert page.

v1.0.6 - 04/24/2025

Added:

  • Call Screen
    • When not Alerted, displays a screensaver with the station name, current time, and customizable logo.
    • When Alerted, displays call details, door states, and time since alert.
    • Can display custom pages/websites if configured to do so.
    • See here and here for more information.

Fixed:

  • Models not being unloaded from memory when no longer required.
  • Issue with doors not auto-closing after the time set in the config.
  • Error message triggered when models failing to load, not listing the correct model names.
  • Edge case where SA Tool would completely fail to load when provided bad data, instead of showing a helpful error message.

v1.0.5 - 04/22/2025

Added:

Fixed:

  • Edge case where Unit Indicators at Stations with no doors would never activate.
  • Edge case where restarting the resource after the server had started, while doors where not fulled closed, would result in traffic lights showing multiple colors.
  • Bug where the Door Buzzer would incorrectly always show doors as "Closed".
  • Bug where props would spawn, despawn, an error would show, and then prop respawn.

v1.0.4 - 04/19/2025

Added:

  • Hook for EmergencyDispatch.
  • ic_sa_slowerDoors config option.
  • Coloured radii in the SA Tool that indicate the approximate range of Speakers.
    • To help prevent excess overlap and aid in proper coverage of stations.

Changed:

  • Improved error logging when prop models are not loading correctly.
  • Sonoran Edition version validation logic.
    • Will now try twice before exiting.
    • Waits longer to account for slow server boot time.
  • Improved logic that sends location data to the client.

Fixed:

  • Bug in the third-eye code that preventing interaction with most Computers and Door Controls.

v1.0.3 - 04/17/2025

Added:

  • "Close All" button to Door Controls.
  • Hook for CD_Dispatch.
  • Filter to TTS.
    • A reminder that TTS usage is logged and reviewed... please be kind to people on the internet.

Changed:

  • Improved TTS error logging.
    • Helpful errors will now appear in the server console when there is a TTS error.

Fixed:

  • Server crash when duplicate messages were submitted at the same time.
  • An issue with SA that resulted in a single zFire fire, creating multiple alerts.
  • Super embarrassing typo somewhere.
    • No I'm not going to tell you what it was. Yes I'll deny this ever happened. No you'll never find it.

Removed:

  • Requirement for Station Locations to have at least one light and one door.
    • This now allows for "Dispatch Centers" to be placed, which can create alerts but not receive them.

v1.0.2 - 04/14/2025

danger

Breaking changes to the Exports were made in this version, do not blindly update.

Added:

  • Ability to broadcast a TTS message to a Station from a Computer, without creating a full alert.
    • Think of it like broadcasting over a PA, except it's a TTS message.
  • is_sa_ttsSpeechRate config option, to change how fast the TTS is read out.

Changed:

  • Several server exports:

Fixed:

  • "Press E to..." prompts displaying even when already inside a menu.
  • Messages (like "90 seconds") only placing through one speaker, and not all speakers.

v1.0.1 - 04/13/2025

Added:

  • Temporary hook for zFires.

Fixed:

  • editable files being escrowed.

v1 - 04/11/2025

Easy Access release.