Lore phone calls
A lore character (one of the Director's named NPCs) phones a player, and a recorded line plays into the call as them talking. It needs whip_voice and its voice bot (Setting up whip_voice).
1. Record the lineServer owners
Any recorder works. Save it as mp3, ogg or wav, up to 2 minutes and 15 MB (a minute of mp3 is about 1 MB).
2. Put it where the voice bot can reach itServer owners
| Where | How | Name it as |
|---|---|---|
| Fivemanage | Dashboard → Storage → Upload. Tick Retention Exempt (else Fivemanage can delete it after a set time), upload, and copy the file's link. Anyone with the link can listen | https://r2.fivemanage.com/abc123/irwin-intro.mp3 |
| A resource of yours | Put the file in it and ensure the resource. Don't list it in files {}: the voice bot reads it on the server, and players never download it. This is how a story ships its voice lines | @my_story/audio/irwin_intro.ogg |
3. Hear itServer owners
With a lore character (/whip → Director → Lore characters), a phone with a SIM on you and dev tools on (/w):
/lorecall https://r2.fivemanage.com/abc123/irwin-intro.mp3
/lorecall @my_story/audio/irwin_intro.ogg mags -- from the lore character whose key is magsYour phone rings from their number. Answer: the line plays, they hang up, and chat says how it went.
4. In a scenarioServer owners
Add a Phone Call card (the green Lore group): From (the lore character; empty is the scenario's own), Recording (the link or @ name) and To (the players). It goes on by how the call went:
| Outcome | When |
|---|---|
| Heard it all | They answered and heard it to the end |
| Hung up early | They hung up while it played |
| Declined · Missed | They declined it, or it rang out |
| Busy · No phone | Already on a call, or no phone with a SIM on them |
| Didn't work | It couldn't ring at all; the run's log says why |
Several players each get their own call, and the card goes on by the best outcome. In a Test it runs for real, but rings only you.
The caller's picture. In Lore characters, press Edit picture, paste a Fivemanage picture link, frame it and Save. It shows on the call screen and in Contacts, Messages and Recents. Accepted sites are Picture links accepted in /whip → Settings → Config → Server.
When it doesn't play
| It says | Do |
|---|---|
| only links starting with https://r2.fivemanage.com/ are accepted | Use a Fivemanage link or an @ name. For another site, add its start to Config.VoiceBot.audioLinks in whip_voice's config.lua (with your own voice server, the bot's config.json) |
| the recording is over 120 seconds · over 15 MB | Shorten it, or save it as mp3 |
| there is no irwin_intro.ogg · the resource my_story is not started | Check the path inside the resource, and that the resource is ensured |
| You need a phone with a SIM on you | The call rings the phone you carry |
| needs whip_voice and its voice bot | whip_voice isn't started, or its voice bot isn't set up (/voicecheck checks the bot) |