Page 1 of 1

Emoticon font: Keyboard shortcut

Posted: 06 Oct 2022, 19:54
by Acadie
Emoticon font: Keyboard shortcut
Author: Acadie
Description: Sofplus provide four emoticon in game but it is only accessed via specific key or through its hex code. A text shortcut will replace that.
Setup:
- Extract and place the func file to SOF PLATINUM/user/sofplus/addons

NOTE: To make them work, the string must start with either 'e' for echo, "s" for say, or t for team_say in console. Shortcut text must be isolated. Refer to the preview image to see how it works.
  • s Hello :)  <--RIGHT
  • s Hello:)   <--WRONG

Re: Emoticon font: Keyboard shortcut

Posted: 06 Oct 2022, 20:40
by Keifer
Nice, now import Discord emoticons :D
Wouldn't be shocked if a Discord to SoF and vice versa could be possible with a cheeky bit of Python

Re: Emoticon font: Keyboard shortcut

Posted: 21 Jan 2023, 01:47
by Acadie
Small update.
  • Bug fix to how the commands are defined
  • Added the command 't' for team_say
  • Only use one function for all three command instead of one function per command
  • No convoluted way to install. Just put the .func file to SOF PLATINUM/user/sofplus/addons and it's done.