s2client-proto icon indicating copy to clipboard operation
s2client-proto copied to clipboard

Missung Debug command to set tech state and resource values

Open ttinies opened this issue 6 years ago • 0 comments

I am contributing development toward a custom scenario runner that will both run the game and also set up a predefined game state. I am setting unit creation/destroy events and positioning them to my liking with the existing protocol.

However, as far as I can tell, the debug proto either ignores upgrade requirements or advances ALL techs one level for player#1 using DebugCommand.game_state. This feature would also need to be able to set upgrades for not only the requesting player, but other players, opponents included.

A second, lesser issue is to be able to specify resource values, but the provided resource indexes only provide the requesting player a large amount of resources. Yet there appears to be no way to set specific, independent values for both mineral and vespene.

(edited for clarity)

ttinies avatar Sep 29 '18 16:09 ttinies