ChangeTextSound: Difference between revisions

m fixed broken link
Adex (talk | contribs)
Added additional parameter description for ChangeTextSound
 
Line 6: Line 6:
This patch allows you to change the sound the game plays when printing a character in Textboxes.
This patch allows you to change the sound the game plays when printing a character in Textboxes.


To set a new sound, the text-tag '''[TS:X]''' is used, with '''X''' being the sound effect ID. To reset the sound to the default one, the text-tag '''[TR]''' is used.
To set a new sound, the text-tag '''[TS:X:Y]''' is used, with '''X''' being the sound effect ID and '''Y''' being the volume. To reset the sound to the default one, the text-tag '''[TR]''' is used. If the '''Y''' parameter is not provided, a default volume of 256 is used.


This only works on textbox variants that usually make a sound when printing letters.
This only works on textbox variants that usually make a sound when printing letters.
{{NavPatches}}
{{NavPatches}}