Allow force color to be locked/set
Posted: Sun Mar 22, 2020 2:53 am
Hi,
This could quite possibly be a bad/terrible idea™ but here goes...
Issue summary:
I'd like to have a way to programmatically set/override a force's color. Or, if that's not possible/easy/advisable, lock it from alteration due to the first player in the force changing.
Details:
At present, a force's "color" appears to be automatically equivalent to the color of the first player member of the force. While this default behavior seems to make sense, there are ways to (ab)use multiple forces in the game such that players switch around to different forces temporarily. When this happens, you get a sort of "light show" where the entity colors in your base keep changing whenever player 1 moves. This can seem buggy/distracting.
Use case:
I'm experimenting with creating a mod that temporarily relocates the player to an alternative (but allied) force along with any entities that have construction requests within the player's roboport range. This effectively allows the player to hit a toggle and make his local roboport service the requests in his immediate vicinity despite possibly the nearby stationary network already trying to service those requests.
Edit: If you want to see what I mean, look for "Tactical Construction" on the mod portal and use it in a multiplayer game. If the first player toggles it on and off you'll see the base colors change around
Thank you for your consideration.
This could quite possibly be a bad/terrible idea™ but here goes...
Issue summary:
I'd like to have a way to programmatically set/override a force's color. Or, if that's not possible/easy/advisable, lock it from alteration due to the first player in the force changing.
Details:
At present, a force's "color" appears to be automatically equivalent to the color of the first player member of the force. While this default behavior seems to make sense, there are ways to (ab)use multiple forces in the game such that players switch around to different forces temporarily. When this happens, you get a sort of "light show" where the entity colors in your base keep changing whenever player 1 moves. This can seem buggy/distracting.
Use case:
I'm experimenting with creating a mod that temporarily relocates the player to an alternative (but allied) force along with any entities that have construction requests within the player's roboport range. This effectively allows the player to hit a toggle and make his local roboport service the requests in his immediate vicinity despite possibly the nearby stationary network already trying to service those requests.
Edit: If you want to see what I mean, look for "Tactical Construction" on the mod portal and use it in a multiplayer game. If the first player toggles it on and off you'll see the base colors change around
Thank you for your consideration.