Skip to content

Reference

Actor Component for the Player Controller. Sends and receives pings and presents the wheels.

Property Type Default Description
CommConfig TObjectPtr<USumoCommConfig> nullptr Root Data Asset. Nothing is sent or received without it
bTreatUnassignedAsFFA bool false Team 255 sends to and receives from everyone. Advanced display
Property Type Default Description
PingWheelWidgetClass TSubclassOf<USumoCommWheelWidget> nullptr Widget shown by OpenWheel(ESumoCommWheel::Ping)
CommWheelWidgetClass TSubclassOf<USumoCommWheelWidget> nullptr Widget shown by OpenWheel(ESumoCommWheel::Comm)
Function Returns Description
RequestQuickPing() void Camera trace, override lookup, then Server_RequestComm. Local controller only
RequestWheelComm(FName EntryID) void Sends the entry with this ID at the camera trace location. A hit on an actor with an override tag targets that actor. Local controller only
OpenWheel(ESumoCommWheel Wheel) USumoCommWheelWidget* Shows the wheel and frees the cursor. Null if another wheel is open or the config, definition or widget class is missing
CommitWheel(ESumoCommWheel Wheel) void Sends the hovered slice and closes the wheel. No effect unless Wheel is the open one
CancelWheel() void Closes the open wheel without sending
IsWheelOpen() bool True between OpenWheel and the commit or cancel that closes it. Pure
Server_RequestComm(FName EntryID, FVector WorldLocation, AActor* TargetActor) void Server RPC, reliable, with validation. Not Blueprint callable
Client_ReceiveComm(FName EntryID, FVector WorldLocation, AActor* TargetActor, APlayerState* Sender) void Client RPC, reliable. Plays the local effects
Client_NotifyPingRejected(ESumoPingRejectReason Reason) void Client RPC, reliable. Plays SpamRejectedSound and fires OnPingRejected
Event Parameters Fires
OnCommReceived FName EntryID, FVector WorldLocation, AActor* TargetActor, APlayerState* Sender On every receiving client, the sender included
OnPingRejected ESumoPingRejectReason Reason On the sender, when the server rejects a ping for spam

Selects one of the two wheels of the Comm Config.

Value Wheel
Ping USumoCommConfig::PingWheel
Comm USumoCommConfig::CommWheel

Reason passed to OnPingRejected.

Value Meaning
None No rejection
BurstExhausted The burst limit was reached and the cooldown started
CooldownLocked A cooldown is still running

Data Asset that holds all communication content and server rules.

Property Type Default Description
QuickPingDefault FSumoCommEntry empty Entry sent when no override matches
QuickPingOverrides TArray<FSumoCommQuickPingOverride> empty Tag and entry pairs. The first match wins
QuickPingTraceDistance float 10000.0 Length of the camera trace in cm. Range 100 to 100000
Property Type Default Description
PingWheel TObjectPtr<USumoCommWheelDefinition> nullptr Definition of the ping wheel
CommWheel TObjectPtr<USumoCommWheelDefinition> nullptr Definition of the comm wheel
Property Type Default Description
PingWorldActorClass TSubclassOf<ASumoPingWorldActor> nullptr Marker actor class. Null disables world markers
Property Type Default Description
MaxPingDistance float 10000.0 Largest accepted distance in cm between the sender’s pawn and the ping. Range 100 to 100000
Property Type Default Description
MinPingInterval float 0.3 Minimum seconds between two pings. 0 disables the check. Range 0 to 5
MaxConsecutivePings int32 3 Accepted pings in a row before the cooldown. Range 1 to 20
ConsecutivePingResetTime float 4.0 Seconds without a ping after which the burst counter resets. Range 0.5 to 30
SpamCooldown float 4.0 Lockout in seconds after the burst limit. Range 0.5 to 30
SpamRejectedSound TSoftObjectPtr<USoundBase> null 2D sound for the sender on a burst or cooldown rejection
Function Returns Description
FindEntryByID(FName ID, FSumoCommEntry& OutEntry) bool Searches the default entry, the overrides and both wheels. Pure

