rwmt / Multiplayer

Zetrith's Multiplayer mod for RimWorld
MIT License
481 stars 98 forks source link

Disable Trade/Transport/Caravan Session Buttons for Other Factions #507

Open SaberShip opened 2 months ago

SaberShip commented 2 months ago

Probably mark as low priority.

What does it do

Alternate Solution?

If RWMT prefers it, I can pivot to a simpler solution of just hiding session dialogs from other factions all together. Its more simple and has fewer harmony patches, but in my opinion feels like it serves to isolate players from one another more. Making the multiplayer experience feel more like "single player at the same time".

In the future, perhaps both solutions have merit when faction relations are considered. Enemies have sessions hidden, neutral/friendly can view only.

Notes

There is probably a better way to do this, I just wanted to see if I could do it and learn how. Definitely open to suggestions/improvements.

Why not caravan splitting session? - It seems that in multifaction, other factions cannot see the splitting session and there may be a bug in async-time preventing all maps from unpausing while the splitting session is open.

Why not Ritual session or x session? - I don't own those DLC to test them. Others are welcome take what I've done here, improve it and apply it to those sessions.

Images: Trade as seen from another faction: ![image](https://github.com/user-attachments/assets/519dd084-1fe5-419e-9f66-03dcee6fba3c) Transport pod (similar to Caravan Forming): ![image](https://github.com/user-attachments/assets/71107357-859d-49d1-bf5d-6da3be7c17c0)
rautamiekka commented 1 month ago

Disabling and explaining why it's disabled is a way better UX than outright removing.