Emoticon font: Keyboard shortcut

Post Reply
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

Emoticon font: Keyboard shortcut

Post 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
Attachments
emoticon.zip
(1.75 KiB) Downloaded 19 times
2022-10-06_183842_338.png
Reactions: 16
Posts: 595
Joined: 19 Dec 2011, 21:35

Re: Emoticon font: Keyboard shortcut

Post 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
Reactions: 15
Posts: 718
Joined: 23 Nov 2011, 16:42
Location: Canada

Re: Emoticon font: Keyboard shortcut

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests