Setup in Unreal
To begin, launch Unreal Engine (versions 5.3 or 5.4 are currently supported) and create a new project.
After creating the project, navigate to its directory and create a new folder named Plugins within the project’s directory and place the correct plugin (based on your Unreal Engine version) inside it
After relaunching the project, open the Plugins tab [Edit -> Plugins] and ensure that the Smode plugin is enabled
To connect to your Smode server, go to the Project Settings tab and find the Smode Link Settings. Enter the IP address of the Smode server in the designated field. If running Smode locally, leave this field with the default value:
Set the Game Instance Class to SmodeGameInstance:
Setup in Smode
In SMODE’s Preferences (F11), in the Engine / Control Devices tab
add a new control device
Unreal Device
The Unreal Device hosts the connection with Unreal
Read More
and configure the IP address and port of the adapter used to receive messages from Unreal Engine. Use 127.0.0.1 for local connections.
Add your unreal project’s directory to SMODE’s media directories.
Drag and drop the same .umap you’re using inside UE, from SMODE’s Media Directory to the Elements Tree.
if asked, after the drag and drop, select ‘Tool’.
This is where you’ll be able to access and control all of you exposed Unreal content
Controlling Parameters and Variables
Parameter and Variable control functionality is only active when Unreal Engine is in Play mode [Alt+P]
To Expose an Unreal Actor and control them with SMODE : Select the actor in UE, add a
smode
tag in it’s parameters
The hierarchy inside Smode will match the Actor’s component hierarchy in UE
If the Unreal Actor has a parent, you also need to add a
smode
tag to the parent.
Supported variables
-
Bool
-
Byte
-
Int
-
Float
-
String
-
Vector
-
Rotator
-
Color
-
Enum
-
Sequencer
If you do not set your parameter you can change the ‘Property Count’ setting inside SMODE to Advanced or All.
here a small demo of the connection between SMODE and Unreal