Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Insurgency: Sandstorm

Event & Reucrring HUD Messenger

By mwfail

Display HUD and chat messages for gameplay and player events. 3 types of notification options with multiple triggers.

Event & Reucrring HUD Messenger

Description

{WIP} PLAYER + EVENT MESSENGER

Mutator: EventMessenger

CONFIG

  • Interval
  • 10 = Recurring message output every 10 seconds
  • Trigger
  • help = displays Message whenever a player types "help"
  • Event
  • A Message will be sent when any of the following events occur
  • %PLACEHOLDER% will be replaced in your defined Message
  • Possible values: 
  • WaitingToStart
  • GameStarting
  • PreRound
  • RoundActive
  • RoundWon
  • PostRound
  • ZeroEnemies
  • PlayerJoin
  • %PlayerName%
  • %PlayerCount%
  • PlayerLeave
  • %PlayerName%
  • %PlayerCount%
  • LastMan
  • %PlayerName%
  • BeginRig
  • %PlayerName%
  • ObjectiveProgress
  • %ObjectiveProgress%
  • Content
  • "" = Defined output message
  • Chat
  • True = Broadcast message in chat
  • Center
  • True = Broadcast message center of the player's screen
  • Styling is currently unsupported
  • Notification
  • True = Create a notification top right of the screen (kill log area)
  • Delay
  • 0 = Seconds after event to display

GAME.INI

[/EventMessenger/Mutators/EventMessenger.EventMessenger_C]

; Enable colorized output (thanks AdvancedChat) ChatStyle = True

; Display objective capture progress every 10% ObjectiveProgress = True

; Repeat message in chat and notification area every 60 seconds Messages=(Interval=60,Content="Some recurring message",Chat=True,Notification=True)

; Display a message in the notification area when the round becomes active Messages=(Content="<purple>Some purple text</>",Event="RoundActive",Notification=True)

; Displays "Capturing: N%"... at 10% increments at the center of the screen Messages=(Content="Capturing: %ObjectiveProgress%%",Event="ObjectiveProgress",Center=True)

; Sends a message when a player types "rules" Messages=(Content="Here are the rules...",Trigger="rules",Center=True) Big thanks to @rarek for their help with cooking non-BP utilities and cleaning up the config.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.