-
Notifications
You must be signed in to change notification settings - Fork 41
New Network Protocol
XHawk87 edited this page Jan 22, 2025
·
8 revisions
This wiki page is a scratch pad for the team to capture notes/thoughts on the implementation of a new network protocol.
As a ruleset modder, I'd like to be able to send custom data from Lua and Lua scripts to the client, and use them to customise the interface to make advanced ruleset changes more intuitive for the user. -Hawk
For example, we might want to add a new stat to units, like how much water they have on them. The client-side script could then use that custom data attached to a unit to display a bar on the unit sprite for how much water they have left, and display a warning red line when a go-to would put them in danger of running out of water in a desert or salt-water ocean like we have for fuel and HP loss. -Hawk