https://github.com/shrimpza/unrealscript-mqtt-client
Here's an MQTT client written in UnrealScript.
Now your mods can be part of the internet of things! Turn your lights on when Loque gets 10 headshots in a row! Use your household electricity usage to determine how many monsters to spawn in a map! Build a 3D representation of your house and have your robot vacuum mirror your in-game movements to clean the house in game and IRL!
The possibilities are endless!
This was mostly just a fun exercise in using the TcpLink class to do something interesting and facilitate some inter-system communications. A message queue seemed like a pretty simple thing to try.
The demo script/mutator shows how one might be able to publish data to gather some simple real-time game stats, rather than doing post-match log scraping, as one usage example.
MQTT Client
-
- Adept
- Posts: 253
- Joined: Wed Oct 10, 2018 11:15 am
- Location: Australia
MQTT Client
ShrimpWorks
Unreal Archive - preserving over 25 years of user-created content for the Unreal series!
Unreal Archive - preserving over 25 years of user-created content for the Unreal series!
-
- Adept
- Posts: 253
- Joined: Wed Oct 10, 2018 11:15 am
- Location: Australia
Re: MQTT Client
Decided to publish a package for this, to make it easier to drop in:
- https://github.com/shrimpza/unrealscrip ... ses%2Fv101
- https://github.com/shrimpza/unrealscrip ... ses%2Fv101
ShrimpWorks
Unreal Archive - preserving over 25 years of user-created content for the Unreal series!
Unreal Archive - preserving over 25 years of user-created content for the Unreal series!
-
- Average
- Posts: 77
- Joined: Thu Nov 03, 2011 5:12 am
Re: MQTT Client


Abuse it as an easy interface to craft in a DIY fashion one of those trakonya(sp?) USB devices that give you a small electrical shock when taking damage.



