Miscellanious Canvas - SuedOnAIM/RF_CustomHUD_Edits GitHub Wiki
Kill Feed
The CanvasGroup controls the transparency for both the kill and chat feed. When no new message is created, the CanvasGroup lowers in transparency and hides both feeds.
KillFeed is a text box that houses the script and where kills are displayed. KillFeed's text supports team colors but to change the color, you must edit the CustomHUD_SimpleGameFeed.lua script. Replace the team hex codes with your preferred color's hexadecimal value.
You can also edit the max amount of KillFeed lines here too.
Chat Feed
ChatFeed is based off SteelRaven7's ingame chat feed mutator.
It is a child of KillFeed's CanvasGroup because the chat feed mutator only generates lines when bots kill/get killed. I wanted to make the chat feed hide when no new messages were posted, so it was easiest to make it hide with the kill feed.
Chat BG is just a dark square background for ChatFeed to be easier to read.
ChatFeed is a textbox where the chat lines will appear.
There's 4 categories of lines bots can use.
- Killer: lines for when bots kill someone
- Killed: lines for when bots die
- TeamKiller: lines for when a bot teamkills
- TeamKilled: lines for when a bot is killed by a teammate
use @%s to say the name of the target
in this example, bot SudoName kills bot Tug and says this line:
"SudoName: nailed @Tug like how i nailed his mom lmao"
the source line is:
"nailed @%s like how i nailed his mom lmao",
If you want to add your own lines, you can add them in the SudoChatFeed.lua script.
Mutator Configuration
Configuration requires:
Bool id: feedEnabled
Bool id: displayKills
Bool id: showCapturePointUpdates
String id: blueTeamName
String id: redTeamName
String id: displayName