Loading...
  OR  Zero-K Name:    Password:   

mah first chili wupget: replaycontrol

23 posts, 1721 views
Post comment
Filter:    Player:  
Page of 2 (23 records)
sort
13 years ago
Replays are annoying because you have to type strange commands or hit hotkeys that nobody knows.

eg changing playback speed in replays sucks because you have to hold down + or - keys for half a year, if you want to go from 1x to 10x speed.

Suddendly, clickable buttons:

There is also a button to skip the pregame phase of startpos selection, map doodeling and ragequit voting.
(Because typing /skip 1 is so last week)

code: http://pastebin.com/dHkiGqrA

Since it is the first time I used chili, maybe some chili people can have a quick look if doing it wrong?

Questions:
1) Why does the part to disable the widget while not-in-replay not work?
(used to work in my mod but not in zk)
2) When putting invalid code in the functions of a button, there will be no error message. Instead spring will just stutter for a second?
3) How do I make it not fall apart when resizing the screen?
Beside manual reseting everything on ViewResize()
+0 / -0
Nice one!

Now just code a rewind button... :p
+0 / -0
13 years ago
guess i could make it restart spring and fastforward to the time you want to go back to.
+0 / -0


13 years ago
Awesome! :) Put that to ZK!
+0 / -0
13 years ago
Good, but it's window open in normal game (that are not replay) too, so need a "x" button to close the window.
+0 / -0


13 years ago
Nah, it's simple to make it disable itself when the game is not a replay.
+0 / -0
13 years ago
See my question 1, for some reason the disabling part does not work.
+0 / -0
13 years ago
Maybe the disabling does not work because the widget has layer=-9
Can not test atm but changing to layer=1 (something postive) might fix it?
Try and add to zk if you want.
+0 / -0
12 years ago
it should disable now when not in replay. (was missing a return)
http://pastebin.com/wBJR8r6S
+0 / -0
function widget:GameFrame (f)
Spring.Echo (f)

ops, that echo needs to be removed ofc
+0 / -0


12 years ago
Oh i wondered what those numbers were...
+0 / -0

12 years ago
when will this be integrated into maingame?
+0 / -0
12 years ago
It will be in the next stable release.
+0 / -0
12 years ago
It already is in v1.0.9.7 but there it is accidently spamming numbers into chat.
so yes, next zK version it should be useable.
+0 / -0
12 years ago
lol I was about to post about those numbers, they spam the chat and eat cpu (since chili chat is already a monster)
+0 / -0

12 years ago
I really like it... especially the skip pregame chatter.
One MiniBug when clicking skipping pregame chatter before the chat bubbles ala: bx changed status, yx changed status appears it doesn't skip pregame chat and you have to wait until all selected there positions or do fast forward.
+0 / -0


12 years ago
Is there a possibility to add "skip" feature - like skip by 5 minutes etc?
+0 / -0
12 years ago
not skipping bug:
I noticed this but do not when excactly it happens, seems pretty random.
So no idea how to fix atm.

skip by 5 minutes:
hm, until 0.88 or so spring used to display a black screen during skipping.
Now it shows normal graphics, which at least on my PC made it slower:
skipping in zK is maybe ~10 speed max. (faster in other mods)
So there is no/little advantage of skipping over simply playing at high speed.

/Skipping can also not be interrupted, so if you see something interessting you would not be able to stop it from fastforwarding past it.
Similiar newbs might accidently click it and be unable to stop, too.
+0 / -0


12 years ago
I think the not skipping bug happens, because a replay kinda has two starts: first the start of the replay, then the start of the game. If you do /skip too quickly in the beginning of the replay, it'll skip to the start of the replay, not the game.
+0 / -0

12 years ago
--if you manually type /skip [very high number], can you enable slowdown with your wupget to prefered speed (not to jump to /skip time).

--can you make a icon dstance toggle from current to infinity and back (useful for recording video)

--can you make a button to record/stop recording video (just make it fire CTRL-SHIFT-F10)
+0 / -0
Page of 2 (23 records)