Are you interested in a plugin to broadcast audio?
Hi folks,

I have found a way to broadcast audio. 
I can replay streaming audio (shoutcast, etc) or play back scripted audio, or even do text-to-speech so you can talk to "things" (NPC?).

What would you do with this, should I put the effort into polishing this or is it a dead duck?

Ideas so far;
  • Radio station for broadcast
  • Radios to listen in to streaming services
  • Walkie talkies
  • Metal detector / audio alerts / etc
  • Telephones
  • Anti-raid "hey you there"
  • AI NPC you can talk to via voice

Rules are.
  1. You can transmit to 1:1 (server -> specific player)
  2. You can transmit 1:many (server -> many players)
  3. I use a spectating "NPC" (BasePlayer object), sadly a "." and name appear ( name can just be spaces or a number )
  4. I can attach it to fixed position (radio, speaker, etc) or attach to player mode
  5. Not sure if this will be a server performance killer, will experiment based on your answers...

Old discussions

Plugins that already do in-game voice playback
@zyankali@misticos@Wulf@Kaniggel@Hunt3r101
Tagging the guys who specifically were trying to develop this themselves, since I never saw anyone complete this.
I don't know that I was ever interested, but I believe the concept has been out there though not really taken advantage of yet. Nice to see you're still lurking around these parts though, been a while!
Please make the patrol helicopter play Ride of the Valkyries.
I know many people who've achieved this, and good job you did this as well I just don't need it so didn't investigate much. And by the way, I read most of new threads except plugin support so there was no need for the mention haha :p
Zugzwang
Please make the patrol helicopter play Ride of the Valkyries.

You mean "Fortunate Son".

I am interested in studying the code you use to make this happen. Last time I tried, my test server crashed and i gave up. I am aware of the HumanNPC method, but I always hoped for / tried making another way to input the audio, instead of recording it in game. 
If you are willing to share, that would be really appreciated. Also if you need help with anything, coding or brainstorming, hit me up! 
hey @Wulf, yeah the hacking got bad for a bit, and then I had a kid so couldnt find time.  Back for a bit with some new ideas, one of them started 3 years ago with streaming, and thanks to Rust VOIP moving to server-side I can finally get my radio Rust.FM concept off the ground.

Anyone inserested in the code can go have a look here;
https://github.com/LucienMP/Rust-Voice-Streaming-Plugin
Would love to see a Walkie-talkies plugin where members of my server could use RF transmitters as voice communications for up to a configurable distance, maybe use receivers and broadcasters to boost signals further? My server doesn't allow the use of discord as you can from half the map away call reinforcements to you from your faction. A plugin like this could be a really nice and "vanilla" way to compromise and give better communication to players while still avoiding that situation.

I love this idea. We have a radio station that we run for all our game guilds/fleets/servers and this would be awesome to have! Let me know if you need a test server!

 

My idea use? I would create a "radio" and sell it at a shop and people could turn it on and it would play a few streams that were programmed into it. A simple on off switch and a few set stations, so maybe additional switches for the channels.