Multiplayer icon indicating copy to clipboard operation
Multiplayer copied to clipboard

Utilizing ScenPart methods to further improve multifaction gameplay

Open Tick-git opened this issue 5 months ago • 0 comments

Label: Multifaction, 1.5, 1.6, Enhancement, low prio

In the FactionCreator, we could make better use of various ScenPart methods such as PreMapGenerate and PostGameStart. Some of the code we've already implemented would be more appropriate if executed through these methods, and we might also uncover new ways to enhance the multifaction experience by doing so.

There are two main categories of logic to consider:

Visual sceneParts These should be executed only on the client, as they are purely visual.

Example already implemented: ScenPart_GameStartDialog.PostGameStart: Displays the scenario’s background story.

Logical sceneParts These need to run in the correct faction context and must execute on both host and clients.

Example already implemented: ScenPart_StartingResearch.PostGameStart: Applies additional starting research, such as basic mech tech for mechanitor scenario.

I've added TODO comments in the FactionCreator to mark places where it would be appropriate to insert visual or logical ScenPart code for PostGameStart, but all other ScenPart methods should be considered as well.

Tick-git avatar Jul 20 '25 12:07 Tick-git