TASmod icon indicating copy to clipboard operation
TASmod copied to clipboard

Piano Roll like interface

Open ScribbleTAS opened this issue 5 years ago • 1 comments

Something similar like the MpkMod, but fit to the needs
Needs some adjustment but I guess this can work...

ScribbleTAS avatar Dec 15 '20 21:12 ScribbleTAS

I will just throw the network packets you need to call in here to hopefully save some frustration

  • Savestates:
    -Make a savestate: CommonProxy.NETWORK.sendToServer(new SavestatePacket());
    -Load the latest savestate: CommonProxy.NETWORK.sendToServer(new LoadstatePacket());

  • Record/Play
    -Start recording: CommonProxy.NETWORK.sendToServer(new RecordingPacket(true));
    -Stop recording: CommonProxy.NETWORK.sendToServer(new RecordingPacket(false));
    -Start playback: CommonProxy.NETWORK.sendToServer(new PlaybackPacket(true));
    -Stop playback: CommonProxy.NETWORK.sendToServer(new PlaybackPacket(false));

  • Save/Load File:
    -Save current inputs to file: CommonProxy.NETWORK.sendToServer(new SaveTASPacket("filneame")); -Load inputs from file: CommonProxy.NETWORK.sendToServer(new LoadTASPacket("filneame"));

  • Clear inputs: -CommonProxy.NETWORK.sendToServer(new ClearInputsPacket());

ScribbleTAS avatar Apr 30 '21 16:04 ScribbleTAS