One context ping rule.

Property Type Default Description
ActorTag FGameplayTag none The hit actor must carry this tag’s full name in its Actor Tags
OverrideEntry FSumoCommEntry empty Entry sent instead of QuickPingDefault

Data Asset for one radial wheel.

Property Type Default Description
WheelTitle FText empty Optional header text
SliceCount int32 4 Number of slices, independent of the number of entries. Range 2 to 12
DeadZoneRadius float 30.0 Radius around the centre that selects nothing. Range 0 to 200
InnerRadius float 90.0 Inner edge of the ring. Range 0 to 500. Must be smaller than OuterRadius
OuterRadius float 180.0 Outer edge of the ring. Range 50 to 500
Entries TArray<FSumoCommEntry> empty One entry per slice, clockwise from the top. Entries beyond SliceCount are not shown

Radii are in widget units from the wheel centre.

One callout.

Property Type Default Description
ID FName NAME_None Unique identifier sent over the network. Required
DisplayName FText empty Text for the slice and the marker
Icon TSoftObjectPtr<UTexture2D> null Icon for the slice, the marker and the minimap
Color FLinearColor White Icon tint and slice highlight color
LifetimeSec float 6.0 Lifetime of the world and minimap markers. Range 0 to 60. 0: the world marker does not expire and no minimap marker is published
Sound TSoftObjectPtr<USoundBase> null Sound for every receiver. Null is silent
bIsPersonal bool false True plays the sound in 2D. False plays it at the sender’s pawn
bShowsOnMinimap bool true Publishes a minimap marker through USumoMapSubsystem
MinimapSize float 18.0 Icon size on the minimap. Range 0 to 64. 0 uses 16
MinimapLayer int32 9 Draw order on the minimap. Range 0 to 20
bShowsInWorld bool true Spawns an ASumoPingWorldActor
Tags FGameplayTagContainer empty Free tags, copied to the minimap marker

User Widget base class of a radial wheel.

Property Type Default Description
SliceWidgetClass TSubclassOf<USumoCommWheelSliceWidget> nullptr Widget created per slice. Null leaves slice layout to you
SliceContainer TObjectPtr<UCanvasPanel> bound Required widget binding. Canvas Panel named SliceContainer
WheelBackground TObjectPtr<UImage> optional Optional widget binding. Image named WheelBackground with a material brush
SliceWidgets TArray<TObjectPtr<USumoCommWheelSliceWidget>> empty Spawned slice widgets by index. Read only
Property Type Default Description
MaterialParamName_NumSlices FName NumSlices Scalar parameter that receives the slice count
MaterialParamName_HoveredSlice FName HoveredSlice Scalar parameter that receives the hovered index, or -1
MaterialParamName_HoverColor FName HoverColor Vector parameter that receives the hovered entry’s color
MaterialParamName_InnerRadius FName InnerRadius Scalar parameter. 1.0 is half the background image size
MaterialParamName_OuterRadius FName OuterRadius Scalar parameter, same scale
Function Returns Description
ShowForDefinition(USumoCommWheelDefinition* Definition, USumoCommComponent* InCommComponent) void Binds the wheel and rebuilds the slices
CommitSelection() void Sends the hovered entry through the bound component, or cancels. Does not hide the widget
CancelWheel() void Fires OnCancelled. Does not hide the widget
ResetHoverIndex() void Clears the hovered slice
CenterMouseCursor() void Moves the cursor to the viewport centre
GetHoveredEntry(FSumoCommEntry& OutEntry) bool Entry under the cursor. False in the dead zone. Pure
GetHoveredSliceIndex() int32 Hovered index, -1 in the dead zone. Pure
GetActiveDefinition() USumoCommWheelDefinition* The bound definition. Pure
RebuildSlices() void Recreates the slice widgets. Protected
Event Parameters Fires
OnSliceHover int32 SliceIndex When the hovered slice changes. -1 for none
OnSliceSelected FName EntryID When a slice is committed
OnCancelled none When the wheel closes without a selection

User Widget base class of one slice.

Property Type Default Description
Entry FSumoCommEntry empty Entry of this slice. Read only
SliceIndex int32 0 Index of this slice. Read only
bHovered bool false Hover state. Read only
Function Returns Description
SetEntry(const FSumoCommEntry& InEntry, int32 InSliceIndex) void Stores the entry and fires BP_OnEntrySet
SetHovered(bool bInHovered) void Stores the state and fires BP_OnHoverChanged
Event Parameters Fires
BP_OnEntrySet const FSumoCommEntry& InEntry When the wheel assigns an entry. Blueprint implementable
BP_OnHoverChanged bool bInHovered When the cursor enters or leaves the slice. Blueprint implementable

Actor that displays one ping in the world. Not replicated.

Property Type Default Description
HoverHeight float 90.0 Height in cm above a followed target. Not applied to a ping without a target. Range 0 to 500
FollowSmoothing float 0.0 0 snaps to the target. Higher values trail. Range 0 to 1
bHideWhenTooFar bool false Hides the marker beyond MaxVisibleDistance
MaxVisibleDistance float 10000.0 Distance in cm used by bHideWhenTooFar. Range 100 to 100000
EntryIcon TObjectPtr<UTexture2D> null Icon of the entry. Read only
EntryColor FLinearColor White Color of the entry. Read only
EntryDisplayName FText empty Name of the entry. Read only
EntryLifetimeSec float 6.0 Lifetime copied from the entry. Read only
TargetActor TObjectPtr<AActor> null Followed actor, if any. Read only
DistanceMeters float 0.0 Distance to the local player’s pawn, updated every tick. Read only
Property Type Default Description
FadeStartDistance float 30.0 Distance in m up to which the marker is opaque. Range 0 to 1000
FadeEndDistance float 60.0 Distance in m at which opacity reaches MinFadeOpacity. Range 0 to 1000
MinFadeOpacity float 0.3 Lowest opacity. Range 0 to 1
Property Type Default Description
ZoneName FText empty Name of the map area at the marker, updated every tick. Empty when no area is found. Read only
Component Type Description
Root USceneComponent Root component
InfoWidgetComponent UWidgetComponent Named InfoWidget. Screen space, draw size 120 x 60
Function Returns Description
ConfigureFromEntry(const FSumoCommEntry& Entry, AActor* InTargetActor) void Copies the entry, starts the lifetime timer, sets the widget’s owning ping
GetFormattedDistance() FText Distance text, by default rounded metres such as 12 m. Uses BP_FormatDistance when it returns true. Pure
GetDistanceOpacity() float 0 to 1 from the fade settings. 1 when start is not below end. Pure
Event Parameters Fires
BP_OnConfigured const FSumoCommEntry& Entry After ConfigureFromEntry, and again when the icon finishes loading. Blueprint implementable
BP_FormatDistance float InDistanceMeters, FText& OutText Blueprint native event. Return true to supply the text
BP_ResolveZoneName FVector WorldLocation, FText& OutZoneName Blueprint native event. The default asks USumoMapSubsystem

User Widget base class for the marker widget.

Property Type Default Description
OwningPing TObjectPtr<ASumoPingWorldActor> null The marker actor that owns this widget. Read only
Function Returns Description
SetOwningPing(ASumoPingWorldActor* InPing) void Stores the reference and fires BP_OnOwningPingSet
Event Parameters Fires
BP_OnOwningPingSet ASumoPingWorldActor* Ping After the reference is set. Blueprint implementable

Native tags registered by the module.

Tag Use
Sumo.PingTarget Parent for context ping tags. Add your own children
Sumo.PingTarget.Objective Generic pingable objective, used by the demo content

The plugin adds no Project Settings page.

The plugin adds no console commands or console variables.

Category Default verbosity Content
LogSumoCommunication Log Warnings for missing wheel setup and radii errors. Rejected pings at Verbose
Module Type Loading phase
SumoCommunication Runtime Default

Public dependencies: Core, CoreUObject, Engine, UMG, Slate, SlateCore, GameplayTags, NetCore. Private dependencies: InputCore, SumoCore.