Skip to content

TextCallouts 1.9.0

Choose a tag to compare

@kennethyork kennethyork released this 06 Oct 00:08
· 47 commits to main since this release

TextCallouts 1.9.0

Every callout has a script now. Three hundred and twenty-six of them, nine hundred and eighty-one lines.

Four callouts could be talked to before this. Now all of them can: walk up to the suspect in an armed
robbery, type at them, and they answer in character, out of that callout's own lines, in order, with no
language model running at all.

I have not touched the till. Ask them, I have not touched it.
The gun is not real. Look at it, it is not real.
I came in for cigarettes. That is the whole of it.

Somebody who has said their piece repeats their last line rather than going mute. A callout's people
answer before TextDispatch's own scripted replies and before Ollama, so the answer is instant and works
with no model installed.

In a medical callout it is the patient who answers. The 53 recipes with a patient used to spawn a
suspect as well, and the lines went to that stranger instead - the woman with chest pain answered as
somebody else. They now spawn the caller or the family as a bystander and hand the script to the patient,
so asking how it started gets you the answer before you move her.

Where the lines live. tools\callout-dialogue.psd1, keyed by callout id, one entry per callout. It
is a data file rather than code (Import-PowerShellDataFile parses it as data, so nothing in it can run),
and the generator attaches each entry to its recipe as it registers it, which keeps the table below a
table of scenes.

It cannot ship without one. The generator refuses to write a library where any callout has no script,
fewer than three lines, a line repeated within a script, a line too long to read in a box, or an
apostrophe that would break the data file, and it refuses a key in the dialogue file that is not a
callout. The recipe harness then reads the finished library back with the pack's own parser and checks
the same things again, plus who the lines are handed to: 28 checks, no failures.

The install script was fixed. tools\install-textcallouts.ps1 copied the plugin and nothing else, so
updating left the previous library in place - which looks exactly like a pack that has stopped working,
because the new callouts are not in the folder it reads. It now installs the library too, reports the
recipe and script-line counts, names any recipe that arrived without a script, and leaves the player's own
Custom\ folder alone.

The numbers: 344 callouts, 326 of them XML recipes in Plugins\LSPDFR\TextCallouts\Library. By duty:
LSPD 144, Sheriff 60, EMS 59, Highway Patrol 40, Fire 33, Park Rangers 28, Prison 16, any agency 2. A
callout offered to several duties is counted once for each.

Install, or upgrade

  1. Close GTA first.
  2. Copy TextCallouts.dll into <your GTA V folder>\Plugins\LSPDFR\.
  3. Copy the Library folder into <your GTA V folder>\Plugins\LSPDFR\TextCallouts\, replacing what is
    there. Your own Custom folder is untouched.
  4. For the talking: TextDispatch 1.0.21 or newer, which is what asks a callout for its lines. Without
    it the lines are simply never asked for and everything behaves as it did before.

Files

TextCallouts.dll   1.9.0.0
INSTALL.txt        install notes, the callout list, the by-duty table, what they say
Library\           326 XML recipe callouts, 981 script lines
LICENSE            MIT

Requirements

GTA V (Legacy or Enhanced), RAGE Plugin Hook, LSPDFR 0.4.9 or newer, .NET Framework 4.8. Optional:
TextDispatch, for the callouts in the box and for the people answering.

Licence

MIT - it covers this pack only.