mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 12:03:11 +00:00
Re-added AI vocal announcements.
Unlike before, the announcement no longer require a huge list to work, saving up room from the string table. They also work while streaming resources, meaning they won't overlap; this is because the resources are sent when a user joins, instead of when the AI makes an announcement and it messes up the ordering. There have been improvements since last time, they now have a small delay of 10 seconds, which anyone is free to adjust. The help screen will now only preview the sound to the AI. The last announcement is saved to the AI's variables. There's a limit of how many words can be said in a single announcement.
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
if(config.resource_urls)
|
||||
src.preload_rsc = pick(config.resource_urls)
|
||||
else src.preload_rsc = 1 // If config.resource_urls is not set, preload like normal.
|
||||
|
||||
|
||||
src << "\red If the title screen is black, resources are still downloading. Please be patient until the title screen appears."
|
||||
|
||||
|
||||
@@ -241,6 +241,7 @@
|
||||
|
||||
//send resources to the client. It's here in its own proc so we can move it around easiliy if need be
|
||||
/client/proc/send_resources()
|
||||
preload_vox()
|
||||
getFiles(
|
||||
'nano/js/libraries.min.js',
|
||||
'nano/js/nano_update.js',
|
||||
|
||||
Reference in New Issue
Block a user