replays

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
Post Reply
Originway
Trained
Trained
Posts: 412
Joined: 08 Aug 2012, 06:22

replays

Post by Originway »

my friend and I were discussing this and wondered why this isn't available yet?
since mp games are in sync then could you not just copy the data the game sends to a file instead of another player?
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: replays

Post by Lord Apocalypse »

replay as in... video replay? That would more or less require either saving each frame to a texture then showing it back over again or saving all data each frame so the renderer could play it back each frame. If i'm following correctly anyway.
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: replays

Post by aubergine »

If the JS API gets some additional events / functions, it would be possible to create a set of scripts that record the in-game events and then later play them back to within 100ms accuracy. Wouldn't be 100% accurate, but would be do-able.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: replays

Post by NoQ »

If i'm following correctly anyway.
Emm no.
"replay" as in "file that stores only orders given, not things that exactly happened". Since the game is deterministic since 3.1, it should be enough.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: replays

Post by vexed »

While I suppose that is possible, there is no glue code to read from the file to inject the orders.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: replays

Post by Iluvalar »

NoQ wrote:since 3.1
But it doesn't exist yet.
Heretic 2.3 improver and proud of it.
Reg312
Regular
Regular
Posts: 681
Joined: 25 Mar 2011, 18:36

Re: replays

Post by Reg312 »

vexed wrote:While I suppose that is possible, there is no glue code to read from the file to inject the orders.
to read something we need to write something
is somewhere option which makes possibility to write log of actions?
Post Reply