Refactorio / RedMew

The RedMew scenario code for Factorio.
https://redmew.com
GNU General Public License v3.0
176 stars 80 forks source link

Add popup chat feature #1394

Closed RedRafe closed 7 months ago

RedRafe commented 7 months ago

Add chat message to map surface too as temporarily popups attached to the player and with the same color.

Configurable by config

The longer the message is, the longer it lasts (clamped between min/max config values).

Screenshot from 2024-01-18 19-15-25


Screenshot from 2024-01-18 19-15-57


Screenshot from 2024-01-18 19-16-35

RedRafe commented 7 months ago

After testing it in MP with TheKid we decided it was safer to set a max length to message being displayed (& adjusted the offset to not overlap with player's name)

Screenshot from 2024-01-18 19-56-15

RedRafe commented 7 months ago

Yeah makes sense to pass the safer message to the time computing as well. I've added the min/max length to the config file along some info commentary too, could be useful