NxLabs / Insurgency: Sandstorm
HUD Messenger
Displays center text or chat text to clients based on configurable triggers
Description
Provides options to display center HUD text or chat messages to clients based of periodic or round/objective triggers. There are a handful of different triggers that can be used and explanatory text put in as default. To disable any one just remove the text in the respective inputs. Each trigger has the option to display the message to the center text or the chat message using the respective bUseChatFor... By default all will display to center text except for Round Over. Emphasis can be added using <Bold>text</> and multiple lines can be added by using \r\n. This is shown in the example for RoundStartText. Any text loop or trigger can also use the variable $count to pull in the current bot count. This could be used to periodically display how many bots there are alive periodically or at round start. Config that is not Text or bUseChatFor are described in the table below:
MUTATOR=HUDMESSENGER
CONFIG VARIABLE DESCRIPTION
bDisplayEveryRound If set to true, then the Round Start message will display every round start. If set to False, then the message will only be printed the first round of each game.
RoundStartDelay This sets how long after round start to display the message. If set to 0, then players may miss the message if still in loadout.
DisplayLoopTimer This sets the loop delay which triggers the LoopText. This is in seconds, so by default every 60 seconds a message will be displayed to the HUD. Setting to <= 1 will disable
DisplayLoopTimer2 This sets the loop delay which triggers the LoopText2. This is in seconds, so by default every 120 seconds a message will be displayed to the HUD. Setting to <= 1 will disable
CountThreshold This sets the number of bots that when reached will trigger a message to be printed. $Count can be placed within by Default this would be "Only 2 Enemies Left"
[/HUDMessenger/Mutators/HUDMessenger.HUDMessenger_C] bDisplayEveryRound=True RoundStartDelay=10 RoundStartText="<Bold>Welcome</>\r\nRound Started"
DisplayLoopTimer=60 bUseChatForLoop=False LoopText="Periodic Chat/HUD Message"
DisplayLoopTimer2=120 bUseChatForLoop2=False LoopText2="Loop 2: $Count Enemies Alive"
bUseChatForObjective=False ObjectiveText="Objective completed. Regroup!"
bUseChatForJoin=False PlayerJoinText="$Name Joined!" PlayerLeaveText="$Name Left!"
bUseChatForStartCapture=False StartCaptureText="Objective Capture Started!"
bUseChatForRoundOver=True RoundOverText=""
bUseChatForEnemyCount=False CountThreshold=2 CountText="Only $Count Enemies left!"
For simplicity if you just want the round start text then you can use the following, which has the following config:
MUTATOR=WELCOMETEXT
[/HUDMessenger/Mutators/WelcomeText.WelcomeText_C] bDisplayEveryRound=True RoundStartText="<Bold>Welcome</>\r\nRound Started" RoundStartDelay=10.0
Appreciate my work and want to donate or have a mod made? See my profile. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.
Ratings & reviews
Sign in to leave a rating or comment.