Author Topic: Engine Suggestion: Playing image sequences from scripts (not states)  (Read 1597 times)

Was talking to a few peeps about blockland's state system. It appears to not work like intended (client sided prediction), and since it is controlled purely server sided, We thought it would be a good idea to allow modders to play animations on images through a script. In such fashion:

%player.playImageSequence(%mountPoint, %sequence);

It could be done a few other ways, but this is about all I have to say. It is a much better method than having to use multiple images or the ammo states.

Idk if all of you realize but this is THE best idea

It makes a lot more sense to put image animations in the datablock where both the client and the server can see it than to put it in a script where only the server can see it. If you're trying to do animations using the built in ammo system, then using a script function instead of a state setting will only make client sided prediction harder.

Although a function will be much easier to use than the hacky state manipulation..


A much better solution would just be to allow client sided prediction code to be made. There are no downsides to this (well, people will have to download a client sided mod, but if they dont then it'll only be as bad as it is now).

we need to move more towards client sided prediction instead of more server sided stuff

We need an overhauled image system which is a compatible but extended version of the current system, which doesn't allow scripting but has some sort of state manipulation capacity.