A plugin that allows admins to make custom CASSIE announcements.
I am no longer supporting this project, if you would like to contribute feel free to send a PR.
Smod2 must be installed for this to work.
Place the "CustomAnnouncements.dll" file in your sm_plugins folder. Users must be whitelisted to run commands through the remote admin console for the commands to work. You can do this by adding your rank to the server_command_whitelist
config option in your servers config file.
Any command requiring a text input can use various round data variables to use current data in the round. All normal words CASSIE can say can be found here. You can also put periods at the end of words for pauses in the announcement.
Any command using the remove keyword can use all
or *
to target all items. For instance, timer remove all
.
All settings are saved in %APPDATA%/SCP Secret Laboratory/CustomAnnouncements
.
Command | Value Type | Value Type | Value Type | Description |
---|---|---|---|---|
CA / CUSTOMANNOUNCEMENTS | Lists all commands. | |||
MTFA / MTFANNOUNCEMENT | SCPS LEFT | MTF NUMBER | MTF LETTER | Announces a MTF squad entrance. |
SCPA / SCPANNOUNCEMENT | SCP NUMBER | Announces a SCP death. | ||
TA / TEXTANNOUNCEMENT | TEXT | Create a custom announcement, view the wiki for all possible words. | ||
CD / COUNTDOWN | START NUMBER | END NUMBER | TEXT | Create a countdown with the option of saying something at the end of the countdown. |
PR / PRESET | SAVE / LOAD / REMOVE / LIST | PRESET NAME | TEXT | Creates/saves/loads/removes/lists the user's custom presets. |
TI / TIMER | SAVE / REMOVE / LIST | TIMER | TEXT | Creates/saves/removes/lists the user's set timers. Define a timer as an integer value being the number of seconds into a round the announcement will be played. Ex. ti save 50 hello classd will announce "hello classd" 50 seconds into the round. |
PA / PLAYERANNOUNCEMENT | SAVE / REMOVE / LIST | PLAYER NAME / STEAMID64 | TEXT | Sets an announcement to be played when a certain player joins the server. |
CHS / CHAOSSPAWN | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when chaos spawn. | |
RS / ROUNDSTART | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when the round starts. | |
RE / ROUNDEND | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when the round ends. | |
WP / WAITINGFORPLAYERS | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when the server begins waiting for players. Announcement will be played when the first player connects to ensure it isn't played before any players load in. | |
PE / PLAYERESCAPE | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when a player escapes. If several players escape in a short time period, only the first escape will be played to prevent clogging up the queue. | |
AW / AUTOWARHEAD | SET / CLEAR / VIEW | TEXT | Sets an announcement to be played when the warhead is activated via Smod's auto_warhead_start config option. |
Config | Value Type | Default | Description |
---|---|---|---|
ca_all_whitelist | List | Determines which ranks are allowed to use all commands. Setting this whitelist to any rank will override all other whitelists. | |
ca_mtf_whitelist | List | owner, admin | Determines which ranks are allowed to use the MTFA / MTFANNOUNCEMENT command. |
ca_scp_whitelist | List | owner, admin | Determines which ranks are allowed to use the SCPA / SCPANNOUNCEMENT command. |
ca_text_whitelist | List | owner, admin | Determines which ranks are allowed to use the TA / TEXTANNOUNCEMENT command. |
ca_countdown_whitelist | List | owner, admin | Determines which ranks are allowed to use the CD / COUNTDOWN command. |
ca_preset_whitelist | List | owner, admin | Determines which ranks are allowed to use the PR / PRESET command. |
ca_timer_whitelist | List | owner, admin | Determines which ranks are allowed to use the TI / TIMER command. |
ca_chaosspawn_whitelist | List | owner, admin | Determines which ranks are allowed to use the CS / CHAOSSPAWN command. |
ca_roundstart_whitelist | List | owner, admin | Determines which ranks are allowed to use the RS / ROUNDSTART command. |
ca_roundend_whitelist | List | owner, admin | Determines which ranks are allowed to use the RE / ROUNDEND command. |
ca_player_whitelist | List | owner, admin | Determines which ranks are allowed to use the PA / PLAYERANNOUNCEMENT command. |
ca_waitingforplayers_whitelist | List | owner, admin | Determines which ranks are allowed to use the WP / WAITINGFORPLAYERS command. |
ca_playerescape_whitelist | List | owner, admin | Determines which ranks are allowed to use the PE / PLAYERESCAPE command. |
ca_autowarhead_whitelist | List | owner, admin | Determines which ranks are allowed to use the AW / AUTOWARHEAD command. |