Closed Commenter25 closed 1 year ago
This might be better as a macro in gamemodes/jazztronauts/content/data/scripts_en/macros.txt
instead of a new dialogue command.
It's not a new command, it just adds onto what already exists. setspeaker
and setskin
work the same as they always have, and any previous usage of them will function the same. The only difference is that setspeaker
now has an optional extra parameter.
That's good, it sounds like it would be useful then. I was just worried that it might break existing custom dialogue scripts which use the old formatting, such as the Russian translation found at https://github.com/Livelandr/jazztronauts-ruspatch.
This is a super useful change to make that a nicer shorthand, should work without having to change anything. Thank you kindly!!
A quick time-saving idea I had while tweaking the dialogue. It's pretty common to use
setskin
right aftersetspeaker
. This allows you to optionally do both at the same time. So instead of doing*setspeaker cat_singer* *setskin cat_singer 4*
, you can just do*setspeaker cat_singer 4*
. Saves typing, keeps things visually cleaner, and will probably save a fuckton of bytes. I also have it change the skin before changing the speaker, to cut down on a bit of flickering.If this is merged, I'll convert things to the new syntax as I go along with dialogue changes. Or if it's preferred, I can do it now and add it onto this PR